Borrar Tablespace
hola a todos:
Necesito eliminar un tablespace, pero antes debo realizar un export de la informacion de ese tablespace. estoy trabajando sobre oracle 9, alguien me puede ayudar como realizar el export
Gracias, Bryan
Necesito eliminar un tablespace, pero antes debo realizar un export de la informacion de ese tablespace. estoy trabajando sobre oracle 9, alguien me puede ayudar como realizar el export
Gracias, Bryan
Hi,
Debes verificar, que objectos estan en tu tablespace,
ejecutando una query a DBA_TABLES, te permitira saber cuales son estos schemas que estan creados.
Seguidamente, sabes cuales son los schemas
que tienes creados, bien ejecutamos el export:
exp system/****
file=SCOTT.dmp
OWNER=SCOTT
Owner = Debes de incluir los schemas que estan, en la tablespaces.
Ejemplo.
1.- select tablespace_name , owner from dba_tables where owner='SCOTT';
TABLESPACE_NAME OWNER
------------------------------ ------------------------------
TOOLS SCOTT
2.- Export.
exp system/manager file=scott.dmp owner=scott
Export: Release 9.2.0.3.0 - Production
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
With the Partitioning option
Export done in US7ASCII character set and US7ASCII NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SCOTT
. exporting object type definitions for user SCOTT
About to export SCOTT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SCOTT's tables via Conventional Path ...
. . exporting table BONUS 9 rows exported
. . exporting table DEPT 4 rows exported
. . exporting table EMP 16 rows exported
. . exporting table SALGRADE 5 rows exported
. exporting synonyms
. exporting views.............
Esto te creare un file= SCOTT.DMP (Backup del schema).
NOTA: Si no sabes usar el export, puedes ejecutar el comando exp help=y ; te dara todas y cada una de las opciones que puedes usar.
3.- En estos momentos puedes cancelar la tablespace.
Buen suerte.
Si tienes dudas escribe....
bye.,
Debes verificar, que objectos estan en tu tablespace,
ejecutando una query a DBA_TABLES, te permitira saber cuales son estos schemas que estan creados.
Seguidamente, sabes cuales son los schemas
que tienes creados, bien ejecutamos el export:
exp system/****
file=SCOTT.dmp
OWNER=SCOTT
Owner = Debes de incluir los schemas que estan, en la tablespaces.
Ejemplo.
1.- select tablespace_name , owner from dba_tables where owner='SCOTT';
TABLESPACE_NAME OWNER
------------------------------ ------------------------------
TOOLS SCOTT
2.- Export.
exp system/manager file=scott.dmp owner=scott
Export: Release 9.2.0.3.0 - Production
(c) Copyright 2000 Oracle Corporation. All rights reserved.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production
With the Partitioning option
Export done in US7ASCII character set and US7ASCII NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SCOTT
. exporting object type definitions for user SCOTT
About to export SCOTT's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SCOTT's tables via Conventional Path ...
. . exporting table BONUS 9 rows exported
. . exporting table DEPT 4 rows exported
. . exporting table EMP 16 rows exported
. . exporting table SALGRADE 5 rows exported
. exporting synonyms
. exporting views.............
Esto te creare un file= SCOTT.DMP (Backup del schema).
NOTA: Si no sabes usar el export, puedes ejecutar el comando exp help=y ; te dara todas y cada una de las opciones que puedes usar.
3.- En estos momentos puedes cancelar la tablespace.
Buen suerte.
Si tienes dudas escribe....
bye.,
