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 are the steps to create a data model?

794


What are the different softwares used with their functions in teradata?

779


What do you mean by ttu in teradata?

739


What is meant by a node?

816


what are the uses of fact table and dimension table in banking project?

4318


How teradata makes sure that there are no duplicate rows being inserted when its a set table?

735


What are the various indexes in teradata? Why are they preferred?

747


How to eliminate product joins in a teradata sql query?

794


What are different table types used in teradata?

786


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

831


Explain the term 'columns' related to relational database management system?

762


What is the opening step in basic teradata query script?

776


Explain the term 'foreign key' related to relational database management system?

750


What is meant by a Clique?

801


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

765