{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,15]],"date-time":"2026-09-15T01:04:50Z","timestamp":1789434290221,"version":"build-2803163510"},"reference-count":25,"publisher":"Association for Computing Machinery (ACM)","issue":"12","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2019,8]]},"abstract":"<jats:p>Query optimization is a hallmark of database systems. When an SQL query runs more expensively than is viable or warranted, determination of the performance issues is usually performed manually in consultation with experts through the analysis of query's execution plan (QEP). However, this is an excessively time consuming, human error-prone, and costly process. GALO is a novel system that automates this process. The tool automatically learns recurring problem patterns in query plans over workloads in an offline learning phase, to build a knowledge base of plan-rewrite remedies. It then uses the knowledge base online to re-optimize queries often quite drastically.<\/jats:p>\n                  <jats:p>\n                    GALO's knowledge base is built on RDF and SPARQL, W3C graph database standards, which is well suited for manipulating and querying over SQL query plans, which are graphs themselves. GALO acts as a third-tier of re-optimization, after query rewrite and cost-based optimization, as a\n                    <jats:italic>query plan rewrite<\/jats:italic>\n                    . For generality, the context of knowledge base problem patterns, including table and column names, is abstracted with canonical symbol labels. Since the knowledge base is not tied to the context of supplied QEPs, table and column names are matched automatically during the re-optimization phase. Thus, problem patterns learned over a particular query workload can be applied in other query workloads. GALO's knowledge base is also an invaluable tool for database experts to debug query performance issues by tracking to known issues and solutions as well as refining the optimizer with new tuned techniques by the development team. We demonstrate an experimental study of the effectiveness of our techniques over synthetic TPC-DS and real IBM client query workloads.\n                  <\/jats:p>","DOI":"10.14778\/3352063.3352120","type":"journal-article","created":{"date-parts":[[2019,9,18]],"date-time":"2019-09-18T14:36:11Z","timestamp":1568817371000},"page":"2010-2021","source":"Crossref","is-referenced-by-count":15,"title":["Guided automated learning for query workload re-optimization"],"prefix":"10.14778","volume":"12","author":[{"given":"Guilherme","family":"Damasio","sequence":"first","affiliation":[{"name":"Ontario Tech University, Canada and IBM Centre for Advanced Studies, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vincent","family":"Corvinelli","sequence":"additional","affiliation":[{"name":"IBM Ltd, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Parke","family":"Godfrey","sequence":"additional","affiliation":[{"name":"York University, Canada and IBM Centre for Advanced Studies, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Piotr","family":"Mierzejewski","sequence":"additional","affiliation":[{"name":"IBM Ltd, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Alex","family":"Mihaylov","sequence":"additional","affiliation":[{"name":"IBM Centre for Advanced Studies, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Jaroslaw","family":"Szlichta","sequence":"additional","affiliation":[{"name":"IBM Centre for Advanced Studies, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Calisto","family":"Zuzarte","sequence":"additional","affiliation":[{"name":"IBM Ltd, Canada"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2019,8]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"https:\/\/www.ibm.com\/support\/knowledgecenter","author":"IBM","year":"2018","unstructured":"IBM infosphere optim query workload tuner. https:\/\/www.ibm.com\/support\/knowledgecenter , 2018 . IBM infosphere optim query workload tuner. https:\/\/www.ibm.com\/support\/knowledgecenter, 2018."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066292"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.14778\/2735496.2735499"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559976"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2009.68"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/320248.320249"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5555\/1316689.1316784"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.14778\/3352063.3352064"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2016.7498338"},{"key":"e_1_2_1_10_1","first-page":"515","volume-title":"EDBT","author":"Damasio G.","year":"2016","unstructured":"G. Damasio , P. Mierzejewski , J. Szlichta , and C. Zuzarte . Query performance problem determination with knowledge base in semantic web system optimatch . In EDBT , pages 515 -- 526 , 2016 . G. Damasio, P. Mierzejewski, J. Szlichta, and C. Zuzarte. Query performance problem determination with knowledge base in semantic web system optimatch. In EDBT, pages 515--526, 2016."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687556"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.5555\/1786474.1786520"},{"key":"e_1_2_1_13_1","first-page":"481","volume-title":"VLDB","author":"Guravannavar R.","year":"2005","unstructured":"R. Guravannavar , H. S. Ramanujam , and S. Sudarshan . Optimizing nested queries with parameter sort orders . In VLDB , pages 481 -- 492 , 2005 . R. Guravannavar, H. S. Ramanujam, and S. Sudarshan. Optimizing nested queries with parameter sort orders. In VLDB, pages 481--492, 2005."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1093382.1093387"},{"key":"e_1_2_1_15_1","first-page":"53","volume-title":"CASCON","author":"Liu H.","year":"2015","unstructured":"H. Liu , M. Xu , Z. Yu , V. Corvinelli , and C. Zuzarte . Cardinality estimation using neural networks . In CASCON , pages 53 -- 59 , 2015 . H. Liu, M. Xu, Z. Yu, V. Corvinelli, and C. Zuzarte. Cardinality estimation using neural networks. In CASCON, pages 53--59, 2015."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/3211954.3211957"},{"key":"e_1_2_1_17_1","first-page":"23","volume-title":"ICSW","author":"McBride B.","year":"2001","unstructured":"B. McBride . Jena : Implementing the rdf model and syntax specification . In ICSW , pages 23 -- 28 , 2001 . B. McBride. Jena: Implementing the rdf model and syntax specification. In ICSW, pages 23--28, 2001."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/11758501_25"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/3209889.3209890"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/582095.582099"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/235968.233320"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/3067421.3067422"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.14778\/1454159.1454175"},{"key":"e_1_2_1_24_1","first-page":"1087","volume-title":"VLDB","author":"Zilio D. C.","year":"2004","unstructured":"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 . 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."},{"key":"e_1_2_1_25_1","first-page":"180","volume-title":"ICAC","author":"Zilio D. C.","year":"2004","unstructured":"D. C. Zilio , C. Zuzarte , S. Lightstone , W. Ma , G. M. Lohman , R. J. Cochrane , H. Pirahesh , L. Colby , J. Gryz , E. Alton , and G. Valentin . Recommending materialized views and indexes with the ibm db2 design advisor . In ICAC , pages 180 -- 187 , 2004 . D. C. Zilio, C. Zuzarte, S. Lightstone, W. Ma, G. M. Lohman, R. J. Cochrane, H. Pirahesh, L. Colby, J. Gryz, E. Alton, and G. Valentin. Recommending materialized views and indexes with the ibm db2 design advisor. In ICAC, pages 180--187, 2004."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3352063.3352120","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T05:43:25Z","timestamp":1672206205000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3352063.3352120"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,8]]},"references-count":25,"journal-issue":{"issue":"12","published-print":{"date-parts":[[2019,8]]}},"alternative-id":["10.14778\/3352063.3352120"],"URL":"https:\/\/doi.org\/10.14778\/3352063.3352120","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2019,8]]}}}