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 |
In your project what type of issues and errors you facing in Teradata
What interface is used to connect to windows based applications?
how can we analyze the locks ?
What is meant by a Highest Cost Plan?
What is the multi-insert?
Difference between Qualify and group
What are the uses of bynets in multi-node systems?
Explain about Skew Factor?
teradata support to automatically increase the character length or not?
Give some points about Teradata Viewpoint ?
one table have input no name 10 rao 20 siva 30 srinu 10 rao i want to ouput like this way no name 20 siva 30 srinu 10 rao how it posible in only sql server query?not oracle?
How to cast date "2015-03-03-012204-000000" to timestamp