首页 / 数据库 / MySQL / 解决Oracle 11g空表无法导出的问题
Oracle 11g 新增参数deferred_segment_creation,建库的时候默认值为true,意思是延时加载,当表中不存在数据的时候,不为这个表创建空间,当你导出的时候会发现很多表不存在使用show parameter deferred deferred_segment_creation; 命令可以查看deferred_segment_creation的值,如果想让空表导出方法一:像库表中插入值方法二:1、执行sql修改deferred_segment_creation的值 :alter system set deferred_segment_creation=false;2、执行sql: select "alter table "||table_name||" allocate extent;" from user_tables where num_rows=0;用pl/sql将结果 ——右键 —— 复制到Excel... 将结果复制到sql窗口中运行 然后就可以导出了Oracle 11g表空间dbf文件迁移 http://www.linuxidc.com/Linux/2014-08/105512.htm移动Oracle表空间数据文件方案 http://www.linuxidc.com/Linux/2014-07/104702.htm删除临时表空间ORA-25152错误 http://www.linuxidc.com/Linux/2014-08/105213.htmOracle表空间增长异常解决又一例 http://www.linuxidc.com/Linux/2014-06/103880.htmOracle表空间Offline的三种参数详述 http://www.linuxidc.com/Linux/2014-05/101881.htmOracle 11g下加密表空间的使用 http://www.linuxidc.com/Linux/2014-05/101161.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12本文永久更新链接地址