Skip to main content

Block Optimization in the Teradata RDBMS

  • Conference paper
Database and Expert Systems Applications (DEXA 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2736))

Included in the following conference series:

Abstract

Block optimization involves several techniques used to avoid optimizing blocks or parts of a query separately. This process may involve integrating views, derived tables, and subqueries with the rest of the query. For those query blocks that cannot be integrated with the rest of the query, the Teradata optimizer tries to simplify and optimize these blocks. Such optimizations can be achieved using the satisfiability test (checking if a set of conditions are satisfiable) and generating transitive closure, which allows pushing constraints into and out of query blocks. Several new Block Optimization techniques, added to the new release of Teradata DBMS (V2R5), are described.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Blakeley, J.A., Cobum, N., Larson, P.A.: Updating derived relations: Detecting/Irrelevant and autonomously computable updates. In: VLDB, vol. 12, Kyoto, pp. 457–466 (1986)

    Google Scholar 

  2. Chakravarthy, U., Grant, J., Minker, J.: Logic-based approach to semantic query optimization. ACM TOD 15(2), 162–207 (1990)

    Article  Google Scholar 

  3. Cheng, Q., Gryz, J., Koo, F.: Implementation of Two Semantic Query Optimization Techniques in DB2 Universal Database. In: VLDB, vol. 25, Edinburgh (1999)

    Google Scholar 

  4. Chaudhuri, S., Shim, K.: Including Group By in Query Optimization. In: VLDB, vol. 20, Santiago Chile (1994)

    Google Scholar 

  5. Ghazal, A., Ouksel, A.: Termination of Programs in Constraint Query Languages. In: 1994 Symposium on Applied Computing, Special Track on Computational Logic, Phoenix, Arizona (March 1994)

    Google Scholar 

  6. Ghazal, A., Ouksel, A.: Subsumption in Constraint Query Languages Involving Disjunctions of Range Constraints, Fort Lauderdale, Florida (January 1994)

    Google Scholar 

  7. King, J.J.: Query Optimization by semantic reasoning Dept of Computer Science Stanford University (1981)

    Google Scholar 

  8. Larson, P.A., Yang, H.Z.: Computing queries from derived relations. In: VLDB, vol. 11, pp. 259–269 (1985)

    Google Scholar 

  9. Levy, A.Y., Mumick, I., Sagiv, Y.: Query optimization by predicate move-around. In: Proc. of VLDB, pp. 96–108 (1994)

    Google Scholar 

  10. Mumick, I., Pirahesh, H.: Implementation of magic sets in Starburst. In: Proc. SIGMOD (1994)

    Google Scholar 

  11. Paulley, G., Larson, P.: Exploiting uniqueness in query optimization. In: Proceeding of ICDE, pp. 68–79 (1994)

    Google Scholar 

  12. Pirahesh, H., Hellerstein, J.M., Hasan, W.: Extensible/rule based query rewrite optimization in Starburst. In: Proc. SIGMOD, pp. 39–48 (1992)

    Google Scholar 

  13. Rosenkrantz, D., Hunt, H.I.: Processing conjunctive predicates and queries. In: VLDB, vol. 80, pp. 64–72.

    Google Scholar 

  14. Shenoy, S.T., Ozsoyoglu, Z.M.: Design and implementation of a semantic query optimizer. IEEE Transactions on Knowledge and Data Engineering 1(3), 344–361 (1989)

    Article  Google Scholar 

  15. Sun, X.H., Kamel, N., Ni, L.: Processing implications on queries. IEEE Transactions on Software Engineering 15(10), 1168–1175 (1990)

    MathSciNet  Google Scholar 

  16. Transaction Processing Performance Council, 777 No. First Street, Suite 600, San Jose, CA 95112 6311. TPC Benchmark H, 1.5.0 edition, July 12 (2002), http://www.tpc.org

  17. Yan, W.P., Larson, P.-A.: Performing Group By Before Join. In: Proceedings of the 10th IEEE International Conference on Data Engineering, Houston, TX, pp. 89–100 (1994)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ghazal, A., Bhashyam, R., Crolotte, A. (2003). Block Optimization in the Teradata RDBMS. In: Mařík, V., Retschitzegger, W., Štěpánková, O. (eds) Database and Expert Systems Applications. DEXA 2003. Lecture Notes in Computer Science, vol 2736. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45227-0_76

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45227-0_76

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40806-2

  • Online ISBN: 978-3-540-45227-0

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics