You are on page 1of 9

Before beginning..

Node
A hardware assembly containing several tightly coupled central processing units (CPUs).
Before beginning contd..
SMP Symmetric Multi Processing
An SMP Teradata Database has a single node that contains multiple CPUs sharing a
memory pool.
MPP Massively Parallel Processing
Multiple SMP nodes working together comprise a larger, MPP implementation of a
Teradata Database. The nodes are connected using the BYNET, which allows multiple
virtual processors on multiple nodes to communicate with each other.
Before beginning contd..
LOGICAL ARCHITECTURE
PARSING ENGINE
BYNET
AMP AMP AMP AMP AMP AMP
DISK DISK DISK DISK DISK DISK
Contd..
COMPONENTS IN DETAIL
PARSING ENGINE
A Parsing Engine (PE) is a virtual processor (vproc). It is made up of the
following software components: Session Control, the Parser, the Optimizer,
and the Dispatcher.
PE contd..
PARSING ENGINE
Session Control
Logon and Logoff
Parser
Interprets SQL statements and check syntax.
Consults data dictionary to ensure that all objects exist.
Also checks the access rights for users.
Optimizer
Develops least expensive plan which are converted to executable steps.
To maximize throughput and reduce resource contention, optimizer should know
system configuration, available units of parallelism & data demographics.
Teradata optimizer is robust and intelligent.
Parallel aware and cost-based using full look-ahead capability.
PE contd..
PARSING ENGINE
Dispatcher
Controls the sequence in which steps are executed and passes the steps to BYNET.
Composed of two tasks- execution control and response control.
Makes sure that all AMPs have finished a step before the next step is dispatched.
Depending on nature of SQL requests, a step will be sent to one AMP or all AMPs.
Execution control
Receives the step definitions from Parser.
Transmits them to appropriate AMPs for processing.
Receives status report from AMPs as they process the requests.
Passes the results to response control one AMPs have completed the processing.
Response Control
Returns the result to the user.

You might also like