Multiple query optimization in middleware using query teamwork

被引:3
|
作者
O'Gorman, K [1 ]
El Abbadi, A
Agrawal, D
机构
[1] Calif Polytech State Univ San Luis Obispo, Dept Comp Sci, San Luis Obispo, CA 93407 USA
[2] Univ Calif Santa Barbara, Dept Comp Sci, Santa Barbara, CA 93109 USA
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2005年 / 35卷 / 04期
关键词
query teamwork; multiple query optimization; middleware;
D O I
10.1002/spe.640
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Multiple concurrent queries occur in many database settings. This paper describes the use of middleware as an optimization tool for such queries. Since common subexpressions derive from common data and the data is usually greatest at the source, the middleware exploits the presence of sharable access patterns to underlying data, especially scans of large portions of tables or indexes, in environments where query queuing or hatching is an acceptable approach. The results show that simultaneous queries with such sharable accesses have a tendency to form synchronous groups (teams) which benefit each other through the operation of the disk cache, in effect using it as an implicit pipeline. The middleware exploits this tendency by queuing and scheduling the queries to promote this interaction, using an algorithm designed to promote such teamwork. This is implemented as middleware for use with a commercial database engine. The results include tests using the query mix from the TPC Benchmark (TM) R, achieving a speed-up of 2.34 over the default scheduling provided by one database. Other results show that the success depends on the details of the computing environment. Copyright (c) 2004 John Wiley & Sons, Ltd.
引用
收藏
页码:361 / 391
页数:31
相关论文
共 50 条
  • [1] Multiple query optimization by cache-aware middleware using query teamwork
    O'Gorman, K
    Agrawal, D
    El Abbadi, A
    [J]. 18TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING, PROCEEDINGS, 2002, : 274 - 274
  • [2] Adaptable query optimization and evaluation in temporal middleware
    Slivinskas, G
    Jensen, CS
    Snodgrass, RT
    [J]. SIGMOD RECORD, 2001, 30 (02) : 127 - 138
  • [3] MULTIPLE-QUERY OPTIMIZATION
    SELLIS, TK
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 1988, 13 (01): : 23 - 52
  • [4] Multi query optimization using query pack trees
    Dekeyser, S
    [J]. XML-BASED DATA MANAGEMENT AND MULTIMEDIA ENGINEERING-EDBT 2002 WORKSHOPS, 2002, 2490 : 544 - 554
  • [5] Heuristic query optimization for query multiple table and multiple clausa on mobile finance application
    Indrayana, I. N. E.
    Wirasyanti D P, N. M.
    Sudiartha, I. K. G.
    [J]. 2ND INTERNATIONAL JOINT CONFERENCE ON SCIENCE AND TECHNOLOGY (IJCST) 2017, 2018, 953
  • [6] On multiple query optimization in data mining
    Wojciechowski, M
    Zakrzewicz, M
    [J]. ADVANCES IN KNOWLEDGE DISCOVERY AND DATA MINING, PROCEEDINGS, 2005, 3518 : 696 - 701
  • [7] Using Multiple Query Expansion Algorithms to Predict Query Performance
    Pal, Dipasree
    Mitra, Mandar
    Bhattacharya, Samar
    [J]. 2014 FOURTH INTERNATIONAL CONFERENCE OF EMERGING APPLICATIONS OF INFORMATION TECHNOLOGY (EAIT), 2014, : 361 - 364
  • [8] Distributed Query Engine for Multiple-Query Optimization over Data Stream
    Yang, Junye
    Zhang, Yong
    Wang, Jin
    Xing, Chunxiao
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, 2019, 11448 : 523 - 527
  • [9] A multiple continuous query optimization method based on query execution pattern analysis
    Watanabe, Y
    Kitagawa, H
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS, 2004, 2973 : 443 - 456
  • [10] Distributed query optimization by query trading
    Pentaris, F
    Ioannidis, Y
    [J]. ADVANCES IN DATABASE TECHNOLOGY - EDBT 2004, PROCEEDINGS, 2004, 2992 : 532 - 550