Teradata Cookbook
eBook - ePub

Teradata Cookbook

Abhinav Khandelwal, Rajsekhar Bhamidipati

Partager le livre
  1. 454 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Teradata Cookbook

Abhinav Khandelwal, Rajsekhar Bhamidipati

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Data management and analytics simplified with TeradataAbout This Book‱ Take your understanding of Teradata to the next level and build efficient data warehousing applications for your organization‱ Covers recipes on data handling, warehousing, advanced querying and the administrative tasks in Teradata.‱ Contains practical solutions to tackle common (and not-so-common) problems you might encounter in your day to day activitiesWho This Book Is ForThis book is for Database administrator's and Teradata users who are looking for a practical, one-stop resource to solve all their problems while handling their Teradata solution. If you are looking to learn the basic as well as the advanced tasks involved in Teradata querying or administration, this book will be handy. Some knowledge of relational database concepts will be helpful to get the best out of this book.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 environmentIn DetailTeradata 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.Style and approachThis book is a rich collection of recipes that will come in handy when you are working with Teradata. It addresses your common and not-so-common pain points, and this is a book that you must have on the shelf.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Teradata Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Teradata Cookbook par Abhinav Khandelwal, Rajsekhar Bhamidipati en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatique et Bases de donnĂ©es. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2018
ISBN
9781787282339
Édition
1

Advanced SQL with Backup and Restore

The following are the recipes we will be covering in this chapter:
  • Exploring ordered analytic functions
  • Using CASE statements
  • Working with correlated subqueries
  • Experimenting with JSON
  • Partitioning tables column wise
  • Archiving DD
  • Archiving databases
  • Archiving PPI tables
  • Restoring a table
  • Generating a unique row number

Introduction

This chapter will cover two broad areas of Teradata: one will be advanced SQL and the other will be backup and recovery.
Structured query language (SQL) is the relational database language used to store, retrieve, and manipulate data in databases. Teradata also uses SQL to work with datasets stored in the database.
Teradata SQL is basically divided into three parts:
  • Data definition language (DDL): These like CREATE and DROP
  • Data manipulation language (DML): These are like SELECT, INSERT, and DELETE
  • Data control language (DCL): These are like GRANT and REVOKE
Other than these basic SQL functions, Teradata Database has advanced SQL at its disposal. Advanced SQL helps users to execute complex cases and run more advanced data analytic functions.
Some of the advanced Teradata SQL features are:
  • Windows aggregate function
  • Ordered analytic function
  • Extended time and date function
  • Advanced ranking function
  • Advanced sampling and random function
  • Extended grouping function
  • Merge into function
  • Large binary object
In this chapter, we will cover some of the advanced features of Teradata. We will also cover some features of Teradata backup and recovery.

Backup and recovery

The purpose of the ARC utility is to allow for the archiving, restoring, and copying of database objects. To maintain data security and integrity, backing up data is a must. And when you damage or lose or want to restore the previous version of data, restore is required to be performed.
The following figure shows the high-level architecture of backup and recovery, or the BAR system:
We will start with advanced SQL and then will cover some recipes on Teradata ARC.

Exploring ordered analytic functions

The Online Analytical Processing (OLAP) function, according to Wikipedia, is used to analyze multi-dimensional analytical queries quickly and efficiently. OLAP is part of the broader category of business intelligence, which also encompasses relational reporting and data mining. The typical applications of OLAP are business reporting for sales, marketing, management reporting, business process management (BPM), budgeting and forecasting, financial reporting, and similar areas.
The term OLAP was created as a slight modification of the traditional database term OLTP (Online Transaction Processing). Databases configured for OLAP use a multidimensional data model, allowing for complex analytical and ad hoc queries with a rapid execution time.
Like traditional aggregate functions, window aggregate functions operate on groups of rows and permit the qualification and filtering of the group result. Unlike aggregations, OLAP functions also return individual detail rows, not just aggregations. The following are some OLAP functions available in Teradata:
Functions Used For
RANK For ranking of the answer set
QUANTILES For quantiles
CSUM For cumulation
MAVG For moving averages
MSUM For moving sums
MDIFF For moving differences
MLINREG For moving regression
ROW_NUMBER Returns the sequential row number of a group starting with the number o...

Table des matiĂšres