DWHPro Insights

Insights

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

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

How to Simplify Database-to-Database Table Copying with Teradata Parallel Transporter (TPT) and tdload Popular

Icon of a chrome hammer inside an orange circle over a brick pattern

The Teradata Parallel Transporter (TPT) is a Teradata Tools and Utilities (TTU) product. Teradata TPT offers under one roof an SQL-like scripting language that simplifies the syntax of old Teradata Utilities for handling external data (e.g., FastLoad, MultiLoad, TPump, BTEQ, and FastExport). Copying Tables between Teradata Systems A classic approach to perform a database-to-database table …

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

Exploring the Different Join Methods in Relational Database Systems: Pros, Cons, and Use Cases

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

Introduction Relational databases are essential for contemporary data management and analysis. Joining tables, which merges data from two or more tables based on a shared column or condition, is a fundamental operation in these systems. Various join methods exist in relational databases, each with unique advantages and disadvantages. This article examines the different join methods, …

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

How to Migrate a Teradata Virtual Machine from VMware to Proxmox Popular

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

This article outlines the procedure for migrating the Teradata virtual machine image from VMware to a level 1 hypervisor. This historical workflow concerns a Teradata virtual machine image. Confirm current image availability, guest support and hypervisor compatibility in the vendor documentation. To run Teradata virtual machine on a different server, you must install the operating …

Read more

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

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

Teradata uses different join methods and data-placement strategies. Rows to be matched must meet at the executing AMP, which can require duplication, redistribution or sorting. Some methods need less preparation than others, but lower preparation cost does not mean zero geography or resource cost. We should consider the following costs in the join strategy: The …

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. The displayed historical MERGE plan avoids the update spool shown in the comparison. MERGE can use …

Read more

Teradata Antiselect: Selecting All Columns Except the Ones You Exclude Popular

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

The comparison section supplies both three-column target definitions; provide the OldMapping and NewMapping source tables. Run the separate demonstrations with unused table names. Two directional MINUS checks compare distinct rows; they do not prove that duplicate multiplicities match. Teradata has incorporated several analytical functions from Teradata Aster in its recent releases. Although many of these …

Read more

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

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

Protected by Security by CleanTalk