Flashback Database
Objects: -------------------------------------------------------- An Overview of Flashback Technologies Flashback Database All the flashback technologies,with the exception of the Flashback Database,are based on undo data. ------------------------------------------------ Flashback Database The Flashback Database relies on “before” images in the flashback logs,but traditional flashback technology relies on the undo data. The Flashback Database isa nice substitute for incomplete recoveryfor logical corruption and user errors. some limitations: Managing the Flash Recovery Area with Recovery Manager Flash recovery providesa couple of key benefitsto the recovery process: Theretention period of the filesin the flash recovery area are determined by the Recovery Manager (RMAN) retention policy,which is defined by the RMAN CONFIGURE RETENTION POLICY command. Configuring the Flash Recovery Area 1. Add the following database parameter for the size of the flash recovery area to the init.ora and/or SPFILE: 2. Add the following database parameter for the location of the flash recovery area: To disable the flash recovery area,use this command: Using the Flash Recovery Area Dynamic viewV$RECOVERY_FILE_DESTdisplays all the information about the usage of the flash recovery area. The flashback recovery area cancontaindatafiles,control files,online redo logs,miscellaneous Initialization parameters for theonline redo log files location: Initialization parameters for thecontrol files location: Initialization parameters for thearchived log files: Backing Up the Flash Recovery Area There are two commands that are used in backing up the flash recovery area(RMAN,only to tape): Configuring the Flashback Database The database must have ARCHIVE LOG enabled. 1. Start the database in MOUNT mode: 2. Set the DB_FLASHBACK_RETENTION_TARGET parameter to the desired value. 3. Enable the flashback capability: 4. Now the database can be opened for normal use: 1. First,query the V$FLASHBACK_DATABASE_LOG view to retrieve theOLDEST_FLASHBACK_SCN: 2. Next,shut down and start the database in MOUNT mode: 3. Next,issue the Flashback Database recovery from RMAN: 4. Finally,open the database with the RESETLOGS option: Monitoring the Flashback Database V$DATABASE: view displays if the Flashback Database is on or off. V$FLASHBACK_DATABASE_LOG: determine the amount of space required in the recovery area to support the flashback activity generated by changes in the database.OLDEST_FLASHBACK_SCNandOLDEST_FLASHBACK_TIMEcolumns give you information regarding how far back you can use the Flashback Database.ESTIMATED_FLASHBACK_SIZEestimated size of flashback data V$FLASHBACK_DATABASE_STAT: used to monitor the overhead of maintaining the data in the Flashback Database logs. ---------------------------------------- Using the Flashback Database with Enterprise Manager The Flashback Database is a new?Oracle?10g solution that is best used to recover from logicalcorruptionanduser error. This is a new alternative toincompleterecoveryorthe Log Miner utility. The flash recovery area will not back up redo log files,or flashback logs with the BACKUP RECOVERY AREA and BACKUP RECOVERY FILES commands. Permanent files are considered to be current online redo logs and control files. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- cocos-js,内存管理1---一张图片的内存
- What is the use of the res/values/public.xml file on An
- xcode 6.1的plugins文件夹在哪里
- iphone – 有一段时间后是否有办法自动解除警报视图?
- XML之TinyXML推荐RapidXML
- 使用Vue实现图片上传的三种方式
- c# – DateTimePicker显示今天的日期而不是显示其实际值
- AJAX省市区三级联动下拉列表实现 JAVA开发
- ruby-on-rails – 选择Ruby on Rails作为基于浏览器的在线游
- 启动索引大于(array.size -1)时会产生关于ruby Array []方法