--9i
遷移資料檔案過程
1.檢視檢視
select*fromdba_data_files
確定要移動的資料檔案"位置"和"名稱"
源位置和名稱:'/home/oracle/product/92/oradata/adp/users02.dbf'
目標位置和名稱:'/home/oracle/oradata/adp/users02.dbf'
2.停掉
shutdown immediate;
3.拷貝源資料檔案到制定位置
cd/home/oracle/product/92/oradata/adp/
cp users02.dbf /home/oracle/oradata/adp/
4.啟動資料庫到mount狀態
startup mount;
5.移動資料檔案
alterdatabaserenamefile'/home/oracle/product/92/oradata/adp/users02.dbf'to'/home/oracle/oradata/adp/users02.dbf'
oracle 遷移資料檔案
步驟 1.sql select file name from dba data files file name d oracle product 10.2.0 oradata test datafile o1 mf users 4yfv39n0 dbf d oracle product 10.2.0...
遷移資料檔案步驟
select file name,status from v datafile select from v tablespace 1.alter tablespace aaa offline 2.shutdown immediate 3.copy data file to destination d...
oracle 遷移資料檔案( 轉)
步驟 1.sql select file name from dba data files file name d oracle product 10.2.0 oradata test datafile o1 mf users 4yfv39n0 dbf d oracle product 10.2.0...