{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,15]],"date-time":"2026-09-15T01:20:31Z","timestamp":1789435231608,"version":"build-2803163510"},"reference-count":55,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2025,8]]},"abstract":"<jats:p>Indexes are one of the important access structures that help improve database performance. This paper provides a methodology to automate the entire lifecycle of index creation and management with continuous index tuning based on changing data and workload. We present novel ideas that are critical to ensuring automatic indexing seamlessly works in a production database. Our methodology avoids using an expensive clone; yet offers non-intrusive index operations (candidate isolation and evaluation with Oracle resource manager ensuring no visible impact to the user workload), and upon deployment of auto indexes ensures non-disruptive plan invalidations and timely mitigation of performance regressions. The proposed approach is unique in that it is incremental and iterative, continually creating beneficial indexes and dropping unused ones as the workload evolves. The approach even supports indexes on expressions. It performs careful validation - including computing overhead of index maintenance incurred during DML while evaluating potential benefit - and provides accountability for its actions. Performance regressions are effectively managed using Oracle's powerful SQL Plan Management (SPM) framework. For example, a new automatic index isn't dropped in response to a single statement regressing due to it; SPM instead ensures such regressing statements revert to well-performing plans even in the presence of new indexes that continue to benefit other statements. We also share results of comprehensively evaluating various automatic indexing aspects in publicly available and Oracle customer workloads. Our experiments show benefit with automatic indexing, especially in customer workload, with a 15% improvement in performance and 60% space reclamation potential. This automatic indexing feature is available since Oracle 19c and in Oracle Autonomous Database.<\/jats:p>","DOI":"10.14778\/3750601.3750616","type":"journal-article","created":{"date-parts":[[2025,9,16]],"date-time":"2025-09-16T13:38:05Z","timestamp":1758029885000},"page":"4924-4937","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Automatic Indexing in Oracle"],"prefix":"10.14778","volume":"18","author":[{"given":"Sunil","family":"Chakkappen","sequence":"first","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Shreya","family":"Kunjibettu","sequence":"additional","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Daniel","family":"McGreer","sequence":"additional","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Masoomeh Javidi","family":"Kishi","sequence":"additional","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hong","family":"Su","sequence":"additional","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohamed","family":"Ziauddin","sequence":"additional","affiliation":[{"name":"Oracle America Inc., Redwood City, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Mohamed","family":"Zait","sequence":"additional","affiliation":[{"name":"Databricks Inc., San Francisco, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Zhan","family":"Li","sequence":"additional","affiliation":[{"name":"Meta Platforms Inc., Menlo Park, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yuying","family":"Zhang","sequence":"additional","affiliation":[{"name":"Google Inc., Mountain View, CA, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,9,16]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Oracle. Retrieved","author":"Bayliss Nigel","year":"2020","unstructured":"Nigel Bayliss. 2020. What is the Automatic SQL Tuning Set? Oracle. Retrieved Jan 10, 2024 from https:\/\/blogs.oracle.com\/optimizer\/post\/what-is-the-automatic-sql-tuning-set"},{"key":"e_1_2_1_2_1","volume-title":"Oracle. Retrieved","author":"Nanda Arup","year":"2021","unstructured":"Arup Nanda. 2021. Automatic indexing with Oracle Database. Oracle. Retrieved Jan 10, 2024 from https:\/\/www.oracle.com\/news\/connect\/oracle-database-automatic-indexing.html"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299869.3314035"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/42201.42205"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF00976642"},{"key":"e_1_2_1_6_1","volume-title":"Narasayya","author":"Chaudhuri Surajit","year":"1997","unstructured":"Surajit Chaudhuri and Vivek R. Narasayya. 1997. An Efficient Cost-Driven Index Selection Tool for Microsoft SQL Server. In VLDB. Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 146\u2013155. http:\/\/dl.acm.org\/citation.cfm?id=645923.673646"},{"key":"e_1_2_1_7_1","doi-asserted-by":"crossref","unstructured":"Beno\u00eet Dageville Dinesh Das Karl Dias Khaled Yagoub Mohamed Zait and Mohamed Ziauddin. 2004. Automatic SQL Tuning in Oracle 10g. In VLDB. 1098\u20131109. http:\/\/www.vldb.org\/conf\/2004\/IND4P2.PDF","DOI":"10.1016\/B978-012088469-8\/50096-6"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","unstructured":"Gary Valentin Michael Zuliani Daniel C. Zilio Guy M. Lohman and Alan Skelley. 2000. DB2 Advisor: An Optimizer Smart Enough to Recommend Its Own Indexes. In ICDE. 101\u2013110. 10.1109\/ICDE.2000.839397","DOI":"10.1109\/ICDE.2000.839397"},{"key":"e_1_2_1_9_1","volume-title":"Database Tuning Advisor for Microsoft SQL Server","author":"Agrawal Sanjay","year":"2005","unstructured":"Sanjay Agrawal, Surajit Chaudhuri, Lubor Koll\u00e1r, Arunprasad P. Marathe, Vivek R. Narasayya, and Manoj Syamala. 2004. Database Tuning Advisor for Microsoft SQL Server 2005. In VLDB. 1110\u20131121."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","unstructured":"Adam Dziedzic Jingjing Wang Sudipto Das Bolin Ding Vivek R. Narasayya and Manoj Syamala. 2018. Columnstore and B+ tree - Are Hybrid Physical Designs Important? In SIGMOD. 177\u2013190. 10.1145\/3183713.3190660","DOI":"10.1145\/3183713.3190660"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","unstructured":"Nicolas Bruno and Surajit Chaudhuri. 2007. An Online Approach to Physical Design Tuning. In ICDE. 826\u2013835. 10.1109\/ICDE.2007.367928","DOI":"10.1109\/ICDE.2007.367928"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","unstructured":"Karl Schnaitter Serge Abiteboul Tova Milo and Neoklis Polyzotis. 2006. COLT: continuous on-line tuning. In SIGMOD. 793\u2013795. 10.1145\/1142473.1142592","DOI":"10.1145\/1142473.1142592"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.14778\/2140436.2140444"},{"key":"e_1_2_1_14_1","volume-title":"Ziqi Wang, Yingjun Wu, Ran Xian, and Tieying Zhang.","author":"Pavlo Andrew","year":"2017","unstructured":"Andrew Pavlo, Gustavo Angulo, Joy Arulraj, Haibin Lin, Jiexi Lin, Lin Ma, Prashanth Menon, Todd C. Mowry, Matthew Perron, Ian Quah, Siddharth Santurkar, Anthony Tomasic, Skye Toor, Dana Van Aken, Ziqi Wang, Yingjun Wu, Ran Xian, and Tieying Zhang. 2017. Self-Driving Database Management Systems. In CIDR. https:\/\/www.cidrdb.org\/cidr2017\/papers\/p42-pavlo-cidr17.pdf"},{"key":"e_1_2_1_15_1","volume-title":"Automated Physical Database Design and Tuning","author":"Bruno N.","unstructured":"N. Bruno. 2011. Automated Physical Database Design and Tuning. CRC Press, Inc., Boca Raton, FL, USA, 1st edition.","edition":"1"},{"key":"e_1_2_1_16_1","first-page":"143","article-title":"Automatic Index Selection for Large-Scale Datalog Computation","volume":"12","author":"Subotic Pavle","year":"2018","unstructured":"Pavle Subotic, Herbert Jordan, Lijun Chang, Alan Fekete, and Bernhard Scholz. 2018. Automatic Index Selection for Large-Scale Datalog Computation. PVLDB 12, 2 (2018), 143. https:\/\/www.vldb.org\/pvldb\/vol12\/p141-subotic.pdf","journal-title":"PVLDB"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/320289.320296"},{"key":"e_1_2_1_18_1","doi-asserted-by":"crossref","unstructured":"M. Ip L. Saxton and V. Raghavan. 1983. On the selection of an optimal set of indexes. IEEE Trans. on Software Engineering SE-9(2):135\u2013143.","DOI":"10.1109\/TSE.1983.236458"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1016\/0306-4379(75)90003-4"},{"key":"e_1_2_1_20_1","first-page":"290","volume-title":"Proc. of EvoWorkshops","author":"Kratica J.","year":"2003","unstructured":"J. Kratica, I. Ljubic, and D. To\u0161ic. 2003. A genetic algorithm for the index selection problem. In Proc. of EvoWorkshops, pages 280\u2013290, Berlin, Heidelberg, 2003. Springer-Verlag."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/984523.984530"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/3358701.3358705"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.5555\/645926.671701"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/3565838.3565848"},{"key":"e_1_2_1_25_1","unstructured":"A. Sharma F. M. Schuhknecht and J. Dittrich. 2018. The Case for Automatic Database Administration using Deep Reinforcement Learning. arXiv preprint arXiv:1801.05643"},{"key":"e_1_2_1_26_1","first-page":"219","volume-title":"Index Selection for OLAP. In Data Engineering, 1997. Proceedings. 13th International Conference on","author":"Gupta H.","unstructured":"H. Gupta, V. Harinarayan, A. Rajaraman, and J. D. Ullman. 1997. Index Selection for OLAP. In Data Engineering, 1997. Proceedings. 13th International Conference on, pages 208\u2013219. IEEE."},{"key":"e_1_2_1_27_1","first-page":"8","volume-title":"CIDR","volume":"3","author":"Idreos S.","year":"2007","unstructured":"S. Idreos, M. L. Kersten, S. Manegold, et al. 2007. Database Cracking. In CIDR, volume 3, pages 1\u20138."},{"key":"e_1_2_1_28_1","first-page":"381","volume-title":"Proceedings of the 13th International Conference on Extending Database Technology","author":"Graefe G.","unstructured":"G. Graefe and H. Kuno. 2010. Self-selecting, self-tuning, incrementally optimized indexes. In Proceedings of the 13th International Conference on Extending Database Technology, pages 371\u2013381. ACM."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732228.2732229"},{"key":"e_1_2_1_30_1","doi-asserted-by":"crossref","unstructured":"F. M. Schuhknecht J. Dittrich and L. Linden. 2018. Adaptive adaptive indexing. ICDE.","DOI":"10.1109\/ICDE.2018.00066"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/2168651.2168652"},{"issue":"9","key":"e_1_2_1_32_1","first-page":"586","article-title":"Merging What's Cracked","volume":"4","author":"Idreos S.","year":"2011","unstructured":"S. Idreos, S. Manegold, H. Kuno, and G. Graefe. 2011. Merging What's Cracked, Cracking What's Merged: Adaptive Indexing in Main-Memory Column-Stores. PVLDB, 4(9):586\u2013597. https:\/\/www.vldb.org\/pvldb\/vol4\/p586-idreos.pdf","journal-title":"Cracking What's Merged: Adaptive Indexing in Main-Memory Column-Stores. PVLDB"},{"key":"e_1_2_1_33_1","first-page":"308","volume-title":"Self-organizing Tuple Reconstruction in Column-stores. SIGMOD","author":"Idreos S.","unstructured":"S. Idreos, M. L. Kersten, and S. Manegold. 2009. Self-organizing Tuple Reconstruction in Column-stores. SIGMOD, pages 297\u2013308."},{"key":"e_1_2_1_34_1","first-page":"1166","volume-title":"Holistic Indexing in Main-memory Column-stores. In Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data","author":"Petraki E.","unstructured":"E. Petraki, S. Idreos, and S. Manegold. 2015. Holistic Indexing in Main-memory Column-stores. In Proceedings of the 2015 ACM SIGMOD International Conference on Management of Data, pages 1153\u20131166. ACM."},{"key":"e_1_2_1_35_1","volume-title":"Database Cracking: Fancy Scan, not Poor Man's Sort! In Proceedings of the Tenth International Workshop on Data Management on New Hardware, page 4. ACM.","author":"Pirk H.","year":"2014","unstructured":"H. Pirk, E. Petraki, S. Idreos, S. Manegold, and M. Kersten. 2014. Database Cracking: Fancy Scan, not Poor Man's Sort! In Proceedings of the Tenth International Workshop on Data Management on New Hardware, page 4. ACM."},{"key":"e_1_2_1_36_1","first-page":"461","volume-title":"EDBT","author":"Holanda P.","year":"2017","unstructured":"P. Holanda and E. C. de Almeida. 2017. SPST-Index: A Self-Pruning Splay Tree Index for Caching Database Cracking. In EDBT, pages 458\u2013461."},{"key":"e_1_2_1_37_1","first-page":"424","volume-title":"Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data, SIGMOD '07","author":"Idreos S.","unstructured":"S. Idreos, M. L. Kersten, and S. Manegold. 2007. Updating a Cracked Database. In Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data, SIGMOD '07, pages 413\u2013424, New York, NY, USA."},{"key":"e_1_2_1_38_1","first-page":"10","volume-title":"Proceedings of the 14th International Workshop on Data Management on New Hardware, DAMON '18","author":"Haffner I.","unstructured":"I. Haffner, F. M. Schuhknecht, and J. Dittrich. 2018. An Analysis and Comparison of Database Cracking Kernels. In Proceedings of the 14th International Workshop on Data Management on New Hardware, DAMON '18, pages 10:1\u201310:10, New York, NY, USA. ACM."},{"key":"e_1_2_1_39_1","first-page":"488","volume-title":"EDBT","author":"Teixeira E.","unstructured":"E. Teixeira, P. Amora, and J. C. Machado. 2018. Metisidx-from adaptive to predictive data indexing. In EDBT, pages 485\u2013488."},{"key":"e_1_2_1_40_1","volume-title":"Proceedings International Conference on Management of Data, SIGMOD Amsterdam, The Netherlands","author":"Ding Bailu","year":"2019","unstructured":"Bailu Ding, Sudipto Das, Ryan Marcus, Wentao Wu, Surajit Chaudhuri, and Vivek R. Narasayya. 2019. AI Meets AI: Leveraging Query Executions to Improve Index Recommendations. In Proceedings International Conference on Management of Data, SIGMOD Amsterdam, The Netherlands, June 30 - July 5, 2019. ACM, 1241\u20131258."},{"key":"e_1_2_1_41_1","volume-title":"Anytime Algorithm of DatabaseTuning Advisor for Microsoft SQL Server. (June","author":"Chaudhuri Surajit","year":"2020","unstructured":"Surajit Chaudhuri and Vivek Narasayya. 2020. Anytime Algorithm of DatabaseTuning Advisor for Microsoft SQL Server. (June 2020). https:\/\/www.microsoft.com\/en-us\/research\/publication\/anytime-algorithm-of-database-tuning-advisor-for-microsoft-sql-server\/"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/2850583.2850594"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/276305.276337"},{"key":"e_1_2_1_44_1","unstructured":"Nigel Bayliss. 2019. SQL Plan Management in Oracle Database 19c. Oracle White Paper. https:\/\/www.oracle.com\/technetwork\/database\/bi-datawarehousing\/twp-sql-plan-mgmt-19c-5324207.pdf"},{"key":"e_1_2_1_45_1","volume-title":"Oracle. Retrieved","year":"2024","unstructured":"Oracle. 2024. Overview of SQL Plan Management. Oracle. Retrieved March 13, 2024 from https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/23\/tgsql\/overview-of-sql-plan-management.html#GUID-F1C45056-F998-43E5-B362-83F88DA49E58"},{"key":"e_1_2_1_46_1","volume-title":"Oracle. Retrieved","year":"2024","unstructured":"Oracle. 2024. Autonomous Database. Oracle. Retrieved March 13, 2024 from https:\/\/www.oracle.com\/autonomous-database\/"},{"key":"e_1_2_1_47_1","volume-title":"Oracle. Retrieved","year":"2024","unstructured":"NetSuite. 2024. The #1 Cloud ERP. Oracle. Retrieved March 15, 2024 from https:\/\/www.netsuite.com\/"},{"key":"e_1_2_1_48_1","volume-title":"Swingbench. Retrieved","year":"2024","unstructured":"Swingbench. 2024. Swingbench... Swingbench. Retrieved March 13, 2024 from https:\/\/www.dominicgiles.com\/swingbench.html"},{"key":"e_1_2_1_49_1","volume-title":"Oracle. Retrieved","year":"2024","unstructured":"Oracle. 2024. Introduction to SQL Performance Analyzer. Oracle. Retrieved March 14, 2024 from https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/19\/ratug\/introduction-to-sql-performance-analyzer.html#GUID-860FC707-B281-4D81-8B43-1E3857194A72"},{"key":"e_1_2_1_50_1","volume-title":"Oracle. Retrieved","year":"2024","unstructured":"Oracle. 2024. Managing Resources with Oracle Database Resource Manager. Oracle. Retrieved March 18, 2024 from https:\/\/docs.oracle.com\/en\/database\/oracle\/oracle-database\/23\/admin\/managing-resources-with-oracle-database-resource-manager.html#GUID-2BEF5482-CF97-4A85-BD90-9195E41E74EF"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/2983323.2983353"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE55515.2023.00257"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.14778\/3675034.3675035"},{"key":"e_1_2_1_54_1","volume-title":"Microsoft. Retrieved","year":"2022","unstructured":"Microsoft. 2022. Indexes on Computed Columns. Microsoft. Retrieved November 20, 2024 from https:\/\/learn.microsoft.com\/en-us\/sql\/relational-databases\/indexes\/indexes-on-computed-columns?view=sql-server-ver16"},{"key":"e_1_2_1_55_1","volume-title":"Google. Retrieved","author":"Idicula Sam","year":"2023","unstructured":"Sam Idicula and Haoyu Huang. 2023. Overview of the AlloyDB Index Advisor feature and how to use it. Google. Retrieved November 22, 2024 from https:\/\/cloud.google.com\/blog\/products\/databases\/how-the-alloydb-index-advisor-helps-make-smart-indexes"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3750601.3750616","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,9,16]],"date-time":"2025-09-16T13:41:02Z","timestamp":1758030062000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3750601.3750616"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,8]]},"references-count":55,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2025,8]]}},"alternative-id":["10.14778\/3750601.3750616"],"URL":"https:\/\/doi.org\/10.14778\/3750601.3750616","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2025,8]]},"assertion":[{"value":"2025-09-16","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}