b*tree index的那些事(四):index rebuild
创建测试表和索引 SQL> create table t1 as select * from dba_objects; Table created. SQL> create index i1 on t1(object_id); Index created. SQL> select object_id,object_name from dba_objects where object_name in('T1','I1'); OBJECT_ID OBJECT_NAM --...
b*tree index的那些事(三):唯一索引与非唯一索引结构区别
唯一索引和非唯一索引在结构上有一些区别,下面就来分析这些区别。 结构区别 root block和branch block结构基本一样,引用之前dump的非唯一索引分析。 非唯一索引的branch block Branch block dump =================header address 14018650799571...
b*tree index的那些事(二):索引结构分析
B*tree index结构分析 SQL>?drop?table?lxy purge;Table?dropped.SQL>?create?table?lxy?(a?char(2000));Table&n...
b*tree index的那些事(一):索引简介
B*tree index简介 结构图 从结构图可以看出,B*tree index由root block,branch block和leaf block组成。 特点 1.Based on modified B*Tree algorithm 2.Contain branch blocks and leaf blocks 3.Blocks contain keys and data ...