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

Teradata Vantage™ - SQL Operators and User-Defined Functions

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-08-13
dita:mapPath
fsi1592016213432.ditamap
dita:ditavalPath
fsi1592016213432.ditaval

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