All technological notes.
Flashback DropFlashback DropFlashback Drop:
DROP TABLE statement without having to use point-in-time recovery
RECYCLEBIN initialization parameter:
Flashback Drop capability is turned on or OF.ON: Default, dropped tables go into the recycle bin and can be recovered.OFF: dropped tables do not go into the recycle bin.FLASHBACK TABLE ..TO BEFORE DROP command
recycle bin is not enabled and you drop a table, the space can immediately be used for other objects.If the recycle bin is enabled and you drop a table, the space associated with the table and its dependent objects is not immediately reclaimable, even though it does appear in DBA_FREE_SPACE.
recycle bin and still belong to their owner.recycle bin objects is never automatically reclaimed unless there is space pressure. This enables you to recover recycle bin objects for the maximum possible duration.When a dropped table is “moved” to the recycle bin, the table and its associated objects and constraints are renamed using system-generated names.
BINS$unique_id$version, where unique id is a 26-character globally unique identifier for this object making the recycle bin name unique across all databases and version is a version number assigned by the database.The recycle bin itself is a data dictionary table that maintains the relationships between the original names of dropped objects and their system-generated names. 回收站本质上是数据字典来维护被删除对象的原来名和系统生成名.
DBA_RECYCLEBIN view:

- You have created a table called EMPLOYEES in your tablespace.
- You drop the EMPLOYEES table.
- The extents occupied by EMPLOYEES are now considered as free space.
- EMPLOYEES is renamed and the new name is recorded into the recycle bin.
DROP TABLE PURGE command:
DROP TABLESPACE ... INCLUDING CONTENTS command:
recycle bin. 表空间会被直接删除recycle bin belonging to the tablespace are purged. 该表空间相关的在回收站的对象也会被删除.DROP TABLESPACE command:
recycle bin. 表空间可以包含在回收站的对象
DROP USER ... CASCADE command
user and all the objects owned by the user are permanently dropped from the database.recycle bin belonging to the dropped user are purged. 回收站中的关联对象会被删除.Recycle BinSecurity considerations for the recycle bin:
Steps:
sqlplus / as sysdba
-- View the recycle bin status
SHOW PARAMETER RECYCLEBIN
-- Disable the use of the recycle bin
ALTER SYSTEM SET RECYCLEBIN=OFF SCOPE=SPFILE;
-- restart the database
SHUTDOWN IMMEDIATE
STARTUP