Teradata Table Skew: Understanding Natural and Artificial Skew with DBC.TableSizeV

tune4

Teradata table skew is a common issue encountered while working with the Teradata database. If you’re reading this page, you may have experienced this problem. Common knowledge When searching for Teradata table skew or skew factor online, most or all documentation will refer directly to DBC.TableSizeV for computation. “To analyze table skew, the commonly utilized …

Read more

How Join Indexes Can Optimize Performance in a Normalized Data Model

tune2

A normalized data model can increase the complexity of creating performant queries due to the higher number of tables that must be linked compared to a denormalized data model. It is essential to select a primary index precisely to optimize queries and joins, enabling them to have a direct access path. However, relationship tables often …

Read more

Save Space with Teradata: Utilizing Block Level Compression and Row Partitioning

tune3

The latest generation of Teradata systems always has Block Level Compression (BLC) enabled. When using MultiValue compression, the compression factor is typically low. How Block Level compression and MultiValue compression relate to each other is shown in detail in the article below: In this article, we will show you a trick on how to use …

Read more

Teradata Tactical Workload

tune2

Introduction This blog post discusses tactical workloads on a Teradata system. Despite Teradata’s implementation of features that support tactical workloads, this workload category remains challenging to manage. Selecting an optimal physical design is essential to meet user expectations for query speed. Designing the Teradata tactical workload on a test environment can be frustrating, especially when …

Read more

Tracking Teradata Statistics Usage with StatUseCountV

admin1

How to find out if the Teradata Statistics we created for a specific workload are used? Teradata statistics greatly affect SQL query efficiency. We require a protocol that can accurately furnish us with this information. Various objects, such as tables and join indexes, can have statistics collected on them. As performance tuners, it is important …

Read more

Designing Teradata Row Partitioning for Optimal Performance in Tactical Workloads

tune3

Teradata is commonly used for tactical workloads and OLTP applications in my projects. However, it is crucial to avoid designing the databases thoughtlessly. Teradata excels as a database for strategic data warehousing. High-performance queries can often be achieved without special design techniques. Keeping statistics current and correctly designing row partitioning is typically sufficient, while other …

Read more

The Importance of Up-to-Date Statistics for Teradata SQL Tuning

tune1

1. Complete and up-to-date Statistics At the start of Teradata SQL Tuning, statistics are a vital concern. The Teradata Optimizer employs statistics to formulate the optimal execution plan for our query. The adequacy of statistics or dynamic AMP sampling varies according to the data demographics. To initiate optimization, updated statistics must be provided to the …

Read more

What is Teradata Query Rewriting? Top 6 Optimization Techniques Explained

tune3

What is Teradata Query Rewriting? Teradata query rewriting is an integral component of the optimization process for Teradata. The optimizer replaces your query with a more efficient and faster version. Both queries must produce identical results. Teradata implements various optimization techniques to enhance performance. We will demonstrate the commonly used optimization methods. 1. Removing unreferenced …

Read more

Maximizing Performance with Teradata Dynamic AMP Sampling: An Introduction

tune4

Introduction to Teradata Dynamic AMP Sampling Teradata calculates dynamic AMP samples for indexed columns (PI, USI, NUSI) at runtime without requiring statistics. These samples provide key information, including table cardinality and distinct values. They are stored in the FSG cache of each AMP’s table header. This process is referred to as dynamic AMP sampling. A …

Read more

Understanding Teradata Join Estimation: Heuristics and Importance of Statistics Collection

tune4

What is Teradata Join Estimation? This article demonstrates the functioning of Teradata Join Estimation in the absence of statistics. It presents the heuristics employed to estimate row count and emphasizes the cruciality of collecting statistics on all join columns. Teradata Join Estimation Heuristics The worst scenario involves joining two tables without any collected statistics. We …

Read more

DWHPro

Expert network for enterprise data platforms. Senior consultants, project teams built for your challenge — across Teradata, Snowflake, Databricks, and more.

📍Vienna, Austria & Miami, Florida

Quick Links
Services Team Teradata Book Blog Contact Us
Connect
LinkedIn → [email protected]
Newsletter

Join 4,000+ data professionals.
Weekly insights on Teradata, Snowflake & data architecture.