Maximizing Efficiency with Teradata FastExport: A Powerful Tool for Exporting Large Volumes of Data between Teradata Vantage and Client Utilities

Teradata FastExport is a powerful tool for rapidly moving large volumes of data between Teradata Vantage and client utilities. This tool uses multiple sessions to export data to a mainframe-attached or network-attached file quickly.

To execute Teradata FastExport, SQL statements in the FastExport script are executed. The tool has two export modes: RECORD and INDICATOR. By default, INDICATOR mode is used, which utilizes indicator bits to mark NULL values. However, the RECORD mode may be more appropriate if you’re working on mainframes.

One of the major benefits of Teradata FastExport is that it supports exporting data in various formats, such as FASTLOAD, BINARY, TEXT, and UNFORMAT. This flexibility ensures that the exported data can be easily integrated into other systems.

In summary, Teradata FastExport is a highly efficient tool for exporting large volumes of data between Teradata Vantage and client utilities. Its support for multiple export modes and formats ensures maximum compatibility and ease of use.

The Fastload format is used when FastExport copies data from one Teradata system to another. To create plain files, the TEXT format is mainly used.

When to use The Fastexport for Vantage instead of BTEQ?

Teradata FastExport is a valuable tool for optimizing parallelism by utilizing multiple sessions for exporting data. In contrast, BTEQ exports data row by row, making it less efficient for exporting vast amounts of data.

When Teradata FastExport is invoked, it spools the result set of the SQL query. However, it may be necessary to redistribute rows to assemble the data blocks, which can negatively impact performance. To mitigate this, the NOSPOOL option is available, which can enhance performance. However, this option has limitations, as it only supports basic SQL statements that involve selecting from a single table and sorting the exported data is impossible.

In summary, Teradata FastExport is a powerful tool for optimizing parallelism when exporting large amounts of data, making it a more efficient option than BTEQ. However, when utilizing FastExport, it is important to consider the potential need for row redistribution and to be aware of the limitations of the NOSPOOL option.

Here is an example script:

.LOGTABLE dwhpro.customer_log;  
.LOGON localhost/tuning,***;  
   DATABASE dwhpro;  
   .BEGIN EXPORT SESSIONS 4;  
      .EXPORT OUTFILE customers.txt  
      MODE RECORD FORMAT TEXT;
      SELECT CAST(Lastname AS CHAR(10)), 
         CAST(FirstName AS CHAR(15))
      FROM
      Customer;
   .END EXPORT;
.LOGOFF;

All load and export utilities in Teradata Vantage are managed through Teradata Parallel Transporter (TPT). Due to this, using FastExport as a standalone utility is no longer recommended. Instead, TPT provides a centralized scripting language and a wide range of previously unavailable options when using FastExport directly. Hence, users are encouraged to use TPT for data exporting and other tasks in Teradata Vantage.

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.

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.