Home > Ask the Oracle Experts > Database Design and Architecture Questions & Answers > Difference between RECYCLEBIN and 'DROPPED' column
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Difference between RECYCLEBIN and 'DROPPED' column

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Oracle tips, scripts, and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 09 August 2007

In Oracle 10g, we have the concept of RECYCLEBIN, which houses all the dropped objects under a different name (like BIN$%).

At the same time, the DBA_TABLES has a column called 'DROPPED' which indicates whether a table has been dropped, and if it is present in RECYCLEBIN or not.

Now, if I drop a table, then the corresponding row from DBA_TABLES is deleted. What, then, is the significance of the 'DROPPED' column? Practically, it would only have a value of 'NO' (or null maybe), and never a 'YES.'


>
EXPERT RESPONSE
You are correct in your assessment of the DROPPED column in the DBA_TABLES view. If you drop a table, it no longer appears in the DBA_TABLES view, so the DROPPED column will never show 'YES.' But that was not always the case. In the first iteration of Oracle 10g (before 10.2), when you dropped a table, you could see dropped tables in this view. This became a pain for many people to deal with. Why show me those tables which are in my trash can? Typically, I only care about tables that can actually be used. Oracle's official stance on this was that showing dropped tables "breaks compatibility of these views with older releases." So they classified this problem as bug #3255906, which was fixed in 10.1.0.3 and 10.2.0.1.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Database Design and Architecture
Oracle error 942 when exporting a schema
Using exp and imp for Oracle Database when switching platforms
Can I populate tables in MS ACCESS and upload to the Oracle server?
User vs. schema in Oracle
Is there any tool to migrate data from DB2 to Oracle?
Does making an Oracle datafile READ ONLY after a backup change the file?
I have space in log_arch_dest, so why am I getting the ORA-00257 error?
Why am I receiving the ORA-12535 error when using a remote database?
Partitioning a table in Oracle to improve performance
How to set up a job for an SQL query in Oracle 10g Grid Control

Oracle database design
Weighing remote database administration pros and cons takes care
Oracle Database 11g makes waves at Burlington Coat Factory
How to create a database link in Oracle
Data modeling tools no substitute for hard work
How do I do that in Oracle?
The Oracle Database user's guide to Oracle OpenWorld 2007
Oracle OpenWorld 2007 Special Report
How many redo log files?
How to move tables from system tablespace to user tablespace
ORA-12560 error with Oracle 10g Instant Client

Oracle tutorials, tips and FAQs
How to create a database link in Oracle
Most clicked stories of 2007
How do I do that in Oracle?
Counting a row's NULL columns
How many redo log files?
How to start multiple instances in Oracle 10g
Is it possible to assign a role to a profile?
How to find transactions being committed to Oracle database
What is the System Global Area (SGA)?
How to create a database schema in Oracle?
Oracle tutorials, tips and FAQs Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
extent  (SearchOracle.com)
field  (SearchOracle.com)
flexfield  (SearchOracle.com)
foreign key  (SearchOracle.com)
quad tree  (SearchOracle.com)
record  (SearchOracle.com)
row  (SearchOracle.com)
splay tree  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts