如何給或移動Oracle表空間數據檔案改名向另一個地點

Oracle數據庫不提供容易的用戶界面給表空間改名數據檔案,亦不數據庫管理員在數據庫的創作能容易地移動或調遷數據檔案對另一個地點或目錄那與原始的地點不同。 給改名或移動地方任務必須通過Oracle SQLPlus命令行接口執行。 然而,如果操作進行,當時擁有datefile的表空間是網上的,錯誤將發生。

錯誤信息也許包括以下:

ORA-01511 : 錯誤在給日誌或數據文件改名
ORA-01121 : 不能給數據庫文件 <串改名> -文件是在使用中或補救
ORA-01110 : 數據文件 <串>: `datafile.dbf』

適當地移動數據檔案或給數據檔案改名,跟隨這個指南:

  1. 註冊對SQLPlus。
  2. 連接當SYS DBA與 連接/作為SYSDBA 命令。
  3. 停工數據庫事例與 停工 命令。
  4. 給或/與移動數據檔案改名在操作系統的水平。
  5. 開始Oracle數據庫在登上狀態與 起始的登上 命令。
  6. 使用以下命令句法修改數據檔案的名字或地點在Oracle數據字典:

    修改數據庫給文件`改名<完全修飾的道路到原始的數據文件名字>』到`<新或原始的完全修飾的道路嚮新或原始的數據文件名字>』;

  7. 完全地打開Oracle數據庫事例與 修改數據庫開放 命令。

如果需要改變或被移動的數據檔案不屬於系統表空間和不包含活躍反轉段或臨時段,有不要求數據庫事例是停工的另一個解決方法。 反而,包含日期文件仅的特殊表空間被採取離線。

  1. 註冊對SQLPlus。
  2. 連接當SYS DBA與 連接/作為SYSDBA 命令。
  3. 做離線受影響的表空間與 修改表空間 <表空間名字> 離線; 命令。
  4. 使用以下命令句法修改數據檔案的名字或地點在Oracle數據字典:

    修改表空間 <表空間名字> 給數據檔案`改名<完全修飾的道路到原始的數據文件名字>』到`<新或原始的完全修飾的道路嚮新或原始的數據文件名字>』;

  5. 再在網上帶來表空間與 修改表空間修改表空間 <表空間名字> 在網上; 命令。

重要: 這是現狀提供,不用保單的機器翻譯的頁。 計算機翻譯也許是難瞭解。 參見 原始的英國文章 每當可能。

分享并且貢獻或者得到技術支持并且幫助在 我的數字式生活論壇.



Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting


Custom Search

New Articles

Incoming Search Terms for the Article

rename datafile - oracle move datafile - oracle move tablespace - move tablespace - oracle rename datafile - oracle move datafiles - rename datafile oracle - move datafile - change datafile location - oracle datafile rename - rename oracle datafile - oracle show tablespaces - move oracle datafile - oracle tablespace location - oracle tablespace path - all - move datafile oracle - oracle show datafiles - move datafiles oracle - rename data file - oracle rename - oracle show tablespace - move tablespace oracle - Move Oracle Tablespace - sqlplus show tablespaces - Oracle change datafile location - oracle tablespace - mover datafile - move oracle datafiles - oracle datafile name - sqlplus show tablespace - change oracle datafile path - change tablespace name - oracle move temp file - move datafiles - How to Rename or Move Oracle Tablespace Datafile to Another Location - ORA-01511: error in renaming log/data files - rename oracle tablespace - datafile rename - mover datafile oracle - move data file - alter datafile rename - rename datafile in oracle - move tablespace datafile - move datafile in oracle - alter datafile move - change datafile name - Oracle tablespace filename - Oracle move tablespace file - how to rename a datafile - rename datafiles - move datafiles in oracle - oracle tablespace rename - ORACLE MOVE DATAFILE TO ANOTHER TABLESPACE - how to move oracle datafile - oracle move system datafile - oracle tablespace name - mover datafiles - oracle alter move - oracle tablespace files - move datafile online - oracle move temp datafile - MOVE ORACLE DATA FILE - renaming datafiles - oracle tablespace move - MOVE DATAFILE TO ANOTHER TABLESPACE - RENAME ORACLE - Oracle data file path - oracle change datafile path - renaming an oracle database - oracle - move oracle database - oracle move tablespace data file - Moving Oracle Datafiles - rename a datafile in oracle -