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 user accounts


When creating a new user, the user may be assigned to one or more account ID. The ACCOUNT option in CREATE USER is used to assign the account. Account is used to analyze the system performance under CPU/IO and space usage, to plan capacity, and for charge back billing. The account string is limited to 128 characters.

When no account ID is specified in the CREATE or MODIFY user statement, it defaults to the database owner's.

Account IDs may begin with $L, $M, $H, or $R. They show different performance groups. General guidelines on performance groups are:

  • $L: Low
  • $M: Medium
  • $H: High
  • $R: Rush

ASE (Account String Expansion): Substitution variables can be used in the account ID portion of a user's logon string. ASE is a mechanism to provide more detailed utilization reports and user accounting data. Valid ASE variables are:

  • &: An ampersand designates an account string expansion. Can be used with the other variables listed here.
  • L: Logon timestamp.
  • D: Date.
  • T: Time.
  • H: Hour.
  • I: Logon...