Preview

Query Optimization Paper

Powerful Essays
Open Document
Open Document
1520 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Query Optimization Paper
I. Abstract

The query optimizer is an important system component of a relational database management system (DBMS). It is the responsibility of this component to translate the user-submitted query - usually written in a non the database. The research literature describes a wide variety of optimization strategies for different quer y languages and implementation environments. However, very little is known about how to design and structure the query optimization component to implement these strategies. This paper proposes a first step towards the design of a modular query optimizer. We describe its operations by transformation rules which generate different QEPs from initial query specifications. As we distinguish different aspects of the query optimization process, our hope is that the approach taken in this paper will contribute to the more general goal of a modular query optimizer as part of an extensible database management system. -procedural language - into an efficient query evaluation plan (QEP) which is then executed against

II. INTRODUCTION:

Query optimization is a function of many relational database in which multiple query for satisfying a query are examined and a good query plan is identified. This may or not be the absolute best strategy because there are many ways of doing plans. There is a trade-off between the amount of time spent figuring out the best plan and the amount running the plan. Different qualities of database management systems have different ways of balancing these two. Cost based query optimizers evaluate the resource footprint of various query plans and use this as the basis for plan selection.
Typically the resources which are costed are CPU path length, amount of disk buffer space, disk storage service time, and interconnect usage between units of parallelism. The set of query plans examined is formed by examining possible access paths (e.g., primary index access, secondary index access, full file scan) and various



References: [1] Apers, P.M.G., Hevner, A.R., Yao, S.B. Optimization Algorithms for Distributed Queries. IEEE Transactions on Software Engineering, Vol 9:1, 1983. [2] Bancilhon, F., Maier, D., Sagiv, Y., Ullman, J.D. Magic sets and other strange ways to execute logic programs. In Proc. of ACM PODS, 1986. [3] Bernstein, P.A., Goodman, N., Wong, E., Reeve, C.L, Rothnie, J. Query Processing in a System for Distributed Databases (SDD-1), ACM TODS 6:4 (Dec 1981). [4] Chaudhuri, S., Shim K. An Overview of Cost-based Optimization of Queries with Aggregates. IEEE DE Bulletin, Sep. 1995. (Special Issue on Query Processing). [5] Chaudhuri, S., Shim K. Including Group-By in Query Optimization. In Proc. of VLDB, Santiago, 1994.

You May Also Find These Documents Helpful

  • Good Essays

    Cis 515week 3

    • 1024 Words
    • 4 Pages

    Bibliography: (2012). Database systems: Design, implementation, and management. (10 ed.). United States of America: Joe Sabatino.…

    • 1024 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    DBM 380 Week 1 DQ 1

    • 411 Words
    • 2 Pages

    Based on the Manegold (2009) article, what are two new methods of optimizing data retrieval from a high-use database? Explain in your own words.…

    • 411 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    One benefit of a relational database management system is that it contains a built-in query language, which lets you obtain immediate answers to the questions you ask about your data. _________________________…

    • 585 Words
    • 3 Pages
    Good Essays
  • Better Essays

    Dbm 381 Week 1 Individual

    • 971 Words
    • 4 Pages

    Pratt, P.J., & Adamski, J.J. (2012). Concepts of database management (7th ed.). Retrieved from The University of Phoenix eBook Collection database.…

    • 971 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    week 4 Discussion 1

    • 447 Words
    • 2 Pages

    Optimal database design recognizes proper organization of table structures and relationships. Suggest at least two methods that can be used to improve the design of a database system.…

    • 447 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    References: Coronel, C., Morris, S., & Rob, P. (2013). Database systems: Design, implementation, and management (10th ed.). Independence, KY: Cengage.…

    • 906 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Database Environment

    • 1121 Words
    • 5 Pages

    When building a system for information, you have to decide how much responsibility for data management your software will take. A database can be rather large or it can be small depending on the information that is being stored. Request for information from a database are made in the form of a query or a question asking the database for particular information. All database management systems are not the same from a technical standpoint. They differ mostly in the way they organize their information internally. The internal organization can then determine how quickly and supplely the information can be extracted (Jupitermedia, 2011) .…

    • 1121 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    The Apostolate

    • 8252 Words
    • 34 Pages

    [GGM95] L. Gravano and J. H. Garcia-Molina. Generalising GlOSS to vector-space databases and broker hierarchies. In Proc. Int. Conf. on Very Large Databases, Zurich, Switzerland, 1995.…

    • 8252 Words
    • 34 Pages
    Powerful Essays
  • Satisfactory Essays

    Data Replication

    • 2297 Words
    • 10 Pages

     Parallel Database Systems  Data Integration Systems  Web Search/Querying  Peer-to-Peer Data Management  Data Stream Management…

    • 2297 Words
    • 10 Pages
    Satisfactory Essays
  • Powerful Essays

    Object Oriented Database

    • 5350 Words
    • 22 Pages

    “Choosing the right OODB architecture can mean orders of magnitude difference in performance and scalability characteristics rather than a few percentage points as found in relational implementations.”…

    • 5350 Words
    • 22 Pages
    Powerful Essays
  • Powerful Essays

    We would like to sincerely thank Mr. Venkateswara Rao for introducing us to a novel concept as well as giving us the much awaited opportunity to make this project. It was an interesting project, and also enabled us to appreciate the various theoretical concepts of DBMS.…

    • 3037 Words
    • 13 Pages
    Powerful Essays
  • Good Essays

    Arnold, J. M., Buell, D. A. and Davis, E. G. (1992). Splash-2, ACM Symposium on Parallel Algorithms and Architectures. New york: ACM Press.…

    • 685 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Database management systems (DBMSs) have largely ignored the task of managing the energy consumed during query processing. Both economic and environmental factors now require that DBMSs pay close attention to energy consumption. In this paper we approach this issue by considering energy consumption as a first-class performance goal for query processing in a DBMS. We present two concrete techniques that can be used by a DBMS to directly manage the energy consumption. Both techniques trade energy consumption for performance. The first technique, called PVC, leverages the ability of modern processors to execute at lower processor voltage and frequency. The second technique, called QED, uses query aggregation to leverage common components of queries in a workload. Using experiments run on a commercial DBMS and MySQL, we show that PVC can reduce the processor energy consumption by 49% of the original consumption while increasing the response time by only 3%. On MySQL, PVC can reduce energy consumption by 20% with a response time penalty of only 6%. For simple selection queries with no predicate over-lap, we show that QED can be used to gracefully trade response time for energy, reducing energy consumption by 54% for a 43% increase in average response time. In this paper we also highlight some research issues in the emerging area of energy-efficient data processing.…

    • 1814 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    Unix

    • 789 Words
    • 4 Pages

    Indianapolis IN. Nash, Kim S. "UNIX Databases Handling Larger Loads.," Computerworld. (1995) : May, pp. 67.…

    • 789 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    system like ours to such queries is of vital significance. By using efficient data structures for…

    • 3429 Words
    • 15 Pages
    Powerful Essays

Related Topics