Teradata Transactions: Main Characteristics and Best Practices Widely read

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

What Are The Main Characteristics Of Transactions in Teradata? The Teradata Mode For Transactions Various techniques exist for composing SQL statements and applying transaction handling. Each approach has unique benefits, drawbacks, and characteristics worth considering. Let’s examine two sequential statements as an illustration: Using Teradata Mode With Explicit Transaction These statements can be executed as …

Read more

Building a Teradata Data Warehouse: Considerations for ETL Process, SQL Queries, and Physical Data Model Popular

Illustration of a network graph with circular nodes joined by lines

This post aims to compile all crucial aspects to be considered while constructing a Teradata Data Warehouse, including the ETL process and SQL queries. This list is just the beginning, and I anticipate receiving valuable feedback from my readers to expand it in the future. Initially, I have provided a few concepts, but I intend …

Read more

Teradata Access Paths: 8 Essential Ones to Know

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

Hash indexes remain supported: creation executed in the isolated fixture. Single-table join indexes offer overlapping and broader capabilities, but have not made hash indexes nonexistent. 🎓 Prefer video? Lecture 6 of my Udemy course Teradata Performance Tuning in Practice, “The access paths the optimizer can choose”, covers this topic. See the course on Udemy → …

Read more

Optimizing Teradata Joins: Handling Skewed Workloads with Partial Redistribution and Partial Duplication Popular

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

How does Teradata handle Skew in Joins? The imbalanced workload is a primary issue that must be addressed in performance optimization. 🎓 Prefer video? Lecture 11 of my Udemy course Teradata Performance Tuning in Practice, “Skewed joins: partial redistribution and duplication”, covers this topic. See the course on Udemy → Efficient optimization is crucial for …

Read more

Choosing the Right Teradata Data Types Widely read

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

How Do I Select The Appropriate Data Type In Teradata? Converting data types incurs substantial costs and demands significant CPU resources when dealing with extensive tables. Incorrect data type selection hinders the execution plan. This article will discuss selecting appropriate data types for optimal performance. Consistency in selecting data types across different tables is crucial, …

Read more

Teradata Referential Integrity: What it is and Why You Need it for Data Consistency and Performance Popular

Illustration of a dense isometric network of connected data nodes

Introduction to Teradata Referential Integrity Teradata implements 3 Types of Referential Integrity. 1. What is Standard Referential Integrity? The Standard Referential Integrity checks every Row INSERT, DELETE, or UPDATE immediately to ensure referential integrity. A reference index sub-table is required for referential integrity. Violation of referential integrity results in the failure of execution and generates …

Read more

Maximizing Performance with Multiple Teradata Sessions Popular

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

Teradata Sessions explained in a few Sentences Example 1: Multiple Sessions which do not improve performance Multiple sessions can improve throughput for compatible all-AMP scans or independent tables as well as rowhash access. Benefit depends on workload concurrency and resource contention, not a universal fewer-than-all-AMP rule. Example 2: Multiple Sessions which do improve performance In …

Read more

Teradata Table Design Checklist: Primary Index, Character Set, and Data Type Considerations Popular

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

Teradata Table Design Checklist As creating tables is a frequent task, I deemed it necessary to provide a checklist. 1. Primary Index Or NOPI Table? The Primary Index serves multiple purposes, primarily functioning as the primary access path to the data and being optimized for an even distribution of rows. However, designing a table without …

Read more

Teradata Architecture: How Shared-Nothing Parallelism Works Widely read

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

Teradata Query Parallelism Teradata can execute scans, joins, sorts and aggregations in parallel. The chosen plan determines how many AMPs participate; a primary-index lookup can use one AMP, and dependencies may serialize parts of a request. 🎓 Prefer video? Lecture 2 of my Udemy course Teradata Performance Tuning in Practice, “Shared-nothing parallelism: nodes, PEs and …

Read more

Optimizing Teradata System Performance: Identify and Improve Resource-Consuming Queries

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

This query analyzes DBQL query records, not individual execution steps. It requires populated logging data. HASHAMP()+1 is only appropriate when it matches the participating-AMP scope; adapt that input for maps and restricted-AMP work. Ties in Wasted_CPU need a stable query identifier for reproducible ranks. Zero total waste returns NULL rather than a percentage. Improve the Performance of …

Read more

Protected by Security by CleanTalk and CleanTalk Anti-Spam