本文共 1042 字,大约阅读时间需要 3 分钟。
alter system set db_recovery_file_dest_size=4G scope=both; alter system set db_recovery_file_dest='/home/oracle/archlog' scope=both; alter database flashback on; select FLASHBACK_ON from v$database; select file_type from v$flash_recovery_area_usage; show parameter DB_FLASHBACK_RETENTION_TARGET; show parameter DB_RECOVERY_FILE_DEST_SIZE; show parameter DB_RECOVERY_FILE_DEST; select to_char(sysdate, 'yyyy-mm-dd hh24:mi:ss') from dual; ALTER TABLE INDUSTRY testflashback ROW MOVEMENT; select Count(*) from testflashback t; delete from testflashback; flashback table testflashback to timestamp to_date('2012-11-30 22:00:00','yyyy-mm-dd hh24:mi:ss'); select Count(*) from testflashback t; alter database flashback off; alter system set db_recovery_file_dest='' scope=both; 转载地址:http://vyuto.baihongyu.com/