Para mover un datafile que no pertenece ni ha SYSTEM ni a los redo log, los pasos a hacer es:
connect sys/password as sysdba
alter tablespace mi_tablespace offile;
alter tablespace mi_tablespace rename datafile 'path_anterior' to 'path_nuevo';
!mv 'path_anterior' 'path_nuevo'
alter tablespace mi_tablespace online;
Vistas interesantes
v$tablespace
v$datafile -> select df.name from v$datafile df, v$tablespace ts where df.ts#=ts.ts# and ts.name='mi_tablespace';
jueves, 7 de agosto de 2008
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario