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
Difference between stored procedure and macro?
Name the five phases that come under MultiLoad Utility.
What is meant by a Highest Cost Plan?
How many codd's rules are satisfied by teradata database?
Where is teradata rdbms used?
If the PMON is not working then how do you identify and monitor all the processes, resources and sessions ?
Define views in teradata with syntax.
What is the command in bteq to check for session settings ?
Difference between multiload and tpump?
How is MLOAD Client System restarted after execution?
What does sleep function does in fast load?
Difference between inner join and outer join?
What is the difference between fastload and multiload?
Backup Script was blocked then you are unable to archive the data. how do you analyze it and where do you identify ?
how do we write scripts in unix how to execute scripts in real time anybody please needfull or give me number i will cal u