免费视频淫片aa毛片_日韩高清在线亚洲专区vr_日韩大片免费观看视频播放_亚洲欧美国产精品完整版

打開APP
userphoto
未登錄

開通VIP,暢享免費(fèi)電子書等14項(xiàng)超值服

開通VIP
在Linux中通過本地復(fù)制的方式創(chuàng)建多一個(gè)Oracle數(shù)據(jù)庫
[oracle@l004020 ~]$ export $ORACLE_SID=oratmp
  [oracle@l004020 ~]$ nid target=sys/sys_password dbname=oratmp
  DBNEWID: Release 10.2.0.2.0 - Production on Sat Oct 9 11:37:47 2010
  Copyright (c) 1982, 2005, Oracle. All rights reserved.
  Connected to database ORA8I (DBID=152116074)
  Connected to server version 10.2.0
  Control Files in database:
  /u02/oradata/oratmp/control01.ctl
  /u02/oradata/oratmp/control02.ctl
  /u02/oradata/oratmp/control03.ctl
  Change database ID and database name ORA8I to ORATMP? (Y/[N]) => y
  Proceeding with operation
  Changing database ID from 152116074 to 3320092043
  Changing database name from ORA8I to ORATMP
  Control File /u02/oradata/oratmp/control01.ctl - modified
  Control File /u02/oradata/oratmp/control02.ctl - modified
  Control File /u02/oradata/oratmp/control03.ctl - modified
  Datafile /u02/oradata/oratmp/system01.dbf - dbid changed, wrote new name
  Datafile /u02/oradata/oratmp/undotbs01.dbf - dbid changed, wrote new name
  Datafile /u02/oradata/oratmp/sysaux01.dbf - dbid changed, wrote new name
  Datafile /u02/oradata/oratmp/users01.dbf - dbid changed, wrote new name
  Datafile /u02/oradata/ora8i/temp01.dbf - dbid changed, wrote new name
  Control File /u02/oradata/oratmp/control01.ctl - dbid changed, wrote new name
  Control File /u02/oradata/oratmp/control02.ctl - dbid changed, wrote new name
  Control File /u02/oradata/oratmp/control03.ctl - dbid changed, wrote new name
  Instance shut down
  Database name changed to ORATMP.
  Modify parameter file and generate a new password file before restarting.
  Database ID for database ORATMP changed to 3320092043.
  All previous backups and archived redo logs for this database are unusable.
  Database has been shutdown, open database with RESETLOGS option.
  Succesfully changed database name and ID.
  DBNEWID - Completed succesfully.
  [oracle@l004020 ~]$ sqlplus / as sysdba
  SQL> shutdown immediate;
  ORA-01507: database not mounted
  ORACLE instance shut down.
  SQL> startup mount ;
  ORACLE instance started.
  Total System Global Area 167772160 bytes
  Fixed Size 2069648 bytes
  Variable Size 104860528 bytes
  Database Buffers 50331648 bytes
  Redo Buffers 10510336 bytes
  ORA-01103: database name 'ORATMP' in control file is not 'ORA8I'
  SQL> alter system set db_name='oratmp' scope=spfile;
  System altered.
  SQL> shutdown immediate;
  ORA-01507: database not mounted
  ORACLE instance shut down.
  SQL> startup mount ;
  ORACLE instance started.
  Total System Global Area 167772160 bytes
  Fixed Size 2069648 bytes
  Variable Size 104860528 bytes
  Database Buffers 50331648 bytes
  Redo Buffers 10510336 bytes
  Database mounted.
  SQL> alter database open ;
  alter database open
  *
  ERROR at line 1:
  ORA-01589: must use RESETLOGS or NORESETLOGS option for database open
  SQL> alter database open resetlogs ;
  Database altered.
  #再看看hc文件。
  [oracle@l004020 dbs]$ ls -lth hc*
  -rw-rw---- 1 oracle dba 1.6K 10-09 11:49 hc_oratmp.dat
  -rw-rw---- 1 oracle dba 1.6K 10-09 11:34 hc_ora8i.dat
本站僅提供存儲服務(wù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊舉報(bào)。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
RMAN 備份異機(jī)恢復(fù) 并創(chuàng)建新DBID - David Dai 學(xué)習(xí) Oracle - ...
如何獲得數(shù)據(jù)庫的DBID
rman恢復(fù) nocatalog 方式恢復(fù)
RMAN 復(fù)制目標(biāo)數(shù)據(jù)庫的理論知識
登錄 oracle 時(shí) ORA-01034 和 ORA-27101 的解決辦法
采用rman duplicate 遷移數(shù)據(jù)庫操作
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服