Teradata Cookbook

Data management and analytics simplified with Teradata
Preview in Mapt

Teradata Cookbook

Abhinav Khandelwal, Rajsekhar Bhamidipati

1 customer reviews
Data management and analytics simplified with Teradata
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $35.99
Save 72%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$10.00
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Teradata Cookbook Book Cover
Teradata Cookbook
$ 35.99
$ 10.00
Oracle Data Integrator 11g Cookbook Book Cover
Oracle Data Integrator 11g Cookbook
$ 32.99
$ 10.00
Buy 2 for $20.00
Save $48.98
Add to Cart

Book Details

ISBN 139781787280786
Paperback454 pages

Book Description

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

Chapter 1: Installation
Setting up Teradata 15.10
Setting up Teradata Studio Express
Teradata on Azure
Defining a connection
Connecting to the Teradata system
Setting up Teradata SQLA
Configuring SQLA
Building a query builder
Importing data
Exporting data
Chapter 2: SQLs
Introduction
Writing queries
Querying efficiently
Explain before executing queries
Decoding explain
Resolving skewing data
Resolving skew in database
Solving insert performance
Improving delete performance
Improving update performance
Performing MERGE INTO
Chapter 3: Advanced SQL with Backup and Restore
Introduction
Exploring ordered analytic functions
Using CASE statements
Working with correlated subqueries
Experimenting with JSON
Partitioning tables column wise
Archiving data dictionary 
Archiving databases
Archiving PPI tables
Restoring a table
Generating a unique row number
Chapter 4: All about Indexes
Introduction
Creating a partitioned primary index to improve performance
Creating a join index to improve performance
Creating a secondary index to improve performance
Creating a hash index to improve performance
Chapter 5: Mixing Strategies – Joining of Tables
Introduction
Identifying skewness in joins
Identify the right columns for joins
Eliminating product joins
Improving left join
Improving Teradata joins
Chapter 6: Building Loading Utility – Replication and Loading
Introduction
Loading data from flat to Teradata
Resolving FastLoad error 2652
Using MultiLoad to delete
Resolving MLOAD error 2571
Resolving failure 7547
Upserting data using MLOAD
Loading data from a one Teradata Database to another
Chapter 7: Monitoring the better way
Introduction
Configuring the viewpoint portlet
Identifying killer queries in viewpoint
Setting up viewpoint alerts
Changing and managing filters
Changing and managing throttle
Defining a ruleset
Creating a TASM exception
Chapter 8: Collect Statistics the Better Way
Introduction
How to collect statistics
Identifying stats for a table
Identifying multi-column stats
How to collect expression stats
How to copy statistics
Using help and show to resolve query issues
Chapter 9: Application and OPS DBA Insight
Introduction
Creating, copying, and dropping tables
Working with views
Defining workloads based on application
Securing passwords using Teradata Wallet
Shrinking your data size
Using query band
Chapter 10: DBA Insight
Introduction
Creating a Teradata database
Creating a Teradata database user
Creating profiles and assigning them to users
Creating a Secure Zone
Creating user accounts
Investigating phantom and leftover spool issues
Unlocking archive HUT locks
Chapter 11: Performance Tuning
Introduction
Resolving a slow or hung system
Monitoring slow queries
Aborting a session from the supervisor window
Resolving AWT saturation
Identifying suspect queries
Managing DBC space
Optimizing queries
Chapter 12: Troubleshooting
Introduction
Restarting the TD system
Insufficient memory to parse this request
Recovering AMP down
Performing scandisk on the system
Unlocking the DBC
Managing the FSG cache

What You Will Learn

  • Understand Teradata's competitive advantage over other RDBMSs.
  • Use SQL to process data stored in Teradata tables.
  • Leverage Teradata’s available application utilities and parallelism to play with large datasets
  • Apply various performance tuning techniques to optimize the queries.
  • Acquire deeper knowledge and understanding of the Teradata Architecture.
  • Easy steps to load, archive, restore data and implement Teradata protection features
  • Gain confidence in running a wide variety of Data analytics and develop applications for the Teradata environment

Authors

Table of Contents

Chapter 1: Installation
Setting up Teradata 15.10
Setting up Teradata Studio Express
Teradata on Azure
Defining a connection
Connecting to the Teradata system
Setting up Teradata SQLA
Configuring SQLA
Building a query builder
Importing data
Exporting data
Chapter 2: SQLs
Introduction
Writing queries
Querying efficiently
Explain before executing queries
Decoding explain
Resolving skewing data
Resolving skew in database
Solving insert performance
Improving delete performance
Improving update performance
Performing MERGE INTO
Chapter 3: Advanced SQL with Backup and Restore
Introduction
Exploring ordered analytic functions
Using CASE statements
Working with correlated subqueries
Experimenting with JSON
Partitioning tables column wise
Archiving data dictionary 
Archiving databases
Archiving PPI tables
Restoring a table
Generating a unique row number
Chapter 4: All about Indexes
Introduction
Creating a partitioned primary index to improve performance
Creating a join index to improve performance
Creating a secondary index to improve performance
Creating a hash index to improve performance
Chapter 5: Mixing Strategies – Joining of Tables
Introduction
Identifying skewness in joins
Identify the right columns for joins
Eliminating product joins
Improving left join
Improving Teradata joins
Chapter 6: Building Loading Utility – Replication and Loading
Introduction
Loading data from flat to Teradata
Resolving FastLoad error 2652
Using MultiLoad to delete
Resolving MLOAD error 2571
Resolving failure 7547
Upserting data using MLOAD
Loading data from a one Teradata Database to another
Chapter 7: Monitoring the better way
Introduction
Configuring the viewpoint portlet
Identifying killer queries in viewpoint
Setting up viewpoint alerts
Changing and managing filters
Changing and managing throttle
Defining a ruleset
Creating a TASM exception
Chapter 8: Collect Statistics the Better Way
Introduction
How to collect statistics
Identifying stats for a table
Identifying multi-column stats
How to collect expression stats
How to copy statistics
Using help and show to resolve query issues
Chapter 9: Application and OPS DBA Insight
Introduction
Creating, copying, and dropping tables
Working with views
Defining workloads based on application
Securing passwords using Teradata Wallet
Shrinking your data size
Using query band
Chapter 10: DBA Insight
Introduction
Creating a Teradata database
Creating a Teradata database user
Creating profiles and assigning them to users
Creating a Secure Zone
Creating user accounts
Investigating phantom and leftover spool issues
Unlocking archive HUT locks
Chapter 11: Performance Tuning
Introduction
Resolving a slow or hung system
Monitoring slow queries
Aborting a session from the supervisor window
Resolving AWT saturation
Identifying suspect queries
Managing DBC space
Optimizing queries
Chapter 12: Troubleshooting
Introduction
Restarting the TD system
Insufficient memory to parse this request
Recovering AMP down
Performing scandisk on the system
Unlocking the DBC
Managing the FSG cache

Book Details

ISBN 139781787280786
Paperback454 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Oracle Data Integrator 11g Cookbook Book Cover
Oracle Data Integrator 11g Cookbook
$ 32.99
$ 10.00
Practical Time Series Analysis Book Cover
Practical Time Series Analysis
$ 35.99
$ 10.00
MySQL 8 Cookbook Book Cover
MySQL 8 Cookbook
$ 39.99
$ 10.00
Go Web Development Cookbook Book Cover
Go Web Development Cookbook
$ 35.99
$ 10.00
Windows Server 2016 Administration Cookbook Book Cover
Windows Server 2016 Administration Cookbook
$ 23.99
$ 10.00
Microsoft Operations Management Suite Cookbook Book Cover
Microsoft Operations Management Suite Cookbook
$ 31.99
$ 10.00