SQL> conn sys/orcl as sysdba
已连接。
SQL> select type,record_size,records_total,records_used from
2 v$controlfile_record_section
3 where type in('datafile','tablespace','redo log');
未选定行
开始我以为是where子句限制的原因,但接下来
SQL> select type,record_size,records_total,records_used from
2 v$controlfile_record_section;
select type,record_size,records_total,records_used from
*
第 1 行出现错误:
ORA-03113: 通信通道的文件结束
试着解决了下:
C:\>set oracle_sid=orcl
C:\>sqlplus sys/ as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 4月 25 20:47:56 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
输入口令:
已连接到空闲例程。
SQL> select type,record_size,records_total,records_used from
2 v$controlfile_record_section;
select type,record_size,records_total,records_used from
*
第 1 行出现错误:
ORA-01034: ORACLE not available
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 167772160 bytes
Fixed Size 1247900 bytes
Variable Size 75498852 bytes
Database Buffers 88080384 bytes
Redo Buffers 2945024 bytes
数据库装载完毕。
数据库已经打开。
SQL> select type,record_size,records_total,records_used from
2 v$controlfile_record_section;
TYPE RECORD_SIZE RECORDS_TOTAL RECORDS_USED
---------------------------- ----------- ------------- ------------
DATABASE 316 1 1
CKPT PROGRESS 8180 11 0
REDO THREAD 256 8 1
REDO LOG 72 16 3
DATAFILE 428 100 5
FILENAME 524 2298 9
TABLESPACE 68 100 6
TEMPORARY FILENAME 56 100 1
RMAN CONFIGURATION 1108 50 0
LOG HISTORY 56 292 3
OFFLINE RANGE 200 163 0
TYPE RECORD_SIZE RECORDS_TOTAL RECORDS_USED
---------------------------- ----------- ------------- ------------
ARCHIVED LOG 584 28 0
BACKUP SET 40 409 0
BACKUP PIECE 736 200 0
BACKUP DATAFILE 116 282 0
BACKUP REDOLOG 76 215 0
(34行未完全)
转载于:https://blog.51cto.com/oceanii/844478