Teradata – OLAP Functions
OLAP functions are similar to aggregate functions except that the aggregate functions will return only one value whereas the OLAP function will provide the individual rows in addition to the…
OLAP functions are similar to aggregate functions except that the aggregate functions will return only one value whereas the OLAP function will provide the individual rows in addition to the…
The ORDER BY operator is used to display the contents of a relation in a sorted order based on one or more fields. Syntax Given below is the syntax of the ORDER BY operator.…
Partitioned Primary Index (PPI) is an indexing mechanism that is useful in improving the performance of certain queries. When rows are inserted into a table, they are stored in an…
This chapter discusses the various JOIN strategies available in Teradata. Join Methods Teradata uses different join methods to perform join operations. Some of the commonly used Join methods are −…
A stored procedure contains a set of SQL statements and procedural statements. They may contain only procedural statements. The definition of stored procedure is stored in database and the parameters…
Macro is a set of SQL statements which are stored and executed by calling the Macro name. The definition of Macros is stored in Data Dictionary. Users only need EXEC…
In this section we will covers the popular machine learning technique called recommendation, its mechanisms, and how to write an application implementing Mahout recommendation. Recommendation Ever wondered how Amazon comes up with…
Views are database objects that are built by the query. Views can be built using a single table or multiple tables by way of join. Their definition is stored permanently…
JOIN INDEX is a materialized view. Its definition is permanently stored and the data is updated whenever the base tables referred in the join index is updated. JOIN INDEX may…
A row is assigned to a particular AMP based on the primary index value. Teradata uses hashing algorithm to determine which AMP gets the row. Following is a high level…