{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,7]],"date-time":"2026-09-07T01:56:21Z","timestamp":1788746181588,"version":"build-2803163510"},"reference-count":52,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2007,6,1]],"date-time":"2007-06-01T00:00:00Z","timestamp":1180656000000},"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,6]]},"abstract":"<jats:p>The ability to approximately answer aggregation queries accurately and efficiently is of great benefit for decision support and data mining tools. In contrast to previous sampling-based studies, we treat the problem as an optimization problem where, given a workload of queries, we select a stratified random sample of the original data such that the error in answering the workload queries using the sample is minimized. A key novelty of our approach is that we can tailor the choice of samples to be robust, even for workloads that are \u201csimilar\u201d but not necessarily identical to the given workload. Finally, our techniques recognize the importance of taking into account the variance in the data distribution in a principled manner. We show how our solution can be implemented on a database system, and present results of extensive experiments on Microsoft SQL Server that demonstrate the superior quality of our method compared to previous work.<\/jats:p>","DOI":"10.1145\/1242524.1242526","type":"journal-article","created":{"date-parts":[[2007,9,14]],"date-time":"2007-09-14T13:44:55Z","timestamp":1189777495000},"page":"9","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":159,"title":["Optimized stratified sampling for approximate query processing"],"prefix":"10.1145","volume":"32","author":[{"given":"Surajit","family":"Chaudhuri","sequence":"first","affiliation":[{"name":"Microsoft Research, Redmond, WA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Gautam","family":"Das","sequence":"additional","affiliation":[{"name":"University of Texas at Arlington, Arlington, TX"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vivek","family":"Narasayya","sequence":"additional","affiliation":[{"name":"Microsoft Research, Redmond, WA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2007,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335450"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304207"},{"key":"e_1_2_1_3_1","volume-title":"Proceedings of the International Conference on Very Large Databases. 496--505","author":"Agrawal S.","unstructured":"Agrawal , S. , Chaudhuri , C. , and Narasayya , V . 2000. Automated selection of materialized views and indexes in SQL databases . In Proceedings of the International Conference on Very Large Databases. 496--505 . Agrawal, S., Chaudhuri, C., and Narasayya, V. 2000. Automated selection of materialized views and indexes in SQL databases. In Proceedings of the International Conference on Very Large Databases. 496--505."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007609"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/872757.872822"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/262762.262764"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1145\/312129.312288"},{"key":"e_1_2_1_8_1","first-page":"47","article-title":"Sample allocation in multivariate surveys","volume":"15","author":"Bethel J.","year":"1989","unstructured":"Bethel , J. 1989 . Sample allocation in multivariate surveys . Surv. Methodol. 15 , 47 -- 57 . Bethel, J. 1989. Sample allocation in multivariate surveys. Surv. Methodol. 15, 47--57.","journal-title":"Surv. Methodol."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1137\/0904026"},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the International Conference on Very Large Databases.","author":"Chakrabarti K.","unstructured":"Chakrabarti , K. , Garofalakis , M. , Rastogi , R. , and Shim , K . 2000. Approximate query processing using wavelets . In Proceedings of the International Conference on Very Large Databases. Chakrabarti, K., Garofalakis, M., Rastogi, R., and Shim, K. 2000. Approximate query processing using wavelets. In Proceedings of the International Conference on Very Large Databases."},{"key":"e_1_2_1_11_1","volume-title":"Proceedings of the IEEE International Conference on Data Engineering.","author":"Chaudhuri S.","unstructured":"Chaudhuri , S. , Das , G. , Datar , M. , Motwani , R. , and Narasayya , V . 2001. Overcoming limitations of sampling for aggregation queries . In Proceedings of the IEEE International Conference on Data Engineering. Chaudhuri, S., Das, G., Datar, M., Motwani, R., and Narasayya, V. 2001. Overcoming limitations of sampling for aggregation queries. In Proceedings of the IEEE International Conference on Data Engineering."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375694"},{"key":"e_1_2_1_13_1","volume-title":"Proceedings of the IEEE International Conference on Data Engineering.","author":"Chaudhuri S.","unstructured":"Chaudhuri , S. , Krishnamurthy , R. , Potamianos , S. , and Shim , S . 1995. Optimizing queries with materialized views . In Proceedings of the IEEE International Conference on Data Engineering. Chaudhuri, S., Krishnamurthy, R., Potamianos, S., and Shim, S. 1995. Optimizing queries with materialized views. In Proceedings of the IEEE International Conference on Data Engineering."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304206"},{"key":"e_1_2_1_15_1","unstructured":"Chaudhuri S. and Narasayya V. 2006. Program for TPC-D data generation with skew. http:\/\/research.microsoft.com\/dmx\/  Chaudhuri S. and Narasayya V. 2006. Program for TPC-D data generation with skew. http:\/\/research.microsoft.com\/dmx\/"},{"key":"e_1_2_1_16_1","volume-title":"Proceedings of the International Conference on Very Large Databases.","author":"Chaudhuri S.","unstructured":"Chaudhuri , S. and Narasayya , V . 1997. An efficient, cost-driven index selection tool for Microsoft SQL server . In Proceedings of the International Conference on Very Large Databases. Chaudhuri, S. and Narasayya, V. 1997. An efficient, cost-driven index selection tool for Microsoft SQL server. In Proceedings of the International Conference on Very Large Databases."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/276304.276337"},{"key":"e_1_2_1_18_1","volume-title":"Proceedings of the Survey Research Section, American Statistical Association.","author":"Chromy J. W.","year":"1987","unstructured":"Chromy , J. W. 1987 . Design optimization with multiple objectives . In Proceedings of the Survey Research Section, American Statistical Association. Chromy, J. W. 1987. Design optimization with multiple objectives. In Proceedings of the Survey Research Section, American Statistical Association."},{"key":"e_1_2_1_19_1","volume-title":"Sampling Techniques","author":"Cochran W. G.","unstructured":"Cochran , W. G. 1977. Sampling Techniques , 3 rd ed. John Wiley , New York . Cochran, W. G. 1977. Sampling Techniques, 3rd ed. John Wiley, New York.","edition":"3"},{"key":"e_1_2_1_20_1","unstructured":"Das G. 2003. Survey of approximate query processing techniques. Tutorial at the International Conference on Scientific and Statistical Database Management.  Das G. 2003. Survey of approximate query processing techniques. Tutorial at the International Conference on Scientific and Statistical Database Management."},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1962.10480667"},{"key":"e_1_2_1_22_1","volume-title":"Proceedings of the International Conference on Very Large Databases.","author":"Ganti V.","unstructured":"Ganti , V. , Lee M. L. , and Ramakrishnan , R . 2000. ICICLES: Self-Tuning samples for approximate query answering . In Proceedings of the International Conference on Very Large Databases. Ganti, V., Lee M. L., and Ramakrishnan, R. 2000. ICICLES: Self-Tuning samples for approximate query answering. In Proceedings of the International Conference on Very Large Databases."},{"key":"e_1_2_1_23_1","unstructured":"Garofalakis M. N. and Gibbons P. B. 2001. Approximate query processing: Taming the terabytes. Tutorial at the International Conference on Very Large Databases.   Garofalakis M. N. and Gibbons P. B. 2001. Approximate query processing: Taming the terabytes. Tutorial at the International Conference on Very Large Databases."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065167.1065200"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375727"},{"key":"e_1_2_1_26_1","volume-title":"Proceedings of the 23rd International Conference on Very Large Data Bases.","author":"Gibbons P. B.","unstructured":"Gibbons , P. B. , Matias , Y. , and Poosala , V . 1997. Fast incremental maintenance of approximate histograms . In Proceedings of the 23rd International Conference on Very Large Data Bases. Gibbons, P. B., Matias, Y., and Poosala, V. 1997. Fast incremental maintenance of approximate histograms. In Proceedings of the 23rd International Conference on Very Large Data Bases."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375706"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1009726021843"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/375663.375670"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/342009.335448"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/s007780100054"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/253260.253291"},{"key":"e_1_2_1_33_1","volume-title":"Approximation Algorithms for NP-Hard Problems","author":"HochBaum D.","unstructured":"HochBaum , D. 1997. Approximation Algorithms for NP-Hard Problems . PWS Publishing . HochBaum, D. 1997. Approximation Algorithms for NP-Hard Problems. PWS Publishing."},{"key":"e_1_2_1_34_1","volume-title":"Proceedings of the International Conference on Very Large Databases.","author":"Ioannidis Y.","unstructured":"Ioannidis , Y. and Poosala , V . 1999. Histogram based approximations of set-valued query answers . In Proceedings of the International Conference on Very Large Databases. Ioannidis, Y. and Poosala, V. 1999. Histogram based approximations of set-valued query answers. In Proceedings of the International Conference on Very Large Databases."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.5555\/1315451.1315527"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007603"},{"key":"e_1_2_1_37_1","volume-title":"Proceedings of IEEE Foundations of Computer Science. 482--491","author":"Kempe D.","unstructured":"Kempe D. , Dobra , A. , and Gehrke , J . 2003. Gossip-Based computation of aggregate information . In Proceedings of IEEE Foundations of Computer Science. 482--491 . Kempe D., Dobra, A., and Gehrke, J. 2003. Gossip-Based computation of aggregate information. In Proceedings of IEEE Foundations of Computer Science. 482--491."},{"key":"e_1_2_1_38_1","doi-asserted-by":"crossref","unstructured":"Koudas N. and Srivastava D. 2003. Data stream query processing: A tutorial. Tutorial at the International Conference on Very Large Databases.   Koudas N. and Srivastava D. 2003. Data stream query processing: A tutorial. Tutorial at the International Conference on Very Large Databases.","DOI":"10.1016\/B978-012722442-8\/50128-2"},{"key":"e_1_2_1_39_1","volume-title":"Sampling: Design and Analysis","author":"Lohr S.","year":"1999","unstructured":"Lohr , S. 1999 . Sampling: Design and Analysis . Duxbury Press . Lohr, S. 1999. Sampling: Design and Analysis. Duxbury Press."},{"key":"e_1_2_1_40_1","volume-title":"Springer Series in Statistics","author":"Miller R. G.","unstructured":"Miller , R. G. , Jr . 1981. Simultaneous Statis. Inference. Springer Series in Statistics . Springer Verlag . Miller, R. G., Jr. 1981. Simultaneous Statis. Inference. Springer Series in Statistics. Springer Verlag."},{"key":"e_1_2_1_41_1","volume-title":"Machine Learning","author":"Mitchell T.","unstructured":"Mitchell , T. 1997. Machine Learning . McGraw-Hill , New York . Mitchell, T. 1997. Machine Learning. McGraw-Hill, New York."},{"key":"e_1_2_1_42_1","doi-asserted-by":"crossref","unstructured":"Motwani R. and Raghavan P. 1995. Randomized Algorithms. Cambridge University Press New York.   Motwani R. and Raghavan P. 1995. Randomized Algorithms. Cambridge University Press New York.","DOI":"10.1017\/CBO9780511814075"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/TKDE.2003.1245281"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007599"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1109\/SSDM.1999.787618"},{"key":"e_1_2_1_47_1","volume-title":"Elements of Statis. Comput","author":"Thisted R. A.","unstructured":"Thisted , R. A. 1988. Elements of Statis. Comput . Chapman and Hall , London . Thisted, R. A. 1988. Elements of Statis. Comput. Chapman and Hall, London."},{"issue":"1","key":"e_1_2_1_48_1","first-page":"0","article-title":"TPC benchmark R","volume":"1","author":"Transaction Processing Performance Council","year":"2007","unstructured":"Transaction Processing Performance Council . 2007 . TPC benchmark R : Decision Support. Revision 1 . 1 . 0 . http\/\/www.tpc.org. Transaction Processing Performance Council. 2007. TPC benchmark R: Decision Support. Revision 1.1.0. http\/\/www.tpc.org.","journal-title":"Decision Support. Revision"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-9473(97)00007-8"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3147.3165"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/304182.304199"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/288627.288645"},{"key":"e_1_2_1_53_1","volume-title":"Human Behavior and the Principle of Least Effort","author":"Zipf G. E.","unstructured":"Zipf , G. E. 1949. Human Behavior and the Principle of Least Effort . Addison-Wesley . Zipf, G. E. 1949. Human Behavior and the Principle of Least Effort. Addison-Wesley."}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1242524.1242526","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1242524.1242526","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T17:38:56Z","timestamp":1750268336000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1242524.1242526"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2007,6]]},"references-count":52,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2007,6]]}},"alternative-id":["10.1145\/1242524.1242526"],"URL":"https:\/\/doi.org\/10.1145\/1242524.1242526","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2007,6]]},"assertion":[{"value":"2007-06-01","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}