如何给或移动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 -