ITPub博客

首页 > 数据库 > Oracle > Oracle回收站的清理方法

Oracle回收站的清理方法

Oracle 作者:达芬奇的梦 时间:2018-02-26 11:14:41 0 删除 编辑

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博客 ” ,链接:https://blog.itpub.net/31444259/viewspace-2151259/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2017-03-15

  • 博文量
    172
  • 访问量
    296703