[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2791347.2791376acmotherconferencesArticle/Chapter ViewAbstractPublication PagesssdbmConference Proceedingsconference-collections
research-article

RITA: an index-tuning advisor for replicated databases

Published: 29 June 2015 Publication History

Abstract

Given a replicated database, a divergent design tunes the indexes in each replica differently in order to specialize it for a specific subset of the workload. Empirical studies have shown that this specialization brings significant performance gains compared to the common practice of having the same indexes in all replicas. However, reaping the benefits of divergent designs requires the development of new tuning tools for database administrators, and the existing tools unfortunately suffer from severe shortcomings: they assume a fixed number of replicas and a known workload distribution, and ignore the possibility of replica failures and the subsequent effect on load imbalance.
To address these shortcomings, we analyze the theory and practice of tuning the divergent design of a replicated database. We design and implement RITA, a novel divergent-tuning advisor that offers several essential features not found in existing tools: (1) it generates robust divergent designs that allow the system to adapt gracefully to replica failures; (2) it computes designs that spread the load evenly among specialized replicas, both during normal operation and when replicas fail; (3) it monitors the workload online in order to detect changes that require a recomputation of the divergent design; and, (4) it offers suggestions to elastically reconfigure the system (by adding/removing replicas or adding/dropping indexes) to respond to workload changes. The key technical innovation in this paper is the formulation the problem of selecting an optimal design as a Binary Integer Program (BIP). The BIP has a relatively small number of variables, thereby enabling an efficient solution using any off-the-shelf linear-optimization software. Experimental results demonstrate that RITA improves on the performance of the computed designs of existing tools by a factor of up to three, and at the same time has a low runtime overhead that enables fast tuning sessions.

References

[1]
Amazon relational database service (amazon rds), http://aws.amazon.com/rds.
[2]
Oracle cloud, https://cloud.oracle.com.
[3]
P. Bernstein, I. Cseri, N. Dani, N. Ellis, A. Kalhan, G. Kakivaya, D. Lomet, R. Manne, L. Novik, and T. Talius. Adapting Microsoft SQL server for cloud computing. In ICDE, pages 1255--1263, 2011.
[4]
N. Bruno and R. V. Nehme. Configuration-parametric query optimization for physical design tuning. In SIGMOD, pages 941--952, 2008.
[5]
S. Chaudhuri and V. R. Narasayya. AutoAdmin 'What-if' Index Analysis Utility. In SIGMOD, pages 367--378, 1998.
[6]
M. P. Consens, K. Ioannidou, J. LeFevre, and N. Polyzotis. Divergent physical design tuning for replicated databases. SIGMOD, 2012.
[7]
D. Dash, N. Polyzotis, and A. Ailamaki. Cophy: A scalable, portable, and interactive index advisor for large workloads. PVLDB, 4(6):362--372, 2011.
[8]
C. Daskalakis, I. Diakonikolas, and M. Yannakakis. How good is the chord algorithm? In SODA, 2010.
[9]
J. Dittrich, J.-A. Quiané-Ruiz, S. Richter, S. Schuh, A. Jindal, and J. Schad. Only aggressive elephants are fast elephants. Proc. VLDB Endow., 5(11):1591--1602, 2012.
[10]
A. Jindal, J.-A. Quiané-Ruiz, and J. Dittrich. Trojan data layouts: right shoes for a running elephant. In SOCC, pages 1--14, 2011.
[11]
S. Papadomanolakis, D. Dash, and A. Ailamaki. Efficient use of the query optimizer for automated database design. In VLDB, pages 1093--1104, 2007.
[12]
R. Ramamurthy, D. J. DeWitt, and Q. Su. A case for fractured mirrors. The VLDB Journal, 12(2):89--101, 2003.
[13]
K. Schnaitter, N. Polyzotis, and L. Getoor. Index interactions in physical design tuning: Modeling, analysis, and applications. PVLDB, 2(1):1234--1245, 2009.
[14]
J. A. Solworth and C. U. Orji. Distorted mirrors. In IEEE PDIS, pages 10--17, 1991.
[15]
Q. T. Tran, I. Jimenez, R. Wang, N. Polyzotis, and A. Ailamaki. RITA: An index-tuning advisor for replicated databases. CoRR, abs/1304.1411, 2013.
[16]
Transaction Peformance Council. TPC-DS Benchmark.
[17]
R. Wang, Q. T. Tran, I. Jimenez, and N. Polyzotis. INUM+: A leaner, more accurate and more efficient fast what-if optimizer. In SMDB, 2013.
[18]
D. C. Zilio, J. Rao, S. Lightstone, G. Lohman, A. Storm, C. Garcia-Arellano, and S. Fadden. DB2 Design Advisor: Integrated Automatic Physical Database Design. In VLDB, pages 1087--1097, 2004.

Cited By

View all
  • (2024)Automatic Index Tuning: A SurveyIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.342200636:12(7657-7676)Online publication date: Dec-2024
  • (2024)Unlocking the Power of Diversity in Index Tuning for Cluster DatabasesDatabase and Expert Systems Applications10.1007/978-3-031-68312-1_15(185-200)Online publication date: 17-Aug-2024
  • (2022)A Divergent Index Advisor Using Deep Reinforcement LearningDatabase and Expert Systems Applications10.1007/978-3-031-12423-5_11(139-152)Online publication date: 29-Jul-2022
  • Show More Cited By

Index Terms

  1. RITA: an index-tuning advisor for replicated databases

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    SSDBM '15: Proceedings of the 27th International Conference on Scientific and Statistical Database Management
    June 2015
    390 pages
    ISBN:9781450337090
    DOI:10.1145/2791347
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 29 June 2015

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. BIP
    2. divergent design
    3. replicated databases

    Qualifiers

    • Research-article

    Funding Sources

    • Hasler Foundation Programme
    • U.S. NSF
    • European Union Seventh Framework Programme

    Conference

    SSDBM 2015

    Acceptance Rates

    Overall Acceptance Rate 56 of 146 submissions, 38%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)1
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 12 Dec 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Automatic Index Tuning: A SurveyIEEE Transactions on Knowledge and Data Engineering10.1109/TKDE.2024.342200636:12(7657-7676)Online publication date: Dec-2024
    • (2024)Unlocking the Power of Diversity in Index Tuning for Cluster DatabasesDatabase and Expert Systems Applications10.1007/978-3-031-68312-1_15(185-200)Online publication date: 17-Aug-2024
    • (2022)A Divergent Index Advisor Using Deep Reinforcement LearningDatabase and Expert Systems Applications10.1007/978-3-031-12423-5_11(139-152)Online publication date: 29-Jul-2022
    • (2020)DRLindexProceedings of the 24th Symposium on International Database Engineering & Applications10.1145/3410566.3410603(1-8)Online publication date: 12-Aug-2020
    • (2020)Online Index Selection Using Deep Reinforcement Learning for a Cluster Database2020 IEEE 36th International Conference on Data Engineering Workshops (ICDEW)10.1109/ICDEW49219.2020.00035(158-161)Online publication date: Apr-2020
    • (2017)Distorted Replicas: Intelligent Replication Schemes to Boost I/O Throughput in Document-Stores2017 IEEE/ACS 14th International Conference on Computer Systems and Applications (AICCSA)10.1109/AICCSA.2017.34(25-32)Online publication date: Oct-2017

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media