Abstract
Data-intensive systems routinely use derived data (e.g., indexes or materialized views) to improve query-evaluation performance. We present a system architecture for Query-Performance Enhancement by Tuning (QPET), which combines design and use of derived data in an end-to-end approach to automated query-performance tuning. Our focus is on a tradeo. between (1) the amount of system resources spent on designing derived data and on keeping the data up to date, and (2) the degree of the resulting improvement in query performance. From the technical point of view, the novelty that we introduce is that we combine aggregate query rewriting techniques [1, 2] and view selection techniques [3] to achieve our goal.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Afrati, F., Chirkova, R.: Selecting and using views to compute aggregate queries. In: Eiter, T., Libkin, L. (eds.) ICDT 2005. LNCS, vol. 3363, pp. 383–397. Springer, Heidelberg (2004)
Cohen, S., Nutt, W., Serebrenik, A.: Rewriting aggregate queries using views. In: Proceedings of PODS, pp. 155–166 (1999)
Harinarayan, V., Rajaraman, A., Ullman, J.: Implementing data cubes efficiently. In: Proc. SIGMOD, pp. 205–216 (1996)
Shasha, D., Bonnet, P.: Database Tuning: Principles, Experiments, and Troubleshooting Techniques. Morgan Kaufmann, San Francisco (2002), http://www.distlab.dk/dbtune/
Microsoft Research AutoAdmin Project: Self-Tuning and Self-Administering Databases, http://research.microsoft.com/dmx/autoadmin/default.asp
IBM Autonomic Computing, http://www.research.ibm.com/autonomic/
Afrati, F., Chirkova, R., Gupta, S., Loftis, C.: Designing and Using Views to Improve Performance of Aggregate Queries. Technical Report NCSU CSC TR-2004-26 (2004), http://www4.ncsu.edu/~rychirko/Papers/techReport090904.pdf
Chirkova, R., Gupta, S., Kim, K.H., Sandhu, S.: Extensible framework for query-performance enhancement by tuning (2004), Code downloads and documentation are available from http://research.csc.ncsu.edu/selftune/
Chirkova, R., Halevy, A., Suciu, D.: A formal perspective on the view selection problem. VLDB Journal 11, 216–237 (2002)
Agrawal, S., Chaudhuri, S., Narasayya, V.: Automated selection of materialized views and indexes in SQL databases. In: Proceedings of VLDB, pp. 496–505 (2000)
Gupta, H., Harinarayan, V., Rajaraman, A., Ullman, J.: Index selection for OLAP. In: Proceedings of ICDE, pp. 208–219 (1997)
Shukla, A., Deshpande, P., Naughton, J.: Materialized view selection for multidimensional datasets. In: Proceedings of VLDB, pp. 488–499 (1998)
Halevy, A.Y.: Answering queries using views: A survey. VLDB Journal 10, 270–294 (2001)
Chaudhuri, S., Krishnamurthy, R., Potamianos, S., Shim, K.: Optimizing queries with materialized views. In: Proceedings of the Eleventh International Conference on Data Engineering (ICDE), pp. 190–200 (1995)
Widom, J.: Research problems in data warehousing. In: Proceedings of CIKM (1995)
Gray, J., Chaudhuri, S., Bosworth, A., Layman, A., Reichart, D., Venkatrao, M.: Data cube: A relational aggregation operator generalizing Group-by, Cross-Tab, and Sub Totals. Data Mining and Knowledge Discovery 1, 29–53 (1997)
Chaudhuri, S., Dayal, U.: An overview of data warehousing and OLAP technology. SIGMOD Record 26, 65–74 (1997)
Agarwal, S., Agrawal, R., Deshpande, P., Gupta, A., Naughton, J., Ramakrishnan, R., Sarawagi, S.: On the computation of multidimensional aggregates. In: Proceedings of VLDB, pp. 506–521 (1996)
Gupta, A., Harinarayan, V., Quass, D.: Aggregate-query processing in data warehousing environments. In: Proceedings of VLDB, pp. 358–369 (1995)
Srivastava, D., Dar, S., Jagadish, H., Levy, A.: Answering queries with aggregation using views. In: Proc. VLDB, pp. 318–329 (1996)
PostgreSQL (Open source database-management system), http://www.postgresql.org/
TPC-H: TPC Benchmark H (Decision Support), Available from http://www.tpc.org/tpch/spec/tpch2.1.0.pdf
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Afrati, F., Chirkova, R., Gupta, S., Loftis, C. (2005). Designing and Using Views to Improve Performance of Aggregate Queries (Extended Abstract). In: Zhou, L., Ooi, B.C., Meng, X. (eds) Database Systems for Advanced Applications. DASFAA 2005. Lecture Notes in Computer Science, vol 3453. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11408079_48
Download citation
DOI: https://doi.org/10.1007/11408079_48
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-25334-1
Online ISBN: 978-3-540-32005-0
eBook Packages: Computer ScienceComputer Science (R0)