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

Performing scandisk on the system


Teradata Database, as we know, provides a layer of security to your data, and to maintain its integrity it provides various tools for our disposal. One such utility is scandisk, which helps in checking filesystem errors on the cylinder. 

Let's understand it as a Windows defragment tool provided on any Windows machine. It runs through the system data file structure and finds inconsistencies within it. In this figure (only for representation purposes), the highlighted squares are the sector are being scanned and the unhighlighted ones are getting ready to be scanned:

Any table or sector reported to have inconsistencies should be rebuilt using the table rebuild utility, and Teradata site engineers should be notified. 

Getting ready

You need to connect to the Teradata Database console. As we will be performing the change on a VMware machine, you need to make sure the bin directory is added to the session path. If the following command gives you an error, follow...