{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,18]],"date-time":"2026-09-18T10:52:47Z","timestamp":1789728767212,"version":"4.0.1"},"reference-count":31,"publisher":"Association for Computing Machinery (ACM)","issue":"3","license":[{"start":{"date-parts":[[2007,8,1]],"date-time":"2007-08-01T00:00:00Z","timestamp":1185926400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2007,8]]},"abstract":"<jats:p>\n                    Hash join algorithms suffer from extensive CPU cache stalls. This article shows that the standard hash join algorithm for disk-oriented databases (i.e. GRACE) spends over 80% of its user time stalled on CPU cache misses, and explores the use of CPU cache\n                    <jats:italic>prefetching<\/jats:italic>\n                    to improve its cache performance. Applying prefetching to hash joins is complicated by the data dependencies, multiple code paths, and inherent randomness of hashing. We present two techniques,\n                    <jats:italic>group prefetching<\/jats:italic>\n                    and\n                    <jats:italic>software-pipelined prefetching<\/jats:italic>\n                    , that overcome these complications. These schemes achieve 1.29--4.04X speedups for the join phase and 1.37--3.49X speedups for the partition phase over GRACE and simple prefetching approaches. Moreover, compared with previous cache-aware approaches (i.e. cache partitioning), the schemes are at least 36% faster on large relations and do not require exclusive use of the CPU cache to be effective. Finally, comparing the elapsed real times when disk I\/Os are in the picture, our cache prefetching schemes achieve 1.12--1.84X speedups for the join phase and 1.06--1.60X speedups for the partition phase over the GRACE hash join algorithm.\n                  <\/jats:p>","DOI":"10.1145\/1272743.1272747","type":"journal-article","created":{"date-parts":[[2007,9,14]],"date-time":"2007-09-14T09:44:55Z","timestamp":1189763095000},"page":"17","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":85,"title":["Improving hash join performance through prefetching"],"prefix":"10.1145","volume":"32","author":[{"given":"Shimin","family":"Chen","sequence":"first","affiliation":[{"name":"Intel Research Pittsburgh, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Anastassia","family":"Ailamaki","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Phillip B.","family":"Gibbons","sequence":"additional","affiliation":[{"name":"Intel Research Pittsburgh, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Todd C.","family":"Mowry","sequence":"additional","affiliation":[{"name":"Carnegie Mellon University and Intel Research Pittsburgh, Pittsburgh, PA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2007,8]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/125826.125932"},{"key":"e_1_2_1_2_1","volume-title":"Proceedings of the 25th International Conference on Very Large Data Bases","author":"Boncz P. A.","unstructured":"Boncz , P. A. , Manegold , S. , and Kersten , M. L . 1999. Database architecture optimized for the new bottleneck: memory access . In Proceedings of the 25th International Conference on Very Large Data Bases . Edinburgh, Scotland, UK, 54--65. Boncz, P. A., Manegold, S., and Kersten, M. L. 1999. Database architecture optimized for the new bottleneck: memory access. In Proceedings of the 25th International Conference on Very Large Data Bases. Edinburgh, Scotland, UK, 54--65."},{"key":"e_1_2_1_4_1","volume-title":"Proceedings of the 20th International Conference on Data Engineering","author":"Chen S.","unstructured":"Chen , S. , Ailamaki , A. , Gibbons , P. B. , and Mowry , T. C . 2004. Improving hash join performance through prefetching . In Proceedings of the 20th International Conference on Data Engineering ( Boston, MA). IEEE Computer Society Press, Los Alamitos, CA, 116--127. Chen, S., Ailamaki, A., Gibbons, P. B., and Mowry, T. C. 2004. Improving hash join performance through prefetching. In Proceedings of the 20th International Conference on Data Engineering (Boston, MA). IEEE Computer Society Press, Los Alamitos, CA, 116--127."},{"key":"e_1_2_1_5_1","volume-title":"Inspector Joins. In Proceedings of the 31st International Conference on Very Large Data Bases","author":"Chen S.","unstructured":"Chen , S. , Ailamaki , A. , Gibbons , P. B. , and Mowry , T. C . 2005 . Inspector Joins. In Proceedings of the 31st International Conference on Very Large Data Bases ( Trondheim, Norway). 817--828. Chen, S., Ailamaki, A., Gibbons, P. B., and Mowry, T. C. 2005. Inspector Joins. In Proceedings of the 31st International Conference on Very Large Data Bases (Trondheim, Norway). 817--828."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375688"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/564691.564710"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1114252.1114260"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/152610.152611"},{"key":"e_1_2_1_10_1","unstructured":"Hepkin D. 2006. Guide to multiple page size support on AIX 5L version 5.3. http:\/\/www-03.ibm.com\/servers\/aix\/whitepapers\/multiple_page.pdf.  Hepkin D. 2006. Guide to multiple page size support on AIX 5L version 5.3. http:\/\/www-03.ibm.com\/servers\/aix\/whitepapers\/multiple_page.pdf."},{"key":"e_1_2_1_11_1","unstructured":"IBM Corporation. 2004. IBM DB2 Universal Database Administration Guide Version 8.2.  IBM Corporation. 2004. IBM DB2 Universal Database Administration Guide Version 8.2."},{"key":"e_1_2_1_12_1","first-page":"251110","article-title":"Intel Itanium 2 Processor Reference Manual For Software Development and Optimization. Intel Corporation","author":"Intel Corporation","year":"2004","unstructured":"Intel Corporation . 2004 . Intel Itanium 2 Processor Reference Manual For Software Development and Optimization. Intel Corporation . Order Number : 251110 - 251003 . Intel Corporation. 2004. Intel Itanium 2 Processor Reference Manual For Software Development and Optimization. Intel Corporation. Order Number: 251110-003.","journal-title":"Order Number"},{"key":"e_1_2_1_13_1","volume-title":"IA-32 Intel Architecture Software Developer's Manual (Volumn 3A and 3B): System Programming Guide","author":"Intel Corporation","unstructured":"Intel Corporation . 2006. IA-32 Intel Architecture Software Developer's Manual (Volumn 3A and 3B): System Programming Guide . Intel Corporation . Intel Corporation. 2006. IA-32 Intel Architecture Software Developer's Manual (Volumn 3A and 3B): System Programming Guide. Intel Corporation."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/1148882.1148891"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/MM.2004.1289290"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.5555\/110382.110458"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037022"},{"key":"e_1_2_1_19_1","unstructured":"Lindsay B. 2002. Hash joins in DB2 UDB: The inside story. Carnegie Mellon DB Seminar.  Lindsay B. 2002. Hash joins in DB2 UDB: The inside story. Carnegie Mellon DB Seminar."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/237090.237190"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/12.752654"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the 26th International Conference on Very Large Data Bases","author":"Manegold S.","unstructured":"Manegold , S. , Boncz , P. A. , and Kersten , M. L . 2000. What happens during a join&quest; Dissecting CPU and memory optimization effects . In Proceedings of the 26th International Conference on Very Large Data Bases ( Cairo, Egypt). 339--350. Manegold, S., Boncz, P. A., and Kersten, M. L. 2000. What happens during a join&quest; Dissecting CPU and memory optimization effects. In Proceedings of the 26th International Conference on Very Large Data Bases (Cairo, Egypt). 339--350."},{"key":"e_1_2_1_23_1","unstructured":"McDougall R. 2004. Supporting multiple page sizes in the solaris operating system. http:\/\/www.sun.com\/blueprints\/0304\/817-5917.pdf.  McDougall R. 2004. Supporting multiple page sizes in the solaris operating system. http:\/\/www.sun.com\/blueprints\/0304\/817-5917.pdf."},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/143365.143488"},{"key":"e_1_2_1_27_1","volume-title":"Proceedings of the 14th International Conference on Very Large Data Bases","author":"Nakayama M.","unstructured":"Nakayama , M. , Kitsuregawa , M. , and Takagi , M . 1988. Hash-partitioned join method using dynamic destaging strategy . In Proceedings of the 14th International Conference on Very Large Data Bases ( Los Angeles, CA). 468--478. Nakayama, M., Kitsuregawa, M., and Takagi, M. 1988. Hash-partitioned join method using dynamic destaging strategy. In Proceedings of the 14th International Conference on Very Large Data Bases (Los Angeles, CA). 468--478."},{"key":"e_1_2_1_28_1","unstructured":"Perfmon Project. http:\/\/www.hpl.hp.com\/research\/linux\/perfmon\/index.php4.  Perfmon Project. http:\/\/www.hpl.hp.com\/research\/linux\/perfmon\/index.php4."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/339647.339666"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/6314.6315"},{"key":"e_1_2_1_31_1","volume-title":"Proceedings of the 20th International Conference on Very Large Data Bases (Santiago de Chile). 510--521","author":"Shatdal A.","unstructured":"Shatdal , A. , Kant , C. , and Naughton , J. F . 1994. Cache conscious algorithms for relational query processing . In Proceedings of the 20th International Conference on Very Large Data Bases (Santiago de Chile). 510--521 . Shatdal, A., Kant, C., and Naughton, J. F. 1994. Cache conscious algorithms for relational query processing. In Proceedings of the 20th International Conference on Very Large Data Bases (Santiago de Chile). 510--521."},{"key":"e_1_2_1_32_1","volume-title":"Version 1.0","author":"Sun Microsystems","year":"2004","unstructured":"Sun Microsystems . UltraSPARC IV Processor Architecture Overview. Sun Microsystems. Technical Whitepaper , Version 1.0 , Feb. 2004 . Sun Microsystems. UltraSPARC IV Processor Architecture Overview. Sun Microsystems. Technical Whitepaper, Version 1.0, Feb. 2004."},{"key":"e_1_2_1_33_1","unstructured":"TPC Benchmarks. http:\/\/www.tpc.org\/.  TPC Benchmarks. http:\/\/www.tpc.org\/."},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the 16th International Conference on Very Large Data Bases. (Brisbane","author":"Zeller H.","unstructured":"Zeller , H. and Gray , J . 1990. An adaptive hash join algorithm for multiuser environments . In Proceedings of the 16th International Conference on Very Large Data Bases. (Brisbane , Queensland, Australia). 186--197. Zeller, H. and Gray, J. 1990. An adaptive hash join algorithm for multiuser environments. In Proceedings of the 16th International Conference on Very Large Data Bases. (Brisbane, Queensland, Australia). 186--197."},{"key":"e_1_2_1_35_1","volume-title":"Proceedings of the 31st International Conference on Very Large Data Bases","author":"Zhou J.","unstructured":"Zhou , J. , Cieslewicz , J. , Ross , K. A. , and Shah , M . 2005. Improving database performance on simultaneous multithreading processors . In Proceedings of the 31st International Conference on Very Large Data Bases ( Trondheim, Norway). 49--60. Zhou, J., Cieslewicz, J., Ross, K. A., and Shah, M. 2005. Improving database performance on simultaneous multithreading processors. In Proceedings of the 31st International Conference on Very Large Data Bases (Trondheim, Norway). 49--60."}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1272743.1272747","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1272743.1272747","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T10:52:03Z","timestamp":1750243923000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1272743.1272747"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2007,8]]},"references-count":31,"journal-issue":{"issue":"3","published-print":{"date-parts":[[2007,8]]}},"alternative-id":["10.1145\/1272743.1272747"],"URL":"https:\/\/doi.org\/10.1145\/1272743.1272747","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2007,8]]},"assertion":[{"value":"2007-08-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}