Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Bases de datos > Oracle
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 04-07-2006
SMTZ SMTZ is offline
Miembro
 
Registrado: nov 2003
Posts: 225
Poder: 21
SMTZ Va por buen camino
Question Migración a 10g release 2

Hola, actualmente tengo instalada la primera versión de Oracle 10g y me he bajado la 10g release 2, la he instalado correctamente, pero da muchos errores a la hora de actualizar una base de datos con el asistente de migración (con la 10g 1 funciona perfectamente). ¿Qué debo tener en cuenta para hacer una migración manual? Que yo sepa, era copiar los directorios oradata\miBD y admin\mibd y modificar en el init.ora la nueva ubicación de la base de datos.

Gracias.
Responder Con Cita
  #2  
Antiguo 02-08-2006
avmm2004 avmm2004 is offline
Miembro
 
Registrado: jun 2006
Ubicación: Santa cruz de Tenerife, Islas Canarias
Posts: 500
Poder: 18
avmm2004 Va por buen camino
Utiliza la sentencia export de ti usuario de base de datos y en la 10g release 2 la sentencia import. Funciona siempre.
Responder Con Cita
  #3  
Antiguo 03-08-2006
SMTZ SMTZ is offline
Miembro
 
Registrado: nov 2003
Posts: 225
Poder: 21
SMTZ Va por buen camino
Post Funcionó

Hola, gracias por la información. Se me olvidó contestar el post. Hace tiempo que solucioné el problema y era como tú decías pero en Oracle 10g los comandos de importación y exportación son impdp y expdp. Ahí va un ejemplillo:

Código:
C:\oracle\product\10.1.0\Db_1\BIN>expdp system/password logfile=ecodomestica.log directory=data_dump_dir dumpfile=export.dmp full=y
Previamente, ya se había configurado el directorio de destino:

Código:
SQL> create or replace directory DATA_PUMP_DIR as 'D:\Tmp\Backup_Oracle\Export';


Directorio creado.

SQL> SELECT directory_path FROM dba_directories WHERE directory_name = 'DATA_PUM
P_DIR';  Desde el SQL Plus, se define el directorio donde se exportarán los datos

DIRECTORY_PATH
--------------------------------------------------------------------------------

D:\Tmp\Backup_Oracle\Export

SQL> commit; --> Se graba el cambio

Con un import:

Código:
impdp KEYWORD=value o KEYWORD=(value1,value2,...,valueN)
Adjunto la siguiente tabla, para quién le interese, que he encontrado por Internet:

Keyword Description (Default)
------------------------------------------------------------------------------
ATTACH Attach to existing job, e.g. ATTACH [=job name].
CONTENT Specifies data to unload where the valid keywords are:
(ALL), DATA_ONLY, and METADATA_ONLY.
DIRECTORY Directory object to be used for dumpfiles and logfiles.
DUMPFILE List of destination dump files (expdat.dmp),
e.g. DUMPFILE=scott1.dmp, scott2.dmp, dmpdir:scott3.dmp.
ESTIMATE Calculate job estimates where the valid keywords are:
(BLOCKS) and STATISTICS.
ESTIMATE_ONLY Calculate job estimates without performing the export.
EXCLUDE Exclude specific object types, e.g. EXCLUDE=TABLE:EMP.
FILESIZE Specify the size of each dumpfile in units of bytes.
FLASHBACK_SCN SCN used to set session snapshot back to.
FLASHBACK_TIME Time used to get the SCN closest to the specified time.
FULL Export entire database (N).
HELP Display Help messages (N).
INCLUDE Include specific object types, e.g. INCLUDE=TABLE_DATA.
JOB_NAME Name of export job to create.
LOGFILE Log file name (export.log).
NETWORK_LINK Name of remote database link to the source system.
NOLOGFILE Do not write logfile (N).
PARALLEL Change the number of active workers for current job.
PARFILE Specify parameter file.
QUERY Predicate clause used to export a subset of a table.
SCHEMAS List of schemas to export (login schema).
STATUS Frequency (secs) job status is to be monitored where
the default (0) will show new status when available.
TABLES Identifies a list of tables to export - one schema only.
TABLESPACES Identifies a list of tablespaces to export.
TRANSPORT_FULL_CHECK Verify storage segments of all tables (N).
TRANSPORT_TABLESPACES List of tablespaces from which metadata will be unloaded.
VERSION Version of objects to export where valid keywords are:
(COMPATIBLE), LATEST, or any valid database version.

The following commands are valid while in interactive mode.
Note: abbreviations are allowed

Command Description
------------------------------------------------------------------------------
ADD_FILE Add dumpfile to dumpfile set.
ADD_FILE=dumpfile-name
CONTINUE_CLIENT Return to logging mode. Job will be re-started if idle.
EXIT_CLIENT Quit client session and leave job running.
HELP Summarize interactive commands.
KILL_JOB Detach and delete job.
PARALLEL Change the number of active workers for current job.
PARALLEL=.
START_JOB Start/resume current job.
STATUS Frequency (secs) job status is to be monitored where
the default (0) will show new status when available.
STATUS=[interval]
STOP_JOB Orderly shutdown of job execution and exits the client.
STOP_JOB=IMMEDIATE performs an immediate shutdown of the
Data Pump job.
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
CentOS release 4.3 Aser Linux 1 18-05-2006 00:30:06
Release CnWizards v.0.7.4.86 Neftali [Germán.Estévez] Noticias 0 09-06-2005 13:56:15
Traducción Release Notes de Firebird guillotmarc Firebird e Interbase 10 24-10-2003 04:02:02
Diferencias en Firebird 1.5 Release Candidate 3 AMO Firebird e Interbase 0 16-06-2003 01:48:44
Firebird 1.5 Release Candidate 3 __cadetill Firebird e Interbase 0 04-06-2003 17:13:32


La franja horaria es GMT +2. Ahora son las 10:35:33.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi