Kontext Copilot - An AI-powered assistant for data analytics that runs on your local computer. Learn more
Get started
Find out Teradata AMP (vprocs) Count
insights Stats
warning Please login first to view stats information.
Raymond
Code Snippets & Tips
Code snippets and tips for various programming languages/frameworks. All code examples are under MIT or Apache 2.0 license unless specified otherwise.
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 (virtual processors) 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"
info Last modified by Raymond 3 years ago
copyright
This page is subject to Site terms.
comment Comments
No comments yet.