EMPSAL_HIS SCOTT FBA1 SYS_FBA_HIST_78982(后面的数字对应的是dba_object里object_id,这个表对应的是装历史数据库块的) ENABLED
T SCOTT FBA2 SYS_FBA_HIST_78983 ENABLED
1.1.1.1.14 查看闪回归档的基表
SQL> selecttable_name,tablespace_name from user_tables where table_name like '%FBA%';
TABLE_NAME TABLESPACE_NAME
------------------------------------------------------------
SYS_FBA_DDL_COLMAP_78983(记录DDL操作) HIS_DATA_1
SYS_FBA_TCRV_78983(每一个事物、改变的信息) HIS_DATA_1
SYS_FBA_HIST_78983(记录表实际改变的数据)
1.1.1.1.15 修改闪回归档配额为200M
SQL> alterflashback archive fba1 modify tablespace his_data_1 quota 200M;
Flashback archive altered.
1.1.1.1.16 修改闪回归档保留时间为1天
SQL> alterflashback archive fba1 modify retention1 day;
Flashback archive altered.
1.1.1.1.17 删除闪回归档
SQL> drop flashback archive fba1;
Flashback archive dropped.
1.1.1.1.18手动清除所有归档
SQL> alterflashback archive fba2 purge all;
Flashback archive altered.
1.1.1.1.19 手动清除某时间段闪回归档
SQL> alterflashback archive fba2 purge before timestamp (systimestamp - interval '1' day);(清除一天前的,month,year);
Flashback archive altered.
1.1.1.1.20 手动清除基于SCN的归档。
SQL> alter flashback archive fba2 purgebefor scn 1111