Sunday, July 19, 2020

Rename or Move the datafile

1)Make the tablespace offline 

 alter tablespace  offline;


2)MV the all the datafile to new location or rename them 

3)Run the command 

alter database rename file 'C:\ORACLE\DBI\ORADATA\SIT01\test01.dbf' to 'C:\ORACLE\DBI\ORADATA\SIT01\redo\test01.dbf' 

No comments:

user level export and import

expdp parfile=PLCT170.par oracle@uslp123sd7dfcvxsza > more PLCT050.par userid= "/ as sysdba" dumpfile=T050.dmp logfile=expdpT0...