HackerPapers

arXiv:2007.14244cs.DB

Automated Database Indexing using Model-free Reinforcement Learning

Gabriel Paludo Licks, Felipe Meneguzzi

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Configuring databases for efficient querying is a complex task, often carried out by a database administrator. Solving the problem of building indexes that truly optimize database access requires a substantial amount of database and domain knowledge, the lack of which often results in wasted space and memory for irrelevant indexes, possibly jeopardizing database performance for querying and certainly degrading performance for updating. We develop an architecture to solve the problem of automatically indexing a database by using reinforcement learning to optimize queries by indexing data throughout the lifetime of a database. In our experimental evaluation, our architecture shows superior performance compared to related work on reinforcement learning and genetic algorithms, maintaining near-optimal index configurations and efficiently scaling to large databases.

arXiv comments
8 pages, 5 figures (some have subfigures), 1 table
Journal reference
DOI
doi:10.1007/s10489-020-01674-8
Subjects
cs.DBDatabases cs.AIArtificial Intelligence

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Sep 2021 to Sep 2021.

Comments linking this paper, per year.

Discussed in comments1 thread

    • > Creating the right indexes is the same as creating the right tables and columns in your data model: It depends on the business purpose and usage of the data. Right, so the way this works is that the database collects instrumentation data and, over time, automatically applies…

      CharlesWView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.