On enhancing query optimization in the Oracle database system by utilizing attribute cardinality maps

被引:0
|
作者
Oommen, B. John [1 ]
Chen, Jing [1 ]
机构
[1] Carleton Univ, Sch Comp Sci, Ottawa, ON K1S 5B6, Canada
来源
关键词
query optimization; histogram-based algorithms; attribute cardinality maps; ORACLE DBMS; TPC-H benchmark;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Central to the process of query optimization in all real-life modern-day Database Management Systems (DBMS) is the use of histograms. These have been used for decades in approximating query result sizes in the query optimizer, and methods such as the Equi-Width and Equi-Depth histograms have been incorporated in all real-life systems. This is because histograms are simple structures, and can be easily utilized in determining efficient Query Evaluation Plans (QEPs). This paper demonstrates how we can incorporate two recently-developed histogram methods into the ORACLE real-life DBMS. These two new histograms methods were introduced by Oommen and Thiyagarajah [1], and called the the Rectangular Attribute Cardinality Map (R-ACM), and the Trapezoidal Attribute Cardinality Map (T-ACM). The superiority of the R-ACM and the T-ACM in yielding more accurate query result size estimates has been well demonstrated, and the resulting superior QEPs for a theoretically-modeled database was shown in [2]. In this paper we make a "conceptual leap" and demonstrate how the ACMs can be incorporated into a real-life DBMS. This has been done by designing and implementing a prototype which sits on top of an ORACLE 9i system. The integration is achieved in C/C++ and PL/SQL, and serves as a prototype "plug-in" to the ORACLE system, since it is fully integrated and completely transparent to users. The superiority of utilizing the ACM histograms is rigorously validated by conducting an extensive set of experiments on the TPC-H benchmark data sets, and by testing on equi-select and equi-join queries. The entire set of experimental results obtained by integrating the underlying algorithms into the ORACLE query optimizer can be found in [3].
引用
收藏
页码:38 / 71
页数:34
相关论文
共 27 条
  • [1] On utilizing attribute cardinality maps to enhance query optimization in the oracle database system
    Oommen, John
    Chen, Jing
    ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS: HUMAN-COMPUTER INTERACTION, 2006, : IS23 - IS35
  • [2] On utilizing attribute cardinality maps to enhance query optimization in the ORACLE database system
    Oommen, John
    Chen, Jing
    ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS: SOFTWARE AGENTS AND INTERNET COMPUTING, 2006, : IS23 - IS35
  • [3] On utilizing attribute cardinality maps to enhance query optimization in the oracle database system
    Oommen, John
    Chen, Jing
    ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS: ARTIFICIAL INTELLIGENCE AND DECISION SUPPORT SYSTEMS, 2006, : IS23 - IS35
  • [4] On utilizing attribute cardinality maps to enhance query optimization in the oracle database system
    Oommen, John
    Chen, Jing
    ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATIONAL SYSTEMS: DATABASES AND INFORMATION SYSTEMS INTEGRATION, 2006, : IS23 - IS35
  • [5] On utilizing attribute cardinality maps to enhance query optimization in the oracle database system
    Oommen, John
    Chen, Jing
    ICEIS 2006: PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON ENTERPRISE INFORMATION SYSTEMS: INFORMATION SYSTEMS ANALYSIS AND SPECIFICATION, 2006, : IS23 - IS35
  • [6] Prototype validation of the rectangular attribute cardinality map for query optimization in database systems
    Thiyagarajah, M
    Oommen, BJ
    BIS'99: 3RD INTERNATIONAL CONFERENCE ON BUSINESS INFORMATION SYSTEMS, 1999, : 250 - 262
  • [7] The bounded trapezoidal attribute cardinality map and its application to query optimization
    Oommen, BJ
    Chen, J
    PROCEEDINGS OF THE 7TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2003, : 422 - 426
  • [8] Benchmarking attribute cardinality maps for database systems using the TPC-D specifications
    Oommen, BJ
    Thiyagarajah, M
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART B-CYBERNETICS, 2003, 33 (06): : 913 - 924
  • [9] Query Optimization in Oracle 12c Database In-Memory
    Das, Dinesh
    Yan, Jiaqi
    Zait, Mohamed
    Valluri, Satyanarayana R.
    Vyas, Nirav
    Krishnamachari, Ramarajan
    Gaharwar, Prashant
    Kamp, Jesse
    Mukherjee, Niloy
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (12): : 1770 - 1781
  • [10] SQL Query Optimization Methods of Relational Database System
    Li, Dandan
    Han, Lu
    Ding, Yi
    2010 SECOND INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING AND APPLICATIONS: ICCEA 2010, PROCEEDINGS, VOL 1, 2010, : 557 - 560