b*tree index的那些事(一):索引简介

本文介绍了B*树索引的基本概念,包括其组成的root block、branch block和leaf block等结构,并阐述了B*树索引的特点,如基于修改后的B*树算法、所有叶节点在同一深度等。同时,文章还列举了不同类型的索引及其引入版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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
  • 4.Keys maintained in sorted order within blocks
  • 5.All leaf blocks are at the same depth
  • 6.All blocks are on average 75% full



类型

Type

Introduced

Bitmap Indexes

7.3.2

Index Organised Table

8.0

Partitioned Indexes

8.0

Reverse Key

8.0

LOB Index

8.0

Compressed

8.1.5

Function-Based Indexes

8.1.5

Descending

8.1.5

Virtual Indexes

8.1.5

Bitmap Join Indexes

9.0.1



限制

  1. 1.Maximum number of B*tree levels is 24
  2. 2.Maximum number of columns is 16 in 7.3 and below; 32 in 8.0 and above
  3. 3.Maximum key lengths vary with release and block size

Block Size

8.1.7

9.0.1

9.2.0

2048

758

1526

1478

4096

1578

3166

3118

8192

3218

6446

6398

16384

6498

13006

12958





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

转载于:http://blog.itpub.net/31347199/viewspace-2108625/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值