Teradata MERGE INTO vs. UPDATE: Performance Comparison and Limitations

sql1

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 due to certain properties related to its performance. MERGE INTO offers an advantage in lower IOs as Teradata processes each …

Read more

Teradata Antiselect: The Reverse Logic of Selecting Columns for Specific Purposes

sql1

Teradata has incorporated several analytical functions from Teradata Aster in its recent releases. Although many of these functions are tailored for web click analysis, Teradata Antiselect has proven valuable for specific applications. What is the Teradata Antiselect function? Teradata’s Antiselect function allows for the reversal of column selection logic. Rather than specifying columns to select, …

Read more

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

Loading Data into Teradata using Python and Fastload

tool3

This article assumes prior basic knowledge of Python and demonstrates the easy process of loading data using Python and the Teradata SQL Driver for Python with Fastload. If you are using Windows, we recommend using WinPython if you don’t have Python installed yet. Because a Jupyter Notebook is included, we use it to show how …

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

The Teradata Recursive Query for Performance Tuning

sql1

Problem-solving without a Teradata Recursive Query To depict a corporate hierarchy in our instance, we can employ a non-recursive approach, illustrated by the query presented below: The above query has several harmful properties: Problem-solving with a Teradata Recursive Query The above recursive query has several benefits: The only modification required to enlarge the Company_Hierarchy column …

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

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.