Can we take collect stats on Dervied Tables and Volitable
tables,
What is Golabal Temporary table what is the use of this
Golabal Temporary table ,When we create any kind table in
Teradata it will show in Golabal Temporary table
Answers were Sorted based on User's Feedback
Answer / vinay sir,dwh technologies,ame
Small correction guys for the above answers:
We can collect statitics on volatile tables in TEARADATA-13.
Just try at home.
Derived tables any way we can collect.
Volatile tables life time with in the session(Data and
Structure).
Global temporary tables life time accross sessions
(definition only).
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / yuvaevergreen
No for volatile and derived tables and yes for golobal
tables. Global tables are temp tables like volatile tables
but unlike volatile tables, their definitions are retained
in dd. It is used whenever there is a need for a temporary
table with same table definition for all users.
Is This Answer Correct ? | 7 Yes | 5 No |
Answer / ankal
As Per my knowledge i am expecting this is true.Anybody got better answers plzzzz post.
No.Not possible to take collect stats on Derived Volitable because this tables structure will not store in data dictionary it will store in spool space so not possible to take collect stats on this tables.But possible to take collect stats on Global Temporary table because this table structure will store in DD(data dictionary)
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / tdguy
In TD14.0, stats can be collected for volatile tables also.
GTTs are stored in temporary space and definition alone is
retained across sessions. Temporary tables are used, when
there is a need to store some aggregate results of rows for
further sql processing. It also increases the need to join
big tables.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / jai
We can take collect stats for volatile table for version
6.1.2 onwards Golabal Temporary table is usable for
particular session only the table defination is avaialble
in data dictionary and it takes space temporary
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / humayun
yes we camn collect statistics on globaltemporary table
wher as we cant on derived and volatile because these table
will be created under spool mempory.and global tempoary
tables will be created to get the intemediate results this
table will be created and dropped as part of the query.
Is This Answer Correct ? | 0 Yes | 2 No |
What are the different functions performed in development phase?
Mention a few of the ETL tools that come under Teradata.
Explain teradata utilities?
How to Extract data from multiple legacy systems?
What is oltp?
If RDBMS is halted what will you do ?
What is collect State in Teradata ? what it use and how it works??
what do you mean by INMOD Routines and OUTMODE Routines ?
how to improve the query perfoemance in teradata.with example?and how explain this in interview?please forward answer
Differentiate primary key and partition key?
sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id where b.deptno=10; sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id and b.deptno=10; what is the difference on the above 2 queries?
Difference between multiload and tpump?