11gR2之前的版本中,当创建一张表时,会自动分配段空间,这样做有几个弊端:
1. 初始创建表时就需要分配空间,自然会占用一些时间,如果初始化多张表,这种影响就被放大。
2. 如果很多表开始的一段时间都不需要,那么就会浪费这些空间。
为此,从11gR2开始,有一种新特性,叫延迟段,即延迟分配段空间。简单讲,默认将表(以及索引、LOB)的物理空间分配推迟到第一条记录插入到表中时。即有实际的数据...
分类:
其他好文 时间:
2014-08-08 16:15:06
阅读次数:
223
摘要:本文对B树索引的结构、内部管理等方面做了一个全面的介绍。同时深入探讨了一些与B树索引有关的广为流传的说法,比如删除记录对索引的影响,定期重建索引能解决许多性能问题等。1.B树索引的相关概念索引与表一样,也属于段(segment)的一种。里面存放了用户的数据,跟表一样需要占用磁盘空间。只不过,在...
分类:
其他好文 时间:
2014-08-08 01:38:24
阅读次数:
304
将数据、代码、栈放入不同的段:把这些内容全部放在代码段中无疑会让程序显得混乱而且难以管理和操作,容易出错,所以,要把数据、代码和栈放入不同的段中,这也体现了软件工程中“分而治之”的思想。assume cs:code, ds:data, ss:stackdata segment dw 0123h...
分类:
其他好文 时间:
2014-08-07 12:12:50
阅读次数:
210
编辑/etc/selinux/config,找到这段:# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELin...
分类:
其他好文 时间:
2014-08-04 21:09:17
阅读次数:
296
Description
ACM has bought a new crane (crane -- je?áb) . The crane consists of n segments of various lengths, connected by flexible joints. The end of the i-th segment is joined to the beginning o...
分类:
其他好文 时间:
2014-08-04 17:55:37
阅读次数:
240
Description
There is a number of disjoint vertical line segments in the plane. We say that two segments are horizontally visible if they can be connected by a horizontal line segment that does not ...
分类:
其他好文 时间:
2014-08-03 23:16:26
阅读次数:
412
对于oracle 数据库来说,OGG的抽取进程什么时候到database中获取数据?...
分类:
数据库 时间:
2014-08-03 20:44:35
阅读次数:
427
查询Oracle 数据库中带有lob字段的某一个表的大小...
分类:
数据库 时间:
2014-07-31 20:50:17
阅读次数:
346
DEFERRED_SEGMENT_CREATION参数
该参数意思是当创建对象(如表),初始时没有数据,是否立即创建segment。默认是true。这会导致在按用户导出时,没有segment的对象不会导出。
解决方法
首先执行下面的语句:
Select 'alter table '||table_name||' allocate extent;' from user_tables wh...
分类:
数据库 时间:
2014-07-31 03:05:25
阅读次数:
230
Segment setProblem DescriptionA segment and all segments which are connected with it compose a segment set. The size of a segment set is the number of...
分类:
其他好文 时间:
2014-07-30 00:41:22
阅读次数:
409