{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,6]],"date-time":"2026-10-06T06:15:43Z","timestamp":1791267343256,"version":"4.1.0"},"reference-count":21,"publisher":"Association for Computing Machinery (ACM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2008,8]]},"abstract":"<jats:p>Computer architectures are increasingly based on multi-core CPUs and large memories. Memory bandwidth, which has riot kept pace with the increasing number of cores, has become the primary processing bottleneck, replacing disk I\/O as the limiting factor. To address this challenge, we provide novel algorithms for increasing the throughput of Business Intelligence (BI) queries, as well as for ensuring fairness and avoiding starvation among a concurrent set of such queries. To maximize throughput, we propose a novel FullSharing scheme that allows all concurrent queries, when performing base-table I\/O, to share the cache belonging to a given core. We then generalize this approach to a BatchSharing scheme that avoids thrashing on \"agg-tables\" ---hash tables that are used for aggregation processing---caused by execution of too many queries on a core. This scheme partitions queries into batches such that the working-set of agg-table entries for each batch can fit into a cache; an efficient sampling technique is used to estimate selectivities and working-set sizes for purposes of query partitioning. Finally, we use lottery-scheduling techniques to ensure fairness and impose a hard upper bound on staging time to avoid starvation. On our 8-core testbed, we were able to completely remove the memory I\/O bottleneck, increasing throughput by a factor of 2 to 2.5, while also maintaining fairness and avoiding starvation.<\/jats:p>","DOI":"10.14778\/1453856.1453924","type":"journal-article","created":{"date-parts":[[2014,6,24]],"date-time":"2014-06-24T12:17:57Z","timestamp":1403612277000},"page":"610-621","source":"Crossref","is-referenced-by-count":53,"title":["Main-memory scan sharing for multi-core CPUs"],"prefix":"10.14778","volume":"1","author":[{"given":"Lin","family":"Qiao","sequence":"first","affiliation":[{"name":"IBM Almaden Research Center, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vijayshankar","family":"Raman","sequence":"additional","affiliation":[{"name":"IBM Almaden Research Center, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Frederick","family":"Reiss","sequence":"additional","affiliation":[{"name":"IBM Almaden Research Center, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peter J.","family":"Haas","sequence":"additional","affiliation":[{"name":"IBM Almaden Research Center, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Guy M.","family":"Lohman","sequence":"additional","affiliation":[{"name":"IBM Almaden Research Center, San Jose, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2008,8]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Intel Architecture Software Developers Manual volume 2. Intel Architecture Software Developers Manual volume 2."},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/1142473.1142548"},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/850657.850659"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1274971.1275005"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335432"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1248377.1248396"},{"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":"ESCAPE","author":"Dosa G.","year":"2007","unstructured":"G. Dosa . The Tight Bound of First Fit Decreasing Bin-Packing Algorithm Is FFD(I)=(11\/9)OPT(I)+6\/9 . In ESCAPE , 2007 . G. Dosa. The Tight Bound of First Fit Decreasing Bin-Packing Algorithm Is FFD(I)=(11\/9)OPT(I)+6\/9. In ESCAPE, 2007."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1214\/aos\/1176346256"},{"key":"e_1_2_1_10_1","first-page":"93","article-title":"Estimating the number of classes in a finite population","author":"Haas P. J.","year":"1998","unstructured":"P. J. Haas and L. Stokes . Estimating the number of classes in a finite population . J. Amer. Statist. Assoc. , 93 , 1998 . P. J. Haas and L. Stokes. Estimating the number of classes in a finite population. J. Amer. Statist. Assoc., 93, 1998.","journal-title":"J. Amer. Statist. Assoc."},{"key":"e_1_2_1_11_1","first-page":"487","volume-title":"VLDB","author":"Harizopoulos S.","year":"2006","unstructured":"S. Harizopoulos , V. Liang , D. J. Abadi , and S. Madden . Performance tradeoffs in read-optimized databases . In VLDB , pages 487 -- 498 , 2006 . S. Harizopoulos, V. Liang, D. J. Abadi, and S. Madden. Performance tradeoffs in read-optimized databases. In VLDB, pages 487--498, 2006."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066201"},{"key":"e_1_2_1_13_1","first-page":"351","volume-title":"VLDB","author":"Johnson R.","year":"2007","unstructured":"R. Johnson , N. Hardavellas , I. Pandis , N. Mancheril . S. Harizopoulos , K. Sabirli , A. Ailamaki , and B. Falsafi . To share or not to share ? In VLDB , pages 351 -- 362 , 2007 . R. Johnson, N. Hardavellas, I. Pandis, N. Mancheril. S. Harizopoulos, K. Sabirli, A. Ailamaki, and B. Falsafi. To share or not to share? In VLDB, pages 351--362, 2007."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/1025127.1026001"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.5555\/1316689.1316773"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/1325851.1325999"},{"key":"e_1_2_1_17_1","first-page":"858","volume-title":"VLDB","author":"Raman V.","year":"2006","unstructured":"V. Raman and G. Swart . How to wring a table dry: Entropy compression of relations and querying of compressed relations . In VLDB , pages 858 -- 869 , 2006 . V. Raman and G. Swart. How to wring a table dry: Entropy compression of relations and querying of compressed relations. In VLDB, pages 858--869, 2006."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2008.4497414"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/319702.319729"},{"key":"e_1_2_1_20_1","first-page":"1","volume-title":"OSDI","author":"Waldspurger C. A.","year":"1994","unstructured":"C. A. Waldspurger and W. K. Weihl . Lottery scheduling: Flexible proportional-share resource management . In OSDI , pages 1 -- 11 , 1994 . C. A. Waldspurger and W. K. Weihl. Lottery scheduling: Flexible proportional-share resource management. In OSDI, pages 1--11, 1994."},{"key":"e_1_2_1_21_1","first-page":"723","volume-title":"VLDB","author":"Zukowski M.","year":"2007","unstructured":"M. Zukowski , S. H\u00e9man , N. Nes , and P. A. Boncz . Cooperative Scans: Dynamic Bandwidth Sharing in a DBMS . In VLDB , pages 723 -- 734 , 2007 . M. Zukowski, S. H\u00e9man, N. Nes, and P. A. Boncz. Cooperative Scans: Dynamic Bandwidth Sharing in a DBMS. In VLDB, pages 723--734, 2007."}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/1453856.1453924","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T11:01:26Z","timestamp":1672225286000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/1453856.1453924"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2008,8]]},"references-count":21,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2008,8]]}},"alternative-id":["10.14778\/1453856.1453924"],"URL":"https:\/\/doi.org\/10.14778\/1453856.1453924","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2008,8]]}}}