Example: Identifying Which AMPs are in a Contiguous Map - Advanced SQL Engine - Teradata Database

SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Published
January 2021
Language
English (United States)
Last Update
2023-04-27
dita:mapPath
xwv1596137968859.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
B035-1210
lifecycle
previous
Product Category
Teradata Vantage™

Use the function SYSLIB.ContiguousMapAMPs to view the AMPs in a contiguous map.

In this example, the first column is the AMP number. The second column contains a two-character code indicating whether the AMP is the primary ('P'), fallback ('F'), or both primary and fallback ('PF') AMP.

SELECT * FROM TABLE (ContiguousMapAmps('TD_Map1')) dt;

      AmpNo  AmpType
-----------  -------
          0  PF
          1  PF
          2  PF
          3  PF
          4  PF
          5  PF
          6  PF
          7  PF