oracle 效能最佳化操作十六: 使用分區索引,oracle效能最佳化

來源:互聯網
上載者:User

oracle 效能最佳化操作十六: 使用分區索引,oracle效能最佳化

在用分析命令對分區索引進行分析時,每一個分區的資料值的範圍資訊會放入Oracle的資料字典中。

Oracle可以利用這個資訊來提取出那些只與SQL查詢相關的資料分區。

例如,假設你已經定義了一個分區索引,並且某個SQL語句需要在一個索引分割區中進行一次索引掃描。

Oracle會僅僅訪問這個索引分割區,而且會在這個分區上調用一個此索引範圍的快速全掃描。

因為不需要訪問整個索引,所以提高了查詢的速度。

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.