Oracle数据库教程:查看控制文件内容的方法


1 方法1

[Oracle@rhfour test]$ strings control01.ctl

2 方法2

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

 

SQL> alter database backup controlfile to trace as '/oradata/ctl.txt';

利用下面的内容可以重建控制文件

3 查视图v$controlfile_record_section

select * from v$controlfile_record_section;

4 方法4(转储控制文件)

SQL> alter system set events 'immediate trace name controlf level 10';

System altered.

udump目录中找到最新trace文件, 文件中可以到scn信息, 时间戳等信息.

相关内容