我的编程空间,编程开发者的网络收藏夹
学习永远不晚

oracle drop purge

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

oracle drop purge

drop table t;与drop table t purge的区别在于后者删除表后不放入Recycle,而前者是放入到recyle中的。

举例:

1、create table a(id,number);

2、insert into a values(1); commit;

3、select * from a;

    id

    1

4、drop table a;

5、show recyclebin;

会看到这个表在回收站里,之后可以利用闪回进行恢复

如:flashback table a to before drop;

此时这个表已经从回收站恢复过来了

如果上述drop动作采用的是

drop table a purge那这个表示没有进入recyle的,所以不能用闪回进行恢复


这个很少有人用,一是多打一个单词命令,另外一个就是如果删除了将不好恢复

其实正常情况下oracle删除表等对象的时候是先讲这些对象放入到回收站的,该占用多少空间还是会占用多少空间,知道被占没

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

oracle drop purge

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

ORA-14137: Table in partially dropped state, submit DROP TABLE PURGE ORACLE 报错 故障修复 远程处理

文档解释ORA-14137: Table in partially dropped state, submit DROP TABLE PURGECause: An attempt was made to access a
ORA-14137: Table in partially dropped state, submit DROP TABLE PURGE ORACLE 报错 故障修复 远程处理
2023-11-05

oracle中drop用法

oracle 中 drop 用法DROP 语句DROP 语句允许您从数据库中删除各种对象。这些对象包括:表视图索引过程函数语法一般 DROP 语句的语法如下:DROP ;<
oracle中drop用法
2024-05-08

oracle中drop作用

oracle 中的 drop 命令可删除数据库对象(表、视图、索引、触发器),该命令无法逆转,将删除所有依赖对象。用法:drop ;对象类型包括 table、view、index 和 trigger。使用 cascade 关键字可级联删除
oracle中drop作用
2024-05-08

oracle中delete和drop的区别

oracle 的 delete 和 drop 命令用于删除数据,但方式不同:delete 删除表中满足条件的特定行,可恢复已删除数据。drop 删除整个表或其他数据库对象,永久删除数据,不可恢复。Oracle 中 DELETE 和 DROP
oracle中delete和drop的区别
2024-05-09

ORA-12083: must use DROP MATERIALIZED VIEW to drop “string”.”string” ORACLE

文档解释ORA-12083: must use DROP MATERIALIZED VIEW to drop string.stringCause: An attempt was made to drop a
ORA-12083: must use DROP MATERIALIZED VIEW to drop “string”.”string” ORACLE
2023-11-05

ORA-31435: an error occurred during the purge operation ORACLE 报错 故障修复 远程处理

文档解释ORA-31435: an error occurred during the purge operationCause: An error occurred during the purge operationAction:
ORA-31435: an error occurred during the purge operation ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-31420: unable to submit the purge job ORACLE 报错 故障修复 远程处理

文档解释ORA-31420: unable to submit the purge jobCause: When creating the first change table, a purge job is submitted to
ORA-31420: unable to submit the purge job ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-38310: cannot purge tablespace for other users ORACLE 报错 故障修复 远程处理

文档解释ORA-38310: cannot purge tablespace for other usersCause: An attempt was made to purge the tablespace for a
ORA-38310: cannot purge tablespace for other users ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-31434: purge is currently running ORACLE 报错 故障修复 远程处理

文档解释ORA-31434: purge is currently runningCause: Called the PURGE procedure while a purge job was currently
ORA-31434: purge is currently running ORACLE 报错 故障修复 远程处理
2023-11-05

ORA-64137: Cannot drop an XMLIndex whose internal table has been indexed using Oracle Text. ORACLE 报

文档解释ORA-64137: Cannot drop an XMLIndex whose internal table has been indexed using Oracle Text.Cause: An attempt was
ORA-64137: Cannot drop an XMLIndex whose internal table has been indexed using Oracle Text. ORACLE 报
2023-11-05

ORA-38311: cannot purge objects owned by other users ORACLE 报错 故障修复 远程处理

文档解释ORA-38311: cannot purge objects owned by other usersCause: An attempt was made to purge an object which is owned by
ORA-38311: cannot purge objects owned by other users ORACLE 报错 故障修复 远程处理
2023-11-05

编程热搜

目录