Automatic Indexing-Indexes
On 24/12/2023 by Robert CorvinoStarting with version 19c, the Oracle database ships with an automatic indexing feature. This allows you to delegate some index management features to the database. This feature creates, rebuilds, and drops indexes based on the workload of your application.
Indexes that are managed by this feature are known as auto indexes. Here are the main aspects of automatic indexing:
•\ Identifies columns to be indexed that could potentially improve SQLstatement performance. These are known as candidate indexes.
•\ Automatically creates invisible indexes with the SYS_AI prefix.These new indexes are created as invisible so they are not initiallyconsidered for use by the optimizer.
•\ Tests the invisible indexes to ensure they improve the performance ofSQL statements. If performance improves, then the indexes are madevisible. If there is no performance gain, then the indexes are markedas unusable and are later deleted.
•\ Automatically deletes unused indexes.
Note Automatic indexing is currently only available with the Enterprise Edition installed on an Oracle Exadata machine. On systems not running Exadata hardware, if you attempt to execute packages associated with this feature, you will receive an ORA-40216: feature not supported message.
With non-Exadata systems, you can enable this feature by setting the hidden parameter exadata feature_on to TRUE. However, you should only set this parameter with Oracle’s permission as this has licensing ramifications.
Once automatic indexing is enabled, the database manages the creation, rebuilding, and deletion of indexes. After enabling this feature, the DBA’s job would be to
•\ Manage the configuration via setting various parameters
•\ Review the reports generated by the system
With that introduction, let’s next talk about what the DBA needs to do to manage and configure automatic indexing. You’ll be glad to see your job as an Oracle DBA has not been completely eliminated.
Archives
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
Calendar
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |
Leave a Reply