閃回表時報錯ORA-38305
SQL> CREATE TABLE TEST (T VARCHAR2(10) ) ;
表已創(chuàng)建。
SQL> DROP TABLE TEST;
表已刪除。
SQL> FLASHBACK TABLE TEST TO BEFORE DROP;
FLASHBACK TABLE TEST TO BEFORE DROP
*
第 1 行出現(xiàn)錯誤:
ORA-38305: 對象不在回收站中
查看回收站參數(shù)是開啟的,SQL> SHOW RECYCLEBIN; 也看不到刪除的表
如果不指定創(chuàng)建表的表空間,那么它會使用默認的表空間SYSTEM,可以通過SELECT TABLESPACE_NAME FROM USER_TABLES WHERE TABLE_NAME='TEST'查看。多次測試,結(jié)果都是如此,在表空間SYSTEM下是無法使用FLASHBACK TABLE特性的, You cannot 'flashback table to before drop' a table which has been created in the SYSTEM tablespace. The table is sent to the recyclebin only if it existed in some other tablespace other than SYSTEM tablespace and that tablespace must be locally managed.ORACLE限制了在表空間SYSTEM下使用回收站機制,

標簽: