Using the Recycle Bin to View and Restore Dropped Objects

You can use the Recycle Bin to view and restore dropped database objects. When you drop a table, the space associated with the table is not immediately removed. The Oracle database renames the table and places it and any associated objects in the Recycle Bin. You can recover objects in the Recycle Bin at a later time.

Topics:

Note:

The Recycle Bin feature is only available if you run with an Oracle 10g or later database.

See Also:

"Performing Backup and Recovery" in Oracle Database 2 Day DBA

Managing Objects in the Recycle Bin

You can view objects in the Recycle Bin on the Dropped Objects page. Once you select an object and view the Object Details page, you can choose to purge the object or restore the object by clicking the appropriate button.

To view objects in the Recycle Bin:

  1. On the Workspace home page, click the SQL Workshop.

  2. Click Utilities.

  3. Click Recycle Bin.

  4. Click Dropped Objects.

    The Dropped Objects page appears.

  5. See Customizing Interactive Reports in the Oracle Application Express Application Builder User's Guide for further details.

  6. To filter the report, select an object type, enter the object name in the Original Name field, and click Go.

  7. To view object details, click the object name.

    The Object Details page appears.

  8. To restore the current object, click Restore Object.

  9. To permanently delete the current object, click Purge Object.

Emptying the Recycle Bin Without Viewing the Objects

To empty the Recycle Bin without viewing the objects:

  1. On the Workspace home page, click SQL Workshop.

  2. Click Utilities.

  3. Click Recycle Bin.

  4. Click Purge Recycle Bin.

    The Purge Recycle Bin page appears.

  5. Confirm your request by clicking Purge Recycle Bin again.