How To Turn On or Off Recycle Bin for the Instance

Q

How To Turn On or Off Recycle Bin for the Instance? - Oracle DBA FAQ - Managing Oracle Database Tables

✍: FYIcenter.com

A

You can turn on or off the recycle bin feature for an instance in the instance parameter file with "recyclebin=on/off". You can also turn on or off the recycle bin feature on the running instance with a SQL*Plus command, if you log in as SYSTEM. See the following example:

SQL> connect SYSTEM/fyicenter
Connected.

SQL> SHOW PARAMETERS RECYCLEBIN
NAME                                 TYPE        VALUE
------------------------------------ ----------- -------
recyclebin                           string      on

SQL> ALTER SYSTEM SET RECYCLEBIN = OFF;
System altered.

SQL> SHOW PARAMETERS RECYCLEBIN
NAME                                 TYPE        VALUE
------------------------------------ ----------- -------
recyclebin                           string      OFF

Warning: Turning off the recycle bin feature will give your users hard times on recovering dropped tables.

2007-05-04, 5287👍, 0💬