优秀是一种习惯 , 生活是一种过程 , 放弃是一种智慧 , 缺点是一种恩惠。 我的MSN: qiwang1979@hotmail.com , 希望结交更多喜欢Oracle, Linux,热爱生活的朋友。 欢迎加入Oracle数据库讨论QQ群组 (号码:42235266),希望大家在这里共同进步 !

Index key值(索引列上的值)以及rowid

上一篇 / 下一篇  2007-09-05 00:00:00 / 个人分类:Oracle数据库管理

A Btree index sorts the keys into a binary tree and stores these keys together with the table’s ROWIDs. Btree indexes are the default index type, can be unique or non-unique, and are appropriate for medium- to high-cardinality columns—those having many distinct values.


Btree-Index , 将keys值排序形成二叉树,存储这些keys值及 table ROWID。一般原则是:按照keys值来排序,如果是非唯一的列值,相同的两个key按照rowid来排序,存储。

所有index葉子節點存有信息 key , rowid , rowid是為了select 時候能快速定位block .


TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-10-14  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 29825
  • 日志数: 1427
  • 图片数: 5
  • 书签数: 1
  • 建立时间: 2007-12-10
  • 更新时间: 2008-09-19

RSS订阅

Open Toolbar