DWHPro Insights

Insights

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

Improve Performance with Teradata PPI Tables: Get a Grip on Clumpy Row Distribution

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

This example distinguishes repeated primary-index values from duplicate complete rows. Duplicate-row checking is relevant to SET semantics; a UNIQUE primary index adds a different uniqueness constraint. Measure load costs and partition probing together rather than treating the design as a universal performance fix. Get a Grip on Clumpy Row Distribution – the Teradata PPI Table. For …

Read more

“Explore Teradata’s Shared Nothing Architecture with Our Video Course”

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

This historical video introduces Teradata’s classic shared-nothing architecture and component interactions. Hashing does not guarantee even data or workload distribution: primary-index values, maps and intermediate-result skew matter. Platform-specific details in the recording should be checked against current documentation. http://youtu.be/uwRdLr8sRdY

Teradata Physical Storage: Understanding the Technical Details for Performance Optimization Most read

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

A thorough understanding of the Teradata system’s technical intricacies is crucial to attaining expertise in performance optimization. Although many of us are knowledgeable about existing optimization opportunities, resolving complex performance issues often requires an in-depth understanding of internal data storage. The physical medium may be HDD, SSD or a cloud storage service, depending on deployment. …

Read more

An Introduction to Teradata Recursions: Generating Date Ranges Without a Physical Table

Illustration of a glossy orange database cylinder with data fragments across its surface

 Introduction to Teradata Recursions To link records from a primary table with a specific date range from a secondary table, a common requirement is to create a simulated history table with snapshot dates using a change history table with defined timelines. Consider the following illustration: The proposed solution would resemble this: If the system calendar …

Read more

Teradata Date Format: CAST, TO_CHAR and TO_DATE Examples Most read

Illustration of a glossy orange database cylinder with data fragments across its surface

To format a Teradata DATE as text, use TO_CHAR. To convert text into a DATE, use CAST with an explicit input format or TO_DATE. These operations solve different problems: a DATE value does not store the slashes, dashes or month names you see on screen. Verified example: DATE value versus formatted text Lab verification: 22 …

Read more

How To Speed Up Your PPI Tables With A Secondary Index

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

Teradata offers various options for designing Partitioned Primary Index Tables. The optimal design choice depends on the anticipated workload. This article examines the impact of partitioning methods on the access path selected by the Teradata Optimizer, ultimately influencing system performance. To begin, a test scenario is required, which consists of two identical tables. The sole …

Read more

Protected by Security by CleanTalk