Book Image

Teradata Cookbook

By : Abhinav Khandelwal, Viswanath Kasi, Rajsekhar Bhamidipati
Book Image

Teradata Cookbook

By: Abhinav Khandelwal, Viswanath Kasi, Rajsekhar Bhamidipati

Overview of this book

Teradata is an enterprise software company that develops and sells its eponymous relational database management system (RDBMS), which is considered to be a leading data warehousing solutions and provides data management solutions for analytics. This book will help you get all the practical information you need for the creation and implementation of your data warehousing solution using Teradata. The book begins with recipes on quickly setting up a development environment so you can work with different types of data structuring and manipulation function. You will tackle all problems related to efficient querying, stored procedure searching, and navigation techniques. Additionally, you’ll master various administrative tasks such as user and security management, workload management, high availability, performance tuning, and monitoring. This book is designed to take you through the best practices of performing the real daily tasks of a Teradata DBA, and will help you tackle any problem you might encounter in the process.
Table of Contents (19 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Loading data from a one Teradata Database to another


In this recipe, we will lay the steps for how to transfer data from one Teradata Database to another.

This scenario is very common when you have a production database and you need to transfer pieces of rows to your development or testing box. We will use two separate Teradata boxes and copy tables from one to another using the Teradara parallel transporter, the TPT utility. 

The Teradara parallel transporter (TPT) utility has the following features:

  • Extracts data
  • Loads data
  • Updates data

TPT can be invoked via SQL like scripting, by using an API, or with a GUI interface known as TPT wizard. In this recipe, we will use TPT wizard. It is part of the standard Teradata Tools and Utility package, TTU.

The following is the comparison between TPT operators and Teradata utilities:

TPT operator

Teradata equivalent utility

Purpose

DDL operator

BTEQ

DDL, DML, and DCL statements

EXPORT operator

FastExport

Exports data from Teradata Database

LOAD

FastLoad

Loads data into...