What is collect State in Teradata ? what it use and how it
works??

Answers were Sorted based on User's Feedback



What is collect State in Teradata ? what it use and how it works??..

Answer / siri

The Optimizer plans an execution strategy for every
SQL query submitted to it. We have also seen that the
execution strategy
for any query may be subject to change depending on various
factors. For
the Optimizer to consistently choose the optimum strategy,
it must be
provided with reliable, complete, and current demographic
information
regarding all of these factors. The best way to assure that
the Optimizer
has all the information it needs to generate optimum
execution strategies
is to COLLECT STATISTICS.

-Statistics tell the Optimizer how many rows/ value there
are.
– The Optimizer uses statistics to plan the best way to
access data.
– May improve performance of complex queries and joins.
– NUSI Bit Mapping requires collected statistics.
– Helpful in accessing a column or index with uneven value
distribution.
– Stale statistics may mislead the Optimizer into poor
decisions.
– Statistics remain valid across a reconfiguration of the
system.
– COLLECT is resource intensive and should be done during
off hours.

Is This Answer Correct ?    7 Yes 0 No

What is collect State in Teradata ? what it use and how it works??..

Answer / yuvaevergreen

-->"Collect stats" collects demographic data about the
columns or indces of a table.
-->This statistics is used by the PE to optimize the plan
which can be viewed by explain command.
-->When collect stats is executed,the statistics is stored
in data for use of PE.

Is This Answer Correct ?    5 Yes 1 No

What is collect State in Teradata ? what it use and how it works??..

Answer / tdguy

Stores the demographic data about the columns. Very
important for better performance.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Teradata Interview Questions

Discuss the advantages of using partitioned primary index in a query?

0 Answers  


what is DYNAMIC SQL in TD?

1 Answers   IBM,


In Teradata, how do we Generate Sequence?

0 Answers  


How do you eliminate duplicates?

3 Answers  


Hi friends This is suneel and i am new to teradata. In both situvations teradata administrator and teradata sql assitant 12.0 1)How to create database in teradata and under database how to create user. 2)How to create table under that user and giving privilizes to that user. Thanks alot.

1 Answers  






How do you load Multiple files to a table by using fastload scripts?

1 Answers   Satyam,


What is the opening step in basic teradata query script?

0 Answers  


What is the difference between global temporary tables and volatile temporary tables?

0 Answers  


Aborted in Phase 1 data Acquistion Incomplete in fastload?

2 Answers  


What is the difference between SI and JI?

2 Answers  


Explain and compare pros and cons of snow flake schemas?

0 Answers  


What is spool space? Why do you get spool space errors? How do trouble-shoot them?

0 Answers  


Categories