Oracle: 索引 与… where a =b

摘自《Troubleshooting Oracle Performance》

1. 对于B-树索引

   a. 先按索引找到对应的row-id

   b. 再按row-id获取数据行

2. 对于位图索引

   a.先在索引中找到符合条件的索引项

   b.然后把该项转换成ROW-ID

   c.最后按row-id获取数据行

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.