今天做实验的时候创建了一个表空间lob_tbs, 并且在该表空间上创建了一个包含大对象字段的表lob_tab。 当实验结束想要删除该表空间时报错ORA-22868。使用Oracle的帮助信息oerr ora 22868很容易定位问题的原因,根据提示先删除含有大字段的表,然后在删除该表空间就可以了。
问题还原如下:
1. 创建表空间lob_tbs
create tablespace lob_tbs datafile ‘/dbfiles/lob_tbs01.dbf’ size 100m
autoextend on extent management local;
2. 在users表空间创建表lob_tab,  大字段列存储在lob_tbs表空间中
create table lob_tab (id int, doc blog) tablespace users
lob(doc) store as securefile(tablespace lob_tbs compress high deduplicate);
3. 删除表空间lob_tbs报错ORA-22868
drop tablespace lob_tbs including contents;
drop tablespace lob_tbs including contents
*
ERROR at line 1:
ORA-22868: table with LOBs contains segments in different tablespaces
使用oerr帮助信息查到提示drop these tables and reissure drop tablespace. 先删除表,然后在删除表空间
enmoedu1*PROD1 ~ $ oerr ora 22868
22868, 00000, "table with LOBs contains segments in different tablespaces"
// *Cause: An attempt was made to drop a tablespace which contains the
// segment(s) for the LOB columns of a table but does not contain
// the table segment.
// *Action: Find table(s) with LOB columns which have non-table segments in
// this tablespace. Drop these tables and reissue drop tablespace.
HR@PROD1 > drop table lob_tab;
SYS@PROD1 > drop tablespace lob_tbs;
Tablespace dropped.
遇到报错信息时,使用oerr可提供说明,甚至给出指导性建议来帮助我们处理问题。
全文完

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29047826/viewspace-1618998/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29047826/viewspace-1618998/

ORA-22868: table with LOBs contains segments in different tablespaces相关推荐

  1. ORA 00942 table or view does not exist

    分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 在过程, ...

  2. git 代理 git_万物Git的资源

    git 代理 git Following my post on Git and its basic definitions, I decided to bundle up some more arti ...

  3. ux和pm_实践ux假设经常和早期谈论它们

    ux和pm Assumptions are everywhere in how we humans see the world. In any situation we find ourselves ...

  4. 【Oracle】关于LOBs

    Master Note - RDBMS Large Objects (LOBs) (Doc ID 1268771.1) 如何评估LOBs占用空间大小? (1) col segment_name for ...

  5. Undo Segments

    Oracle Database uses undo data to do the following: Roll back an active transaction Recover a termin ...

  6. oracle ora 01691,ORA-01691错误分析

    解答者:tolywang[@more@] 在应用程序中插入oracle大字段的时候出现如下提示: ORA-01691: unable to extend lob segment xxx.SYS_LOB ...

  7. Oracle DUL Data Unloader数据恢复工具信息汇总

    PRM-DUL是开放的ORACLE DUL 软件,点击下面的链接下载PRM-DUL DUL FOR LINUX平台(已更新为PRM-DUL) DUL FOR Windows平台 (已更新为PRM-DU ...

  8. OCP12C题库,62数据库备份与恢复(admin,install and upgrade accelerated, backup and recovery workshop -62)(新增)

    题数:20+53 10月新增 5 examine the details of the uncompressed,non-partitioned heap table cities. 检查未压缩.未分 ...

  9. oracle快照方案,【DBA及开发必备】全解ORA-1555快照太旧错误原理及解决方案

    不论你的工作是管理Oracle数据库,还是开发.维护Oracle上的应用程序,通常来讲你都遇到过ORA-01555:snapshot too old这样的错误.本文为你详解错误产生的原因以及最佳解决方 ...

最新文章

  1. 团队工具_「管理工具」部门有效管理的5个工具,打造高效团队
  2. dubbo在idea下的使用创建 服务者,消费者 注册中心
  3. aqs java_Java并发之AQS详解
  4. 网页文件都是php怎么修改,请问你们怎么将html的文件的内容改变为php
  5. node.js Stream Buffer FsPromise
  6. eclipse使用working set
  7. 约瑟夫问题(java实现)
  8. 区域显示触发_Nature Communications:地幔数据显示可氧化的火山气体的减少可能触发了大氧化事件...
  9. I2C和Modbus通信
  10. python中字典的value可以为任意对象_手把手教你学Python之字典
  11. Linux学习总结(38)——Linux超实用的30个命令
  12. Manjaro 安装 wiznote[解决:安装完成输入wiznote没有该命令]
  13. 迅雷 Thunder 11.0.2.52 抢先体验版
  14. 网站不能复制怎么办?一招教你解决
  15. ear的英语怎么念_ears用英语怎么读?
  16. Python爬虫进阶必备 | 极X助手加密算法分析
  17. 美国大学计算机专业排名2019,2019年美国大学计算机排名
  18. python中dice常见问题_【Pytorch】 Dice系数与Dice Loss损失函数实现
  19. android 借助AccessibilityService实现模拟点击功能-微信助手(一)
  20. DOTA版设计模式——命令

热门文章

  1. scum无法启动此程序以为计算机丢失,人渣SCUM低配电脑画面怎么设置_画面优化设置方法...
  2. vue3 vite学习笔记 YYDS
  3. webpack-dev-server --inline --progress --config build/webpack.dev.conf.js 解决办法
  4. 哥大涉嫌数据造假,被U.S. NEWS「踢出」2022年最佳大学排名!
  5. CSDN城市开发者联盟、C友会期待你的加入
  6. 第十二届全国大学生数学竞赛非数类试题
  7. idea修改子模块名无法导入问题
  8. 微信公众号,关注一直提示“你好,欢迎关注微信号”
  9. echarts 高度跟随数据长度自适应
  10. luoguP1576 最小花费