How to find No. of Records present in Each AMP or a Node
for a given Table through SQL?

Answer Posted / n

Sel HASHAMP(HASHBUCKET(HASHROW(PRIMARY_INDEX_COLUMNS)))
AS AMP_NO,
COUNT(*)
From DATABASENAME.TABLE_NAME
GROUP BY 1;

Is This Answer Correct ?    30 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command in bteq to check for session settings ?

636


In a table can we use primary key in one column and in another column both unique and not null constrains.if yes how?

576


How many sessions of MAX is PE capable of handling at a particular time?

596


What do you mean by ttu in teradata?

571


What is node? How many nodes and amps used in your previous project?

674






My table got locked during mload due to a failed job. What do I do to perform other operations on it?

683


Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?

1503


List out some of the primary characteristics of teradata.

558


What is partitioned primary index (ppi)?

572


What is called partitioned primary index (ppi) and discuss the advantages of using it in a query?

548


What is upsert statement in teradata?

615


Write a program to show the parser component used in teradata?

553


Explain fastload in teradata?

603


What is teradata and why it is used?

587


Different phases of multiload?

595