Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

0

好友

5

主题
1#
发表于 2013-3-27 10:57:34 | 查看: 3192| 回复: 1
version:
SQL> select * from v$version;

BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0      Production
TNS for Linux: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production

SQL>  select CHECKPOINT_CHANGE#,ARCHIVE_CHANGE#,CONTROLFILE_CHANGE#,CONTROLFILE_TIME,CONTROLFILE_SEQUENCE#,archivelog_change#,controlfile_type,current_scn from v$database;

CHECKPOINT_CHANGE# ARCHIVE_CHANGE# CONTROLFILE_CHANGE# CONTROLFILE_TIME    CONTROLFILE_SEQUENCE# ARCHIVELOG_CHANGE# CONTROL CURRENT_SCN
------------------ --------------- ------------------- ------------------- --------------------- ------------------ ------- -----------
          42679915        42679912            42680036 2013-03-27 10:41:31                 16949           42679915 CURRENT    42680095

CONTROLFILE_SEQUENCE#        NUMBER        Control file sequence number incremented by control file transactions
CONTROLFILE_CHANGE#         NUMBER        Last SCN in backup control file; null if the control file is not a backup

question:
what is diff between CONTROLFILE_SEQUENCE# and CONTROLFILE_CHANGE#?  who maintains the station and when ?
thanks in advace.
2#
发表于 2013-3-27 14:34:29
CONTROLFILE_SEQUENCE#:  every time controlfile contents need to be update, for example checkpoint happened need to change the change# in controlfile, then CONTROLFILE_SEQUENCE#  advance, it's the controlfile update times.
CONTROLFILE_CHANGE#:it's hard to explain clearly in chinese, so it's very very hard in english. :)

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-11-16 11:45 , Processed in 0.045502 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569