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
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1210-171K
Language
English (United States)

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