Find out Teradata AMP Count

visibility 40 comment 0 access_time 11m languageEnglish

Teradata AMPs are the parallel distributed storage and computing unit in a Teradata server. We can use HASHAMP function to calculate the total AMP count in a Teradata system.

HASHAMP function

HASHAMP function returns the identification number of the primary AMP corresponding to the specified hash bucket number. If no hash bucket number is specified, HASHAMP returns one less than the maximum number of AMPs in the system.

Code snippet

SELECT HASHAMP()+1 AS "AMP Count"
copyright This page is subject to Site terms.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

Tags