For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

   
  Oracle Tips by Burleson

Easy Oracle Automation
Chapter 7 -
Application and SQL Management

Flashback Drop

The DROP TABLE PURGE command is used to drop objects. When this command is used, the objects are not placed in recycle bin and discarded permanently. This is similar to the drop feature in previous releases of Oracle database.

Information about all the objects that have been dropped can be viewed from USER_RECYLEBIN or DBA_RECYCLEBIN. The SQL Plus command SHOW RECYCLEBIN will give a list of all objects in the recycle bin.

Objects in the recycle bin remain there until permanently dropped with the PURGE command or recovered with the FLASHBACK TABLE <table_name> .. TO BEFORE DROP command. Similarly, objects remain in the recycle bin until there is no room for new rows or updates in the tablespace or until the tablespace has to be extended for tablespaces with the AUTOEXTEND ON option.

When an object is dropped and moved to the recycle bin, the name of the object is changed to avoid conflicts with objects in the recycle bin that has the same name. This also helps in creating a new object with the same name and dropping it again.

The tables in the recycle bin can be queried by issuing a SELECT command. Also, flashback query operations are possible on objects in the recycle bin, if the undo information is still available. It is not possible to INSERT, UPDATE or DELETE against tables in the recycle bin.
 


The above text is an excerpt from:

Easy Oracle Automation
Oracle10g Automatic Storage, Memory and Diagnostic Features

ISBN 0-9745993-6-0

by Dr. Arun Kumar R.
 


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot.

  
 

 
 
 
 
Oracle performance tuning software
 
 

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: