| 订阅 | 在线投稿
分享
 
 
当前位置: 王朝网络 >> oracle >> zai Oracle shu ju ku zhong yi dong shu ju wen jian de ju ti fang fa
 

zai Oracle shu ju ku zhong yi dong shu ju wen jian de ju ti fang fa

2008-08-05 07:04:54 编辑來源:互联网 评论
 
本文为【在Oracle数据库中移动数据文件的具体方法】的拼音翻译版
  yi . yi dong shu ju wen jian :
  – ke yi yong ALTER DATABASE,ALTER TABLESPACE liang zhong fang fa yi dong shu ju wen jian 。
  1. ALTER DATABASE fang fa ;
  – yong ci fang fa , ke yi yi dong ren he biao kong jian de shu ju wen jian 。
  ◆STEP 1. xia shu ju ku :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> SHUTDOWN;
  SQL> EXIT;
  ◆STEP 2. yong cao zuo xi tong ming ling yi dong shu ju wen jian :
  – jiang shu ju wen jian ‘test.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia :
  $ mv /ora/oracle/data1/test.ora /ora/oracle/data2
  ◆STEP 3. Mount shu ju ku , yong ALTER DATABASE ming ling jiang shu ju wen jian gai ming :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> STARTUP MOUNT;
  SQL> ALTER DATABASE RENAME FILE ‘/ora/oracle/data1/test.ora’ TO ‘/ora/oracle/data2/test.ora’;
  ◆STEP 4. da kai shu ju ku :.
  SQL> ALTER DATABASE OPEN;
  SQL>SELECT NAME,STATUS FROM V$DATAFILE;
  2. ALTER TABLESPACE fang fa :
  – yong ci fang fa , yao qiu ci shu ju wen jian ji bu shu yu SYSTEM biao kong jian , ye bu shu yu han you ACTIVE hui gun duan huo lin shi duan de biao kong jian 。
  ◆STEP1. jiang ci shu ju wen jian suo zai de biao kong jian OFFLINE:
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> ALTER TABLESPACE test OFFLINE;
  SQL> EXIT;
  ◆STEP2. yong cao zuo xi tong ming ling yi dong shu ju wen jian :
  jiang shu ju wen jian ‘test.ora’ cong /ora/oracle/
  data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia :
  $ mv /ora/oracle/data1/test.ora /ora/oracle/data2
  ◆STEP3. yong ALTER TABLESPACE ming ling gai shu ju wen jian ming :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> ALTER TABLESPACE test RENAME DATAFILE ‘/ora/oracle/data1/test.ora’ TO ‘/ora/oracle/data2/test.ora’;
  ◆STEP4. jiang ci shu ju wen jian suo zai de biao kong jian ONLINE:
  SQL> ALTER TABLESPACE test ONLINE;
  SQL> SELECT NAME,STATUS FROM V$DATAFILE;
  er . yi dong kong zhi wen jian :
  – kong zhi wen jian zai INIT.ORA wen jian zhong zhi ding 。 yi dong kong zhi wen jian xiang dui bi jiao jian dan , xia shu ju ku ,
  – bian ji INIT.ORA, yi dong kong zhi wen jian , chong qi dong shu ju ku 。
  ◆STEP 1. xia shu ju ku :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> SHUTDOWN;
  SQL> EXIT;
  ◆STEP 2. yong cao zuo xi tong ming ling yi dong kong zhi wen jian :
  – jiang kong zhi wen jian ’ctl3orcl.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia :
  $ mv /ora/oracle/data1/ctrlorcl3.ora /ora/oracle/data2
  ◆STEP 3. bian ji INIT.ORA wen jian :
  INIT.ORA wen jian de zai $ORACLE_HOME/dbs mu lu xia ,
  xiu gai shen shu “control_files”, qi zhong zhi ding yi dong hou de kong zhi wen jian :
  control_files = (/ora/oracle/data1/ctrlorcl1.ora,/ora/oracle/data1/ctrlorcl2.ora,/ora/oracle/data2/ctrlorcl3.ora)
  ◆STEP 4. chong qi dong shu ju ku :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> STARTUP;
  SQL>SELECT name FROM V$CONTROLFILE;
  SQL> EXIT;
  san . yi dong lian ji ri zhi wen jian :
  ◆STEP 1. ting shu ju ku :
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> SHUTDOWN;
  SQL> EXIT;
  ◆STEP 2. yong cao zuo xi tong ming ling yi dong lian ji ri zhi wen jian :
  – jiang lian ji ri zhi wen jian ’redolog1.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia :
  $ mv /ora/oracle/data1/redolog1.ora /ora/oracle/data2
  ◆STEP 3. Mount shu ju ku , yong ALTER DATABASE ming ling gai lian ji ri zhi wen jian ming :.
  $ sqlplus /nolog
  SQL> CONNECT INTERNAL;
  SQL> STARTUP MOUNT ;
  SQL> ALTER DATABASE RENAME FILE ‘/ora/oracle/data1/redolog1.ora’ TO ‘/ora/oracle/data2/redolog1.ora’;
  ◆STEP 4. chong qi dong shu ju ku : .
  SQL> ALTER DATABASE OPEN;
  SQL>SELECT MEMBER FROM V$LOGFILE;【原文】【汉音对照
 
 
 
 
 
 
 
 
日版宠物情人插曲《Winding Road》歌词

日版宠物情人2017的插曲,很带节奏感,日语的,女生唱的。 最后听见是在第8集的时候女主手割伤了,然后男主用嘴帮她吸了一下,插曲就出来了。 歌手:Def...

兄弟共妻,我成了他们夜里的美食

老钟家的两个儿子很特别,就是跟其他的人不太一样,魔一般的执着。兄弟俩都到了要结婚的年龄了,不管自家老爹怎么磨破嘴皮子,兄弟俩说不娶就不娶,老父母为兄弟两操碎了心...

如何磨出破洞牛仔裤?牛仔裤怎么剪破洞?

把牛仔裤磨出有线的破洞 1、具体工具就是磨脚石,下面垫一个硬物,然后用磨脚石一直磨一直磨,到把那块磨薄了,用手撕开就好了。出来的洞啊很自然的。需要猫须的话调几...

我就是扫描下图得到了敬业福和爱国福

先来看下敬业福和爱国福 今年春节,支付宝再次推出了“五福红包”活动,表示要“把欠大家的敬业福都还给大家”。 今天该活动正式启动,和去年一样,需要收集“五福”...

冰箱异味产生的原因和臭味去除的方法

有时候我们打开冰箱就会闻到一股异味,冰箱里的这种异味是因为一些物质发出的气味的混合体,闻起来让人恶心。 产生这些异味的主要原因有以下几点。 1、很多人有这种习...

 
 
yi . yi dong shu ju wen jian : – ke yi yong ALTER DATABASE,ALTER TABLESPACE liang zhong fang fa yi dong shu ju wen jian 。 1. ALTER DATABASE fang fa ; – yong ci fang fa , ke yi yi dong ren he biao kong jian de shu ju wen jian 。 ◆STEP 1. xia shu ju ku : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> SHUTDOWN; SQL> EXIT; ◆STEP 2. yong cao zuo xi tong ming ling yi dong shu ju wen jian : – jiang shu ju wen jian ‘test.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia : $ mv /ora/oracle/data1/test.ora /ora/oracle/data2 ◆STEP 3. Mount shu ju ku , yong ALTER DATABASE ming ling jiang shu ju wen jian gai ming : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> STARTUP MOUNT; SQL> ALTER DATABASE RENAME FILE ‘/ora/oracle/data1/test.ora’ TO ‘/ora/oracle/data2/test.ora’; ◆STEP 4. da kai shu ju ku :. SQL> ALTER DATABASE OPEN; SQL>SELECT NAME,STATUS FROM V$DATAFILE; 2. ALTER TABLESPACE fang fa : – yong ci fang fa , yao qiu ci shu ju wen jian ji bu shu yu SYSTEM biao kong jian , ye bu shu yu han you ACTIVE hui gun duan huo lin shi duan de biao kong jian 。 ◆STEP1. jiang ci shu ju wen jian suo zai de biao kong jian OFFLINE: $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> ALTER TABLESPACE test OFFLINE; SQL> EXIT; ◆STEP2. yong cao zuo xi tong ming ling yi dong shu ju wen jian : jiang shu ju wen jian ‘test.ora’ cong /ora/oracle/ data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia : $ mv /ora/oracle/data1/test.ora /ora/oracle/data2 ◆STEP3. yong ALTER TABLESPACE ming ling gai shu ju wen jian ming : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> ALTER TABLESPACE test RENAME DATAFILE ‘/ora/oracle/data1/test.ora’ TO ‘/ora/oracle/data2/test.ora’; ◆STEP4. jiang ci shu ju wen jian suo zai de biao kong jian ONLINE: SQL> ALTER TABLESPACE test ONLINE; SQL> SELECT NAME,STATUS FROM V$DATAFILE; er . yi dong kong zhi wen jian : – kong zhi wen jian zai INIT.ORA wen jian zhong zhi ding 。 yi dong kong zhi wen jian xiang dui bi jiao jian dan , xia shu ju ku , – bian ji INIT.ORA, yi dong kong zhi wen jian , chong qi dong shu ju ku 。 ◆STEP 1. xia shu ju ku : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> SHUTDOWN; SQL> EXIT; ◆STEP 2. yong cao zuo xi tong ming ling yi dong kong zhi wen jian : – jiang kong zhi wen jian ’ctl3orcl.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia : $ mv /ora/oracle/data1/ctrlorcl3.ora /ora/oracle/data2 ◆STEP 3. bian ji INIT.ORA wen jian : INIT.ORA wen jian de zai $ORACLE_HOME/dbs mu lu xia , xiu gai shen shu “control_files”, qi zhong zhi ding yi dong hou de kong zhi wen jian : control_files = (/ora/oracle/data1/ctrlorcl1.ora,/ora/oracle/data1/ctrlorcl2.ora,/ora/oracle/data2/ctrlorcl3.ora) ◆STEP 4. chong qi dong shu ju ku : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> STARTUP; SQL>SELECT name FROM V$CONTROLFILE; SQL> EXIT; san . yi dong lian ji ri zhi wen jian : ◆STEP 1. ting shu ju ku : $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> SHUTDOWN; SQL> EXIT; ◆STEP 2. yong cao zuo xi tong ming ling yi dong lian ji ri zhi wen jian : – jiang lian ji ri zhi wen jian ’redolog1.ora’ cong /ora/oracle/data1 mu lu yi dong dao /ora/oracle/data2 mu lu xia : $ mv /ora/oracle/data1/redolog1.ora /ora/oracle/data2 ◆STEP 3. Mount shu ju ku , yong ALTER DATABASE ming ling gai lian ji ri zhi wen jian ming :. $ sqlplus /nolog SQL> CONNECT INTERNAL; SQL> STARTUP MOUNT ; SQL> ALTER DATABASE RENAME FILE ‘/ora/oracle/data1/redolog1.ora’ TO ‘/ora/oracle/data2/redolog1.ora’; ◆STEP 4. chong qi dong shu ju ku : . SQL> ALTER DATABASE OPEN; SQL>SELECT MEMBER FROM V$LOGFILE;
󰈣󰈤
  免责声明:本文仅代表作者个人观点,与王朝网络无关。王朝网络登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述,其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
时尚性感的燕子(3)
时尚性感的燕子(2)
纯美的女生生活写真(14)
纯美的女生生活写真(13)
来自束河[]
恰巧-巧家~~
高尔夫
行摄匆匆天子山
 
>>返回首页<<
 为你推荐
 
 
 转载本文
 UBB代码 HTML代码
复制到剪贴板...
 
 热帖排行
 
 
 
 
©2005- 王朝网络 版权所有