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

how to load or extract the error table data ?

3 Answers  


What is logical data model?

0 Answers  


Please tell me a query to find the Primary key,Foreign key,primary Index,PPI for the Database?

5 Answers  


List out teradata data types?

0 Answers  


Can you connect multiload from ab initio?

0 Answers  


Give a justifiable reason why Multi-load supports NUSI instead of USI.

0 Answers  


How to eliminate product joins in a teradata sql query?

0 Answers  


How many tables can you join in v2r5?

0 Answers  


what are the file sizes in your project?

2 Answers  


Hi frnds this question is asked at IBM One query is there when we dont collect stastics on it,exlapin will show us LOW CONFIDENCE,When we collect stastics it shows HIGH CONFIDENCE.WHAT IS THE INTERNAL ARCHITECTURE ACTUALLY GOING ON ?????ASKED ON 23-08-2012 THANKS IN ADVANCE

2 Answers   IBM,


How is MLOAD Teradata Server restarted after execution?

0 Answers  


What is Join Index in TD and How it works?

6 Answers   BT, CSC, TCS,


Categories