You are on page 1of 7

Teradata Physical Database Design

Duration: 4 days Description This course specializes in Teradata Physical Database Design. Students will be ready to get Teradata Certified for Teradata Physical Implementation. Users will leave with tremendous confidence and understanding of how Teradata works with data placement, primary indexes, secondary indexes, and the data dictionary. Students will see exactly how Teradata physically reads and writes data. Students learn Primary Index use, Secondary Index use, Locking Features, PE Internals, Explain language, and how to physically design the Teradata database for speed and efficiency. Topics include: Application Transaction Modeling (ATM). Logical and Physical Modeling Basics. Data placement, master index, cylinder index. Issues dealing with the Primary Index of tables. Setting up secondary indexes. Locking mechanics. Teradata fundamentals for managing the data. Course Number: ISI-TERA-06

Audience This course is intended for a mix of intermediate and advanced Teradata users. Prerequisites Familiarity with the Teradata system.

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

1 of 7

Teradata Physical Database Design


Course Agenda Teradata: Brilliant by Design The Teradata Parallel Architecture A Logical View of the Teradata Architecture Components of a Teradata System Teradata is made up of the following components: Teradata Spreads Data over Multiple Processors Teradata has Linear Scalability Parsing Engine (PE) Access Module Processor (AMP) The BYNET Teradatas Building Block Approach Teradata Performance The Divide and Conquer Theory Teradata Data Placement Let the System do the Hard Work! PERM and SPOOL Space Teradata Data Loads The Need for Speed Why Teradata is the Database of Choice for Warehousing Data Layout: AutoMagically Data Distribution Explained The Primary Index The Two Types of Primary Indexes Unique Primary Index (UPI) Non-Unique Primary Index How Teradata Turns the Primary Index Value into the Row Hash The Row Hash Value determines the Rows Destination The Row is Delivered to the Proper AMP The AMP will add a Uniqueness Value An Example of an UPI Table An Example of an NUPI Table How Teradata Retrieves Rows Row Distribution A Visual for Data Layout Data Layout Summary

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

2 of 7

Teradata Physical Database Design


Course Agenda (continued) Secondary Indexes Secondary Indexes are key to good performance Secondary Indexes Unique Secondary Index (USI) USI Subtable Example NUSI Subtable Example Syntax to create a Secondary Index Value-Ordered NUSI Collect Statistics NUSI Bitmapping Prototyping indexes with EXPLAIN Secondary Index Summary Chart for Primary and Secondary Access Join Strategies Join Types vs. Join Strategies A Join in Simple Terms The key things to know about Teradata and Joins Merge Join Strategies Merge Join Strategy 1: Merge Join Strategy 2: Merge Join Strategy 3: Merge Join Strategy 4: Nested Join Hash Join Exclusion Join Product Joins What Makes Product Joins Different Cartesian Product Join

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

3 of 7

Teradata Physical Database Design


Course Agenda (continued) The Extended Logical Data Model The Application Development Life Cycle Asking the Right Questions Logical Data Model Primary Keys Foreign Keys Normalization Extended Logical Data Model The End Goal of the ELDM is to build Table Templates Column ACCESS in the WHERE Clause Data Demographics Distinct Values Maximum Rows Per Value Typical Rows Per Value Maximum Rows NULL Change Rating Extended Logical Data Model Template The Physical Data Model Step 1 Look at Distribution Results from Step 1 - Distribution Step 2 Eliminate based on Change Rating Results of Step 2 Change Rating Step 3 NUSI Elimination via Value Access Frequency Results of Step 3 NUSI Elimination Step 4 Pick the Primary Index Primary Index Factors Why Join Access Frequency is Top Priority? A Real World Join Example Why Value Access Frequency is Second Priority? What have we learned about picking the Primary Index? Results of Step 4 Picking a Primary Index

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

4 of 7

Teradata Physical Database Design


Course Agenda (continued) The Physical Data Model Step 5 Pick Secondary Indexes USI Considerations USI to Enforce Uniqueness USI for High Value Access Frequency USI to eliminate Duplicate Row Checking NUSI considerations Multi-Column NUSI Columns Multi-Column NUSI Columns used as a Covered Query Value-Ordered NUSIs A Strongly Vs Weakly Selective NUSI A formula for calculating a strongly selective NUSI Typical Row Size Typical Block Size Final Result for Primary and Secondary Indexes Denormalization Derived Data Storing Aggregates PreJoining Tables Repeating Groups Horizontal Partitioning Vertical Partitioning Covered Query Single-Table Join Indexes Multi-Table Join Indexes Temporary Tables Derived Tables Volatile Temporary Tables Global Temporary Tables

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

5 of 7

Teradata Physical Database Design


Course Agenda (continued) Join and Hash Indexes Introduction Description of Join Indexes Join Index Fundamentals When to use a Join Index Join Indexes versus Views Join Indexes versus Summary Tables Join Indexes versus Temporary Tables Types of Join Indexes Single-Table Join Indexes Multi-table Join Indexes Styles of Join Indexes Simple Join Index Aggregate Join Index Hash Indexes Separate storage Covering a query Hash Indexes vs. Secondary Indexes Hash Indexes vs. Single-Table Join Indexes However, Hash Indexes provide two additional capabilities which are: Hash and Join Indexes vs. Base Tables Explains The Teradata Optimizer knows how to Explain in Detail Row Estimate Confidence Levels Explain Terminology

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

6 of 7

Teradata Physical Database Design


Course Agenda (continued) Data Dictionary HELP SHOW Columns Databases Database_Default_Journal Indices Journals Tables TableSize Triggers UserGrantedRights UserRights

Phone: Cellular: Fax:

888-811-0204 916-549-6306 419-844-5564

E-mail: ISI@sencoinc.com

1516 N. Elmhurst Road #168 Mt. Prospect, IL 60056

7 of 7

You might also like