Teradata DATABLOCKSIZE: How to Minimize Disk I/Os and Optimize Workload Requirements

What is the Teradata DATABLOCKSIZE Option?

Most of us are familiar with the Teradata option DATABLOCKSIZE, included in the CREATE TABLE statement. However, only a few know how to use it to reduce disk I/Os. This article provides a brief overview of how to use this option effectively.

Teradata stores data in data blocks consisting of multiple sectors on a disk cylinder.

Normally, a data block contains rows from a single table only, with no intermixing of rows from different tables. As such, the block header of each data block includes a table ID that identifies the table to which the block belongs.

Columnar storage was introduced in Teradata 14.10, allowing the values of one or more columns from multiple rows to be compressed into a single data block.

The DATABLOCKSIZE option specifies the number of sectors composing a data block, each with a default size of 512 bytes. Teradata appends an additional 512-byte sector to the data block when it reaches full capacity, continuing until the maximum block size is reached.

Teradata will split a data block into two blocks when it reaches the maximum block size.

What does this mean in practice? The same number of rows can be stored in a few large data blocks or in many smaller ones. Inserting rows into smaller data blocks may lead to more frequent block splits.

The optimal data block size depends on your workload requirements.

Tables accessed through full table scans should have a larger data block size, as this allows multiple rows to be transferred efficiently into AMP memory.

If your table has many distinct index accesses retrieving only a few rows at a time, it is advisable to use smaller data blocks to avoid unnecessarily loading large amounts of data into AMP memory during retrieval.

Related Services

🔧 Need Expert Database Administration?

Our team brings 25+ years of enterprise DBA experience across Teradata, Snowflake, and Oracle.

Meet Our Team →

📋 Considering a Move From Teradata?

Get a personalized migration roadmap in 2 minutes. We have migrated billions of rows from Teradata to Snowflake, Databricks, and more.

Free Migration Assessment →

📊 Data Platform Migration Survey

Help us map where the industry is heading. Results are public — see what others chose.

1. What is your current data platform?

2. Where are you migrating to (or evaluating)?

Migrating FROM
Migrating TO

Thanks for voting! Share this with your network.

Follow me on LinkedIn for daily insights on data warehousing and platform migrations.

Stay Ahead in Data Warehousing

Get expert insights on Teradata, Snowflake, BigQuery, Databricks, Microsoft Fabric, and modern data architecture — delivered to your inbox.

2 thoughts on “Teradata DATABLOCKSIZE: How to Minimize Disk I/Os and Optimize Workload Requirements”

  1. How data blocksize affects the insert/update/delete and select operations?
    Now that teradata has full fallback and compressed systems, what is the impact of data blocksize?

    Reply
  2. The default size set for data block in Teradata is 254 sectors(127 KB). If you specify other values it will be displayed in the create table definition.

    Reply

Leave a Comment

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.