最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

延迟段创建deferred_segment_creation导致EXP-00003

来源:动视网 责编:小采 时间:2020-11-09 11:19:45
文档

延迟段创建deferred_segment_creation导致EXP-00003

延迟段创建deferred_segment_creation导致EXP-00003:deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建segment,也包括 deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建
推荐度:
导读延迟段创建deferred_segment_creation导致EXP-00003:deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建segment,也包括 deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建


deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建segment,也包括

deferred_segment_creation导致EXP-00003
在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建segment,也包括该表相关对象LOBS和INDEX.
官方文档解释:DEFERRED_SEGMENT_CREATIONspecifies the semantics of deferred segment creation. If set totrue, then segments for non-partitioned tables and their dependent objects (LOBs, indexes) will not be created until the first row is inserted into the table.
也是由于该新特性导致通过EXP导出的时候出现'EXP-00003: 未找到段 (0,0) 的存储定义'
sql>show parameter deferred_segment_creation;
deferred_segment_creation boolean TRUE
解决方法:
alter system set deferred_segment_creation=false scope=both;
alter table allocate extent;然后再重新导出.

在11.2.0.1上更加由于该特性导致引发一个BUG 9285196(METALINK DOC ID:9285196.8)
使用inserts as select 语句插入数据到一个非PARTITION表中会非常慢
解决办法:
插入前先分配SEGMENT
alter table allocate extent;

METALINK原文:
Slower inserts as select into a non-partitioned table ,
especially if the select involves reading many rows or an expensive join.

This fix changes the behavior. such that the segments will be allocated
regardless if the INSERT inserts rows or not.

Workaround
Materialize segments for the table before issuing the insert as select.
'alter table allocate extent;' will materialize segments for the
table and its dependent objects like indexes and lobs.

文档

延迟段创建deferred_segment_creation导致EXP-00003

延迟段创建deferred_segment_creation导致EXP-00003:deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建segment,也包括 deferred_segment_creation导致EXP-00003在11g的版本新特性,为了避免浪费资源,当建立非分区的空表的时候会延迟创建
推荐度:
标签: 建立 创建 延迟
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top