Skip to main content
Log in

Optimization of parallel query execution plans in XPRS

  • Published:
Distributed and Parallel Databases Aims and scope Submit manuscript

Abstract

In this paper, we describe our approach to optimization of query execution plans in XPRS, a multiuser parallel database system based on a shared memory multiprocessor and a disk array. The main difficulties in this optimization problem are the compile-time unknown parameters such as available buffer size and number of free processors, and the enormous search space of possible parallel plans. We deal with these problems with a novel two phase optimization strategy which dramatically reduces the search space and allows run time parameters without significantly compromising plan optimality. In this paper we present our two phase optimization strategy and give experimental evidence from XPRS benchmarks that indicate that it almost always produces optimal or close to optimal plans.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. A. Bhide and M. Stonebraker, “A performance comparision of two architectures for fast transaction processing,” inProc. 1988 IEEE Data Engineering Conf.

  2. D. Bitton, et al., “Benchmarking database systems: A systematic approach,” inProc. 1983 VLDB Conf.

  3. M. Blasgen, et al., “The convoy phenomenon,”Oper. Syst. Rev. vol. 13, no. 2, 1979.

  4. G. Bultzingsloewen, “Optimizing SQL queries for parallel execution,”SIGMOD Rec. vol. 18, no. 4, 1989.

  5. G. Copeland, et al., “Data placement in Bubba,” inProc. 1988 ACM-SIGMOD conf.

  6. D. Cornell and P. Yu, “Integration of buffer manegement and query optimization in relation database environment,” inProc. 1989 VLDB Conf.

  7. D. DeWitt, et al., “GAMMA: A high performance dataflow database machine,” inProc. 1986 VLDB Conf.

  8. G. Graefe and K. Ward, “Dynamic query evaluation plans,” inProc. 1989 ACM-SIGMOD Conf.

  9. W. Hong, “Exploiting inter-operation parellelism in XPRS,” inProc. 1992 ACM-SIGMOD Conf.

  10. R. Katz, and W. Hong, “Performance implications of disk arrays to shared memory database machines,” to appear inDistributed Parallel Databases, 1992.

  11. L. Mackert, et al., “Index scans using a finite LRU buffer: A validated I/O model,”ACM-TODS, Sept. 1989.

  12. M. Murphy and D. Rotem, “Processor scheduling for multiprocessor joins,” inProc. 1989 IEEE Data Engineering Conf.

  13. M. Murphy and M. Shan, “Execution plan balancing,” inProc. 1991 IEEE Data Engineering Conf.

  14. D. Patterson, et al., “RAID: Reduntant arrays of inexpensive disks,” inProc. 1988 ACM-SIGMOD Conf.

  15. J. Richardson, et al., “Design and evaluation of parallel pipelined join algorithms,” inProc. 1987 ACM-SIGMOD Conf.

  16. D. Schneider and D. DeWitt, “A performance evaluation of four parellel join algorithms in a shared nothing environment,” inProc. 1989 ACM-SIGMOD Conf.

  17. D. Schneider and D. DeWitt, “Tradeoffs in processing complex join queries via hashing in multiprocessor database machines,” inProc. 1990 VLDB Conf.

  18. P. Selinger, et al., “Access path selection in a relational data base system,” inProc. 1979 ACM-SIGMOD Conf.

  19. L. Shapiro, “Join processing in database systems with large main memories,”ACM-TODS, Sept. 1986.

  20. M. Stonebraker, “The case for shared nothing,” inProc. 1986 IEEE Data Engineering Conf.

  21. M. Stonebraker, et al., “The design of XPRS,” inProc. 1988 VLDB Conf.

  22. H. Zeller and J. Gray, “An adaptive hash join algorithm for multiuser environments,” inProc. 1990 VLDB Conf.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Hong, W., Stonebraker, M. Optimization of parallel query execution plans in XPRS. Distrib Parallel Databases 1, 9–32 (1993). https://doi.org/10.1007/BF01277518

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01277518

Keywords

Navigation