Oracle回收站的清理方法

達芬奇的夢發表於2018-02-26

purge DBA_RECYCLEBIN用於刪除Oracle資料庫回收站的所有資料,需要sys登入執行。

[@more@]

-bash-3.00# su - oracle

[oracle@rpt]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 29 12:00:25 2012

Copyright (c) 1982, 2005, Oracle. All rights reserved.

Connected to:

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production

With the Partitioning, OLAP and Data Mining options

sys@rpt> SELECT count(*) FROM dba_recyclebin;

COUNT(*)

----------

13545

sys@rpt> purge DBA_RECYCLEBIN;

DBA Recyclebin purged.

sys@rpt>

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31444259/viewspace-2151259/,如需轉載,請註明出處,否則將追究法律責任。

相關文章