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

Creating a Secure Zone


Ever thought of creating a parameter around database objects? The users defined in this parameter can only access data in tables/views that are also set in this parameter. This setting up of this parameter is known as Secure Zone. If you are from a multi-country organization and want to separate data by country, then this is for you.

This is typically accomplished by creating different database hierarchies, known as Zones, in a single Teradata database:

Getting ready

To step through this recipe, we will connect to the Teradata database instance and use Teradata Studio to execute the create profile command. Secure Zone is only available from Teradata 15.11 onwards.

You should have admin rights to perform zone creation.

How to do it...

The following are the steps for creating a Secure Zone:

  1. Open Teradata Studio and connect to the Teradata system.
  2. Open the Administrator window.
  3. Scroll down to the Secure Zone option.
  4. Double-click or left-click to showSecure Zone. This will display...