DWHPro Insights

Insights

327 technical articles on Teradata, Snowflake, Databricks, SQL tuning and data warehouse architecture — written from production experience, not vendor decks.

Teradata Denormalization for Performance Tuning

Illustration of a stopwatch dial on an orange paint-splash background

Avoid data warehouse project failures by choosing the right data model. In this article, we explore denormalization techniques for when it makes sense, including repeating groups, prejoins, and derived information. We also discuss alternatives to denormalization, such as Global Temporary Tables and Volatile Tables. Remember, denormalization can improve performance but has significant drawbacks and should be used only when necessary.

Teradata Permanent Journaling: Snapshot Your Tables Before and After Changes

Illustration of three stacked database units of differing heights inside a circle

Permanent journals store configured before and/or after images of changes, not whole-table snapshots before each transaction. Transient journaling also records recovery information for changes rather than an upfront copy of the entire table. Journaling can be implemented at the table or database level. Even if database-level journaling is enabled, individual tables can have journaling disabled …

Read more

How to get SQL Query Stats in Teradata Popular

Illustration of a stopwatch dial on an orange paint-splash background

Learn how to determine SQL Query Performance in Teradata with these three essential parameters: AMPCPUTime, TotalIOCount, and SpoolUsage. Discover how to get SQL Query Stats and make the right decision for your queries using the DBC tables DBQLOGTBL and DBQLSQLTBL. Follow these three points to consider while running the query and get accurate results.