Turn On and Off Recycle Bin for the Instance in Oracle

Q

How To Turn On or Off Recycle Bin for the Instance in Oracle?

✍: 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.

 

Managing Oracle Database Tables

⇒⇒Oracle Database Tutorials

2016-10-17, 190👍, 0💬