{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,4,10]],"date-time":"2025-04-10T15:46:48Z","timestamp":1744300008528},"reference-count":34,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2009,8]]},"abstract":"<jats:p>\n            In a typical commercial multi-core processor, the last level cache (LLC) is shared by two or more cores. Existing studies have shown that the shared LLC is beneficial to concurrent query processes with commonly shared data sets. However, the shared LLC can also be a performance bottleneck to concurrent queries, each of which has private data structures, such as a hash table for the widely used hash join operator, causing serious cache conflicts. We show that cache conflicts on multi-core processors can significantly degrade overall database performance. In this paper, we propose a hybrid system method called\n            <jats:italic>MCC-DB<\/jats:italic>\n            for accelerating executions of warehouse-style queries, which relies on the DBMS knowledge of data access patterns to minimize LLC conflicts in multi-core systems through an enhanced OS facility of cache partitioning. MCC-DB consists of three components: (1) a\n            <jats:italic>cacheaware query optimizer<\/jats:italic>\n            carefully selects query plans in order to balance the numbers of cache-sensitive and cache-insensitive plans; (2) a\n            <jats:italic>query execution scheduler<\/jats:italic>\n            makes decisions to co-run queries with an objective of minimizing LLC conflicts; and (3) an\n            <jats:italic>enhanced OS kernel facility<\/jats:italic>\n            partitions the shared LLC according to each query's cache capacity need and locality strength. We have implemented MCC-DB by patching the three components in PostgreSQL and Linux kernel. Our intensive measurements on an Intel multi-core system with warehouse-style queries show that MCC-DB can reduce query execution times by up to 33%.\n          <\/jats:p>","DOI":"10.14778\/1687627.1687670","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"373-384","source":"Crossref","is-referenced-by-count":30,"title":["MCC-DB"],"prefix":"10.14778","volume":"2","author":[{"given":"Rubao","family":"Lee","sequence":"first","affiliation":[{"name":"Chinese Academy of Sciences, Beijing, China and The Ohio State University, Columbus, OH"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiaoning","family":"Ding","sequence":"additional","affiliation":[{"name":"The Ohio State University, Columbus, OH"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Feng","family":"Chen","sequence":"additional","affiliation":[{"name":"The Ohio State University, Columbus, OH"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Qingda","family":"Lu","sequence":"additional","affiliation":[{"name":"The Ohio State University, Columbus, OH"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Xiaodong","family":"Zhang","sequence":"additional","affiliation":[{"name":"The Ohio State University, Columbus, OH"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2009,8]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1109\/MSPEC.2008.4505312"},{"key":"e_1_2_1_2_1","first-page":"266","volume-title":"VLDB","author":"Ailamaki A.","year":"1999","unstructured":"A. Ailamaki , D. J. DeWitt , M. D. Hill , and D. A. Wood . DBMSs on a modern processor: Where does time go ? In VLDB , pages 266 -- 277 , 1999 . A. Ailamaki, D. J. DeWitt, M. D. Hill, and D. A. Wood. DBMSs on a modern processor: Where does time go? In VLDB, pages 266--277, 1999."},{"key":"e_1_2_1_3_1","first-page":"54","volume-title":"VLDB","author":"Boncz P. A.","year":"1999","unstructured":"P. A. Boncz , S. Manegold , and M. L. Kersten . Database architecture optimized for the new bottleneck: Memory access . In VLDB , pages 54 -- 65 , 1999 . P. A. Boncz, S. Manegold, and M. L. Kersten. Database architecture optimized for the new bottleneck: Memory access. In VLDB, pages 54--65, 1999."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007659"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/1272743.1272747"},{"key":"e_1_2_1_6_1","first-page":"127","volume-title":"VLDB","author":"Chou H.-T.","year":"1985","unstructured":"H.-T. Chou and D. J. DeWitt . An evaluation of buffer management strategies for relational database systems . In VLDB , pages 127 -- 141 , 1985 . H.-T. Chou and D. J. DeWitt. An evaluation of buffer management strategies for relational database systems. In VLDB, pages 127--141, 1985."},{"key":"e_1_2_1_7_1","first-page":"339","volume-title":"VLDB","author":"Cieslewicz J.","year":"2007","unstructured":"J. Cieslewicz and K. A. Ross . Adaptive aggregation on chip multiprocessors . In VLDB , pages 339 -- 350 , 2007 . J. Cieslewicz and K. A. Ross. Adaptive aggregation on chip multiprocessors. In VLDB, pages 339--350, 2007."},{"key":"e_1_2_1_8_1","volume-title":"USENIX","author":"Fedorova A.","year":"2005","unstructured":"A. Fedorova , M. I. Seltzer , C. Small , and D. Nussbaum . Performance of multithreaded chip multiprocessors and implications for operating system design . In USENIX , 2005 . A. Fedorova, M. I. Seltzer, C. Small, and D. Nussbaum. Performance of multithreaded chip multiprocessors and implications for operating system design. In USENIX, 2005."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1109\/PACT.2007.40"},{"key":"e_1_2_1_10_1","first-page":"406","volume-title":"ICDE","author":"Graefe G.","year":"1994","unstructured":"G. Graefe . Sort-merge-join : An idea whose time has(h) passed ? In ICDE , pages 406 -- 417 , 1994 . G. Graefe. Sort-merge-join: An idea whose time has(h) passed? In ICDE, pages 406--417, 1994."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/781027.781063"},{"key":"e_1_2_1_12_1","first-page":"79","volume-title":"CIDR","author":"Hardavellas N.","year":"2007","unstructured":"N. Hardavellas , I. Pandis , R. Johnson , N. Mancheril , A. Ailamaki , and B. Falsafi . Database servers on chip multiprocessors: Limitations and opportunities . In CIDR , pages 79 -- 87 , 2007 . N. Hardavellas, I. Pandis, R. Johnson, N. Mancheril, A. Ailamaki, and B. Falsafi. Database servers on chip multiprocessors: Limitations and opportunities. In CIDR, pages 79--87, 2007."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/1366102.1366105"},{"key":"e_1_2_1_14_1","first-page":"323","volume-title":"USENIX","author":"Jiang S.","year":"2005","unstructured":"S. Jiang , F. Chen , and X. Zhang . CLOCK-Pro: An effective improvement of the clock replacement . In USENIX , pages 323 -- 336 , 2005 . S. Jiang, F. Chen, and X. Zhang. CLOCK-Pro: An effective improvement of the clock replacement. In USENIX, pages 323--336, 2005."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/511334.511340"},{"key":"e_1_2_1_16_1","first-page":"439","volume-title":"VLDB","author":"Johnson T.","year":"1994","unstructured":"T. Johnson and D. Shasha . 2Q: A low overhead high performance buffer management replacement algorithm . In VLDB , pages 439 -- 450 , 1994 . T. Johnson and D. Shasha. 2Q: A low overhead high performance buffer management replacement algorithm. In VLDB, pages 439--450, 1994."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276315"},{"key":"e_1_2_1_18_1","first-page":"367","volume-title":"HPCA","author":"Lin J.","year":"2008","unstructured":"J. Lin , Q. Lu , X. Ding , Z. Zhang , X. Zhang , and P. Sadayappan . Gaining insights into multicore cache partitioning: Bridging the gap between simulation and real systems . In HPCA , pages 367 -- 378 , 2008 . J. Lin, Q. Lu, X. Ding, Z. Zhang, X. Zhang, and P. Sadayappan. Gaining insights into multicore cache partitioning: Bridging the gap between simulation and real systems. In HPCA, pages 367--378, 2008."},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/279358.279367"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/PACT.2009.35"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007658"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.5555\/1287369.1287387"},{"key":"e_1_2_1_23_1","volume-title":"The star schema benchmark (SSB)","author":"O'Neil P.","year":"2007","unstructured":"P. O'Neil , B. O'Neil , and X. Chen . The star schema benchmark (SSB) . 2007 . http:\/\/www.cs.umb.edu\/poneil\/StarSchemaB.PDF. P. O'Neil, B. O'Neil, and X. Chen. The star schema benchmark (SSB). 2007. http:\/\/www.cs.umb.edu\/poneil\/StarSchemaB.PDF."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453924"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2006.49"},{"key":"e_1_2_1_26_1","first-page":"250","volume-title":"CIDR","author":"Ramamurthy R.","year":"2005","unstructured":"R. Ramamurthy and D. J. DeWitt . Buffer-pool aware query optimization . In CIDR , pages 250 -- 261 , 2005 . R. Ramamurthy and D. J. DeWitt. Buffer-pool aware query optimization. In CIDR, pages 250--261, 2005."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335449"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/MICRO.2008.4771796"},{"key":"e_1_2_1_29_1","first-page":"173","volume-title":"CIDR","author":"Stonebraker M.","year":"2007","unstructured":"M. Stonebraker , C. Bear , U. \u00c7etintemel , M. Cherniack , T. Ge , N. Hachem , S. Harizopoulos , J. Lifter , J. Rogers , and S. B. Zdonik . One size fits all? part 2: Benchmarking studies . In CIDR , pages 173 -- 184 , 2007 . M. Stonebraker, C. Bear, U. \u00c7etintemel, M. Cherniack, T. Ge, N. Hachem, S. Harizopoulos, J. Lifter, J. Rogers, and S. B. Zdonik. One size fits all? part 2: Benchmarking studies. In CIDR, pages 173--184, 2007."},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/325164.325161"},{"key":"e_1_2_1_31_1","volume-title":"FAST","author":"Yadgar G.","year":"2007","unstructured":"G. Yadgar , M. Factor , and A. Schuster . Karma: Know-it-all replacement for a multilevel cache . In FAST , 2007 . G. Yadgar, M. Factor, and A. Schuster. Karma: Know-it-all replacement for a multilevel cache. In FAST, 2007."},{"key":"e_1_2_1_32_1","volume-title":"VLDB","author":"Zhou J.","year":"2005","unstructured":"J. Zhou , J. Cieslewicz , K. A. Ross , and M. Shah . Improving database performance on simultaneous multithreading processors . In VLDB , 2005 . J. Zhou, J. Cieslewicz, K. A. Ross, and M. Shah. Improving database performance on simultaneous multithreading processors. In VLDB, 2005."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.5555\/1315451.1315487"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007592"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1687627.1687670","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:27:42Z","timestamp":1672226862000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1687627.1687670"}},"subtitle":["minimizing cache conflicts in multi-core processors for databases"],"short-title":[],"issued":{"date-parts":[[2009,8]]},"references-count":34,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2009,8]]}},"alternative-id":["10.14778\/1687627.1687670"],"URL":"https:\/\/doi.org\/10.14778\/1687627.1687670","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2009,8]]}}}