How it works...

When the user submits a query in a Teradata database, it follows a path from the origin to the data, as shown in the following figure:

Flow of query from origin to data

Any query submitted to the Teradata system from a Teradata client, such as BTEQ or SQLA, goes through CLIv2 or ODBC to the Parsing Engine (PE), which parses the query to ensure syntax and generates an execution plan for the query. The execution steps are then passed on by the PE to AMPs over the Bynet; AMPs perform their operations and return the result set over the Bynet, back to PE, and PE delivers the result set to the Teradata client tool that submitted ...

Get Teradata Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.