What is collect State in Teradata ? what it use and how it
works??
Answer Posted / 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 |
Post New Answer View All Answers
What are the functions performed by bynet?
Briefly explain each of the following terms related to relational database management system (rdbms) – database, tables, columns, row, primary key and foreign key.
What are the different functions performed in development phase?
Difference between star and snowflake schemas?
What are the functions involved in shared information architecture?
Is it necessary to add? Quit statement after a bteq query when I am calling it in a unix environment?
What is a clique?
How to run a query in teradata?
What is spool space?
What are the functions of a Parser?
If Fast Load Script fails and only the error tables are made available to you, then how will you restart?
When tpump is used instead of multiload?
Name the five phases that come under MultiLoad Utility.
What is the basic syntax for teradata select statement?
how many modules are there in telecome domain?how to explain the architecture?