码迷,mamicode.com
首页 > 其他好文 > 详细

OCP-V13-708

时间:2015-09-21 01:38:54      阅读:287      评论:0      收藏:0      [点我收藏+]

标签:数据库   oracle11g   ocp   

技术分享

  1. You executed the following query:
    Considering that all the redo logs are available, what information can you derive from the output of the preceding query?
    考虑到所有重做日志可用,什么样的信息来自于上图的查询结果?

A.The time when the last flashback operation in your database was performed

B.The time when the first flashback operation in your database was performed

C.The approximate time and the lowest system change number (SCN) to which you can flash back your
database 你可以返回你数据库大概最近的时间点和最早的SCN时间点
D.The system change number (SCN) and the time when the Flashback Database was enabled in the
database instance
Answer:C


Flashback Database 相关的2个视图:
1. VdatabaseFlashbackdatabaseSQL>selectflashbackonfromvdatabase;

FLASHBACK_ON

YES

  1. VflashbackdatabaselogFlashbackDatabase退FlashbackDatabaseLogOldestflashbackscn/Oldestflashbacktime:Flashbacksize:使FlashRecoveryAreaRetentiontarget:Estimatedflashbacksize:SQL>selectoldestflashbackscnos,tochar(oldestflashbacktime,yy?mm?ddhh24:mi:ss)ot,retentiontargetrt,flashbacksizefs,estimatedflashbacksizeesfromvflashback_database_log;

OS OT RT FS ES
———- —————– ———- ———- ———-
946088 09-10-14 13:49:59 1440 16384000 350920704

  1. V$flashback_database_stat
    这个视图用来对Flashback log 空间情况进行更细粒度的记录和估计。 这个视图以小时为单位记录单位时间内数据库的活动量,Flashback_Data 代表Flashback log产生数量,DB_Date 代表数据改变数量,Redo_Date代表日志数量,通过这3个数量可以反映出数据的活动特点,更准确的预计Flash Recovery Area的空间需求

SQL> alter session set nls_date_format=’hh24:mi:ss’;

会话已更改。

SQL> select *from v$flashback_database_stat;

BEGIN_TI END_TIME FLASHBACK_DATA DB_DATA REDO_DATA ESTIMATED_FLASHBACK_SIZE


14:43:10 15:15:28 6455296 29310976 3898368

OCP-V13-708

标签:数据库   oracle11g   ocp   

原文地址:http://blog.csdn.net/xuejiayue1105/article/details/48608701

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!