SQLs

In this chapter, we will learn techniques that will help in writing statements/SQL queries efficiently. Increasing the efficiency of DDL/DML/DCL statements/SQL queries will reduce the CPU/IO and runtime of a query.

The following topics will be covered:

  • Writing queries
  • Querying efficiently
  • Explain before executing queries
  • Decoding explain
  • Resolving skewing data
  • Resolving skew in databases
  • Solving insert performance
  • Solving delete performance
  • Improving update performance
  • Performing merge into

Get Teradata Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.