Sie sind auf Seite 1von 15

TD Architecture and access methods

LEVEL PRACTITIONER

About the Author

Created By: Credential Information:

Sudeshna Pal(200271) , Sarnava Das(247258) Teradata Certified Professional V12. Worked in Teradata Technologies for last 2.5 years.

Version and Date:

V 1.0 Date 12/27/2012

Icons Used
Hands on Exercise

Questions

Tools

Coding Standards

Test Your Understanding

Case Study

Demonstration

Best Practices & Industry Standards

Workshop

Context Setting: Overview


Introduction:
Overview of Teradata 13 Architecture includes: Parsing Engine (PE) Access Module Processor (AMP) BYNET

Objectives
After completing this chapter you will be able to:
The theory of Parallelism Perfect Plan generation for query execution. Shared Nothing Architecture

Parsing Engine
Parsing Engine(PE) is the first level where an user gets connected to, whenever they login.
It also checks whether the particular user has the privilege to execute a query or not. Hence Security checkup is one of the key features of PE. In case the request is coming from IBM Mainframe, PE converts it from EBCDIC to ASCII format. Once login is successful and a query is executed , PE creates a plan and informs AMP to get that executed in the most optimized way. Hence PE is also known as Optimizer. PE knows the detailed underlying design i.e. the number of AMPs connected, the number of rows in each table etc, which help making the optimized plan.

Access Module Processor (AMP)


AMPs are connected to PE via BYNET. They perform all the instructions sent by PE and send the output back to PE.
Individual AMP has got their individual disk attached to them, where they have read and write access to perform various queries. Hence Shared Nothing Architecture comes into play. All the AMPs distribute rows of the table evenly among themselves. Therefore, while executing a query all the AMPs work simultaneously and read the records from its own disks. This feature is called Parallelism. For IBM mainframe, it converts ASCII returned data to EBCDIC and send back to PE. In Teradata 13, the AMP Worker Task (AWT) per AMP is increased for better performance.
7

Message Passing Layer (BYNET)


BYNET connects PE and AMP for passing various instructions and corresponding outputs.
In Teradata system, there are two BYNET systems viz. BYNET 0 and BYNET 1. This is because, in case one BYNET fails, the other one carries the instruction. It also fastens communication and hence enhances query performance. Each BYNET provides bandwidth of 10 Megabytes (MB) per second with Version 1 and 60 MB per second with Version 2. This speed increases linearly as more nodes are added.

Teradata Architecture (Diagramatic Representation)

Questions

10

Welcome Break

11

Test Your Understanding


Questions:
1. What is the function performed by BYNET? 2. How many BYNET systems are there in Teradata? Explain their functionalities.

12

Summary
The chapters give a detailed overview of the following processes in Teradata: The PE checks the syntax of the query, also checks the security right of the user accessing. The PE comes up with the best optimized plan for execution of the query. The PE passes this plan through BYNET to AMP. The AMPs follow the plan to retrieve data from its DISKS. The AMP passes the data to PE through BYNET. The PE then passes the data to the user.

13

Source
www.teradataforum.com www.teradata.com

Disclaimer: Parts of the content of this course is based on the materials available from the Web sites and books listed above. The materials that can be accessed from linked sites are not maintained by Cognizant Academy and we are not responsible for the contents thereof. All trademarks, service marks, and trade names in this course are the marks of the respective owner(s).

14

TD Architecture and access methods

You have successfully completed TD Architecture and access methods

Das könnte Ihnen auch gefallen