DWHPro Insights

primary index

SQL Tuning Goals: Improving Performance and Reducing Resource Usage Popular

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

Learn about the goals of SQL tuning and how to optimize database performance by reducing resource usage. Skew, IOs, and CPU seconds are key metrics. Discover how to ensure completeness and correctness of Teradata statistics, detect missing and stale statistics, and improve query plans.

Understanding Teradata DBQL Tables and Query Logging Widely read

Illustration of a person in a suit standing beside a database cylinder

Learn about Query Logging with Teradata DBQL Tables, a powerful feature for workload analysis and performance tuning. Configure settings and select which key figures to store and their level of detail. The article covers how to implement and activate DBQL tables, determine which information to collect, and analyze tactical queries.

Teradata Set Operators: Understanding UNION vs. UNION ALL for Peak Performance Optimization Widely read

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

In this article, we will delve into the world of Teradata set operators, exploring their functionality, applications for attaining peak performance, and the optimization techniques employed by Teradata. Teradata UNION vs. UNION ALL What sets UNION apart from UNION ALL in Teradata? The Teradata UNION operator combines the results of two or more queries, removing …

Read more

Optimizing Teradata Performance through Statistics and Primary Index Selection Widely read

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

1. Statistics In Teradata, understanding and managing statistics is essential for optimizing database performance. Statistics provide the optimizer with precise data about stored information, allowing for well-informed decisions when handling queries. This article will explore the significance of statistics in Teradata, their effect on query performance, and recommended methods for upkeep. The Role of Statistics …

Read more

Understanding Deadlocks in Teradata: Prevention and Handling Strategies Widely read

Illustration of a person in a suit standing beside a database cylinder

What are Deadlocks in Teradata? Deadlocks arise when two transactions hold locks on database objects required by the other transaction. Here is an example of a deadlock: Transaction 1 locks some rows in Table 1, and transaction 2 locks some rows in Table 2. The next step of transaction 1 is to lock rows in table 2, and …

Read more

Streamlining Table Cloning in Teradata and Leveraging Zero-Copy Cloning in Snowflake

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

Table cloning is required for purposes such as data backup, testing, and replication. Teradata, a leading data warehousing platform, provides an efficient method for cloning tables. However, Snowflake, a cloud-based data warehousing platform, offers an even more effective approach with its zero-copy cloning feature. This article will compare table cloning in Teradata with Snowflake’s zero-copy …

Read more

Teradata Row Retrieval: Understanding Hashing, Indexing, and Search Algorithms

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

Introduction Teradata uses various mechanisms, such as hash maps, master and cylinder indexes, and binary and sequential search algorithms, to locate table rows. This article explains the process of locating table rows in Teradata using these elements and techniques. Hash Maps Teradata’s architecture utilizes the Massively Parallel Processing (MPP) model, which distributes data among Access …

Read more

Teradata Join Strategy: The Benefits and Costs of Merge and Product Join Methods

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

Teradata employs various join methods and techniques to merge the rows of two tables onto a single AMP, which is essential for joining. The combination of join technique and data geography is called the join strategy, and its goal is to reduce resource consumption (CPU seconds, I/Os). Some join methods, like the Teradata Merge Join, …

Read more

Teradata MERGE INTO vs. UPDATE: Performance Comparison and Limitations Popular

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

Teradata MERGE INTO vs. UPDATE This article compares the UPDATE statement to the MERGE INTO statement, analyzing their respective performance differences and limitations. The Teradata MERGE INTO statement positively impacts performance by reducing I/O operations through the following properties. MERGE INTO offers an advantage in lower IOs as Teradata processes each data block only once …

Read more

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

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

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 used …

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 & Jacksonville, 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.