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 条
  • [21] A Query Optimization Strategy for Implementing Multi Dimensional Model in Spatial Database System
    Tripathy, Animesh
    Mishra, Lizashree
    Patra, Prashanta Kumar
    ICCSIT 2010 - 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, VOL 2, 2010, : 64 - 68
  • [22] QUERY OPTIMIZATION IN A MEMORY-RESIDENT DOMAIN RELATIONAL CALCULUS DATABASE SYSTEM
    WHANG, KY
    KRISHNAMURTHY, R
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1990, 15 (01): : 67 - 95
  • [23] RULE-BASED OPTIMIZATION AND QUERY-PROCESSING IN AN EXTENSIBLE GEOMETRIC DATABASE SYSTEM
    BECKER, L
    GUTING, RH
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 1992, 17 (02): : 247 - 303
  • [24] Piggyback statistics collection for query optimization: Towards a self-maintaining database management system
    Zhu, Q
    Dunkel, B
    Lau, W
    Chen, SY
    Schiefer, B
    COMPUTER JOURNAL, 2004, 47 (02): : 221 - 244
  • [25] Query Optimization of Distributed Database Based on Parallel Genetic Algorithm and Max-Min Ant System
    Ban, Wenjiao
    Lin, Jiming
    Tong, Jichao
    Li, Shiwen
    2015 8TH INTERNATIONAL SYMPOSIUM ON COMPUTATIONAL INTELLIGENCE AND DESIGN (ISCID), VOL 2, 2015, : 581 - 585
  • [26] Join query optimization in the distributed database system using an artificial bee colony algorithm and genetic operators
    Panahi, Vahideh
    Navimipour, Nima Jafari
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2019, 31 (17):
  • [27] Enhancing distribution generator impact mitigation using an adaptive protection scheme based on modified pelican optimization algorithm and active database management system
    Abdelhamid, Mohamed
    Kamel, Salah
    Zeinoddini-Meymand, Hamed
    ENERGY SCIENCE & ENGINEERING, 2023, 11 (11) : 4108 - 4127