Home » Oracle

ORA-00333 ¿Como recuperar un Redo log corrupto?. Hola Amig@s pues lo que les cuento un paso a paso de como recuperar/eliminar/limpiar un fichero de REDO de una BBDD oracle 10 y 11g: NOTA: como ya sabemos, RMAN no realiza copia de seguridad de los ficheros REDO por lo que o se generan con el comando ALTER DATABASE OPEN RESETLOGS o no hay forma, a menos...
Filed in: Oracle BBDD
ORA-01194: file 1 needs more recovery to be consistent ORA-01110: data file 1: ‘…../system01.dbf’ Error: ORA 1194 Text: file needs more recovery to be consistent ——————————————————————————- Cause:...
Filed in: Oracle BBDD
Os mostramos cómo instalar Oracle Database 11g Standard Edition en Windows XP Profesional. Os explicamos también cómo configurar algunas opciones básiscas (crear tablespaces, crear usuarios, permisos, etc.) para utilizar Oracle Database como motor de base de datos de nuestras aplicaciones de facturación, contabilidad, recursos humanos, etc.   Introducción...
Filed in: Oracle BBDD
public void populate_provinciasLOV(RichSelectOneChoice IUSelectOneChoice, UISelectItems UISelItem, BigDecimal Pais) { BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry(); //Ejecutamos la consulta pasándole un parámetro bindings.getOperationBinding(“ExecuteWithParams”).getParamsMap().put( “x_pais_id”,Pais); ...
Filed in: Oracle ADF
public void populate_provinciasLOV(RichSelectOneChoice IUSelectOneChoice, UISelectItems UISelItem, BigDecimal Pais) { BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry(); //Ejecutamos la consulta pasándole un parámetro bindings.getOperationBinding(“ExecuteWithParams”).getParamsMap().put( “x_pais_id”,Pais); ...
Filed in: Oracle ADF
En un proyecto en el que estoy trabajando ha surgido la necesidad de llenar Select One Choice con datos que no proviene de un Bussines Component por lo que aqui les tengo una solución de como llenar con java este tipo de elementos. Es necesario que nuestro selectonechoice contenga un elemento de tipo f:selectItems y este a su vez este asociado a un...
Filed in: Oracle ADF
ADF 11.1.1.2 added a new Auto Suggest capability that allows you to provide automatic suggestions as a user types data in a field (just like Google do).  This post provides a quick demo of how to use this capability.  You will need JDeveloper 11.1.1.2 (or later) to do this. First, we create a new application, by selecting New from the File menu. ...
Filed in: Oracle ADF

ADF UI: Creating Autosuggest LOV Dinamic

Posted by on noviembre 17, 2011
I was curious to know if ADF supports autosuggest LOVs just like google search.. getting suggestions as you type in. Now, I found ADF has a nice way to achieve auto-suggest LOVs.  Here is the example workspace. 1. Example UseCase:  Let us take simple example based on scott schema. Lets say we’re creating a new employee record and we need to...
Filed in: Oracle ADF
This article describes the installation of Oracle 10g release 2 (10.2.0.1) RAC on Windows 2003 Server Standard Edition using VMware Server with no additional shared disk devices. Introduction Download Software VMware Server Installation Virtual Machine Setup Guest Operating System Installation Oracle Installation Prerequisites Install VMware...
Filed in: Oracle BBDD

Resumen- creación de tablas en Oracle

Posted by on noviembre 11, 2011
RESUMEN: CREACION DE TABLAS E ÍNDICES Contenido   Tipos de Datos en Oracle (más comunes)    2 Creación de tablas    3 Alterar la estructura de una tabla    3 Borrar tablas    4 Crear restricciones (constraints)    4 Borrar una restricción (constraint):    6 Deshabilita una restricción (Constraint):    6 Habilita...
Filed in: Oracle BBDD

Resumen select oracle

Posted by on noviembre 11, 2011
RESUMEN: SENTENCIA SELECT   Contenido   Sentencia Select    2 Sintaxis    2 Clausulas SELECT , FROM    3 Cláusula WHERE    4 Clausula GROUP BY    5 Clausula HAVING    7 Clausula ORDER BY    8 Consultas sobre otras consultas    9 Consultas en la cláusula SELECT    9 Consultas en la clausula FROM    10 Consultas...
Filed in: Oracle BBDD

Crear catalogo en RMAN

Posted by on noviembre 11, 2011
CONECTANDO SON SYS EN LA BD RMANDB SQL> CREATE TABLESPACE RMANUTB DATAFILE ‘XXXX’ SIZE 100M; SQL> CREATE USER rmanu IDENTIFIED BY rmanu DEFAULT TABLESPACE rmanutb; SQL> GRANT RECOVERY_CATALOG_OWNER TO rmanu; SQL> GRANT CONNECT, RESOURCE TO rmanu; SQL> EXIT; CREAR CATALOGO $ RMAN RMAN> CONNECT CATALOG RMANU @ RMANDB; RMAN> CREATE...
Filed in: Oracle BBDD
RMAN – Comandos y funciones básicas (10g)   Conexión a RMAN La forma más simple de conectarse a RMAN es la siguiente (con el usuario oracle): $ rman target /   Recovery Manager: Release 10.2.0.1.0 – Production on Wed Mar 8 13:16:22 2006   Copyright (c) 1982, 2005, Oracle. All rights reserved.   connected to target...
Filed in: Oracle BBDD

Oracle RMAN

Posted by on noviembre 11, 2011
Crear y Configurar un Catálogo RMAN Como primer paso, hay que crear un usuario en la base de datos de repositorio (que, muy resumidamente, se encarga de llevar una bitácora de las copias). Para ello se puede usar un script como el siguiente: CREATE USER rman_user IDENTIFIED BY contraseña DEFAULT TABLESPACE rman_ts QUOTA UNLIMITED ON rman_ts; GRANT...
Filed in: Oracle BBDD

Gestión de espacio en Oracle

Posted by on noviembre 11, 2011
Tablespaces en Oracle Tipos de Tablespaces Temporales Permenetes Deshacer Sintaxis: CREATE [UNDO] TABLESPACE tablespace_name DATAFILE Datafile_Options Storage_Options ; Datafile_Options: ‘filespec’ [AUTOEXTEND OFF] ‘filespec’ [AUTOEXTEND ON [NEXT int K | M] [MAXSIZE int K | M]] La opción Autoextend Maxsize es...
Filed in: Oracle BBDD
office automation book