SQL*Plus: Release 9.2.0.1.0- Production on 星期日 1月 723:11:542007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
已连接到空闲例程。
SQL>select*from v$datafile; select*from v$datafile * ERROR 位于第 1 行: ORA-01034: ORACLE not available
SQL> startup; ORACLE 例程已经启动。
Total System Global Area 126950220 bytes Fixed Size 453452 bytes Variable Size 109051904 bytes Database Buffers 16777216 bytes Redo Buffers 667648 bytes 数据库装载完毕。 数据库已经打开。 SQL>select name from v$datafile;
NAME -------------------------------------------------------------------------------- E:ORACLESONBWEBSDE.DBF E:ORACLESONBWEBREALSTAR.ORA
已选择13行。
SQL>select name from v$controlfile;
NAME -------------------------------------------------------------------------------- E:ORACLESONBWEBCONTROL01.CTL E:ORACLESONBWEBCONTROL02.CTL E:ORACLESONBWEBCONTROL03.CTL
SQL>select*from v$logfile;
GROUP# STATUS TYPE ---------- ------- ------- MEMBER -------------------------------------------------------------------------------- 3 STALE ONLINE E:ORACLESONBWEBREDO03.LOG
Total System Global Area 126950220 bytes Fixed Size 453452 bytes Variable Size 109051904 bytes Database Buffers 16777216 bytes Redo Buffers 667648 bytes 数据库装载完毕。
SQL> alter database rename file 'E:ORACLESONBWEBSYSTEM01.DBF' 2 to 'D:oracleoradataSONBWEBsystem01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBCWMLITE01.DBF' 2 to 'D:oracleoradataSONBWEBcwmlite01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBDRSYS01.DBF' 2 to 'D:oracleoradataSONBWEBdrsys01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBEXAMPLE01.DBF' 2 to 'D:oracleoradataSONBWEBexample01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBINDX01.DBF' 2 to 'D:oracleoradataSONBWEBindx01.dbf'; 数据库已更改。 SQL> alter database rename file 'E:ORACLESONBWEBODM01.DBF' 2 to 'D:oracleoradataSONBWEBodm01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBTOOLS01.DBF' 2 to 'D:oracleoradataSONBWEB ools01.dbf'; 数据库已更改。
SQL> alter database rename file 'E:ORACLESONBWEBUSERS01.DBF' 2 to 'D:oracleoradataSONBWEBusers01.dbf'; 数据库已更改。