Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

Advertisement

Springer Nature Link
Log in

SQL Queries with CASE Expressions

  • Conference paper

Part of the book series:Lecture Notes in Computer Science ((LNAI,volume 4994))

Included in the following conference series:

  • 1066Accesses

Abstract

In recent years more and more queries are generated automatically by query managers/builders with end-users providing only specific parameters through GUIs. Queries generated automatically can be quite different from queries written by humans. In particular, they contain non-declarative features, most notorious of which is theCASE expression. Current query optimizers are often ill-prepared for the new types of queries as they do not deal well with procedural ‘insertions’. In this paper, we discuss the inefficiencies ofCASE expressions and present several new optimization techniques to address them. We also describe experimental evaluation of the prototype implemented in DB2 UDB V8.2.

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

Access this chapter

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. Burns, D.: Improving sql efficiency using case,http://oracledoug.com/case.html

  2. Dalvi, N.N., Sanghai, S.K., Roy, P., Sudarshan, S.: Pipelining in multi-query optimization. In: Proceedings of PODS, pp. 59–70 (2001)

    Google Scholar 

  3. Haas, L., Freytag, J., Lohman, G., Pirahesh, H.: Extensible query processing in starburst. In: SIGMOD Proceedings, pp. 377–388. ACM, New York (1989)

    Google Scholar 

  4. Henderyckx, J.: Version 5 case expressions: beyond sql reference. The IDUG Solutions Journal 5(3), 38–45 (1998)

    Google Scholar 

  5. Lehner, W., Cochrane, B., Pirahesh, H., Zaharioudakis, M.: fAST refresh using mass query optimization. In: Proceedings of ICDE, pp. 391–400 (2001)

    Google Scholar 

Download references

Author information

Authors and Affiliations

  1. Department of Computer Science and Engineering, York University, Toronto, Canada

    Jarek Gryz

  2. IBM Laboratory,  , Toronto, Canada

    Qiong Wang, Xiaoyan Qian & Calisto Zuzarte

Authors
  1. Jarek Gryz

    You can also search for this author inPubMed Google Scholar

  2. Qiong Wang

    You can also search for this author inPubMed Google Scholar

  3. Xiaoyan Qian

    You can also search for this author inPubMed Google Scholar

  4. Calisto Zuzarte

    You can also search for this author inPubMed Google Scholar

Editor information

Aijun An Stan Matwin Zbigniew W. Raś Dominik Ślęzak

Rights and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gryz, J., Wang, Q., Qian, X., Zuzarte, C. (2008). SQL Queries with CASE Expressions. In: An, A., Matwin, S., Raś, Z.W., Ślęzak, D. (eds) Foundations of Intelligent Systems. ISMIS 2008. Lecture Notes in Computer Science(), vol 4994. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-68123-6_38

Download citation

Publish with us


[8]ページ先頭

©2009-2025 Movatter.jp