In which scenarios we use Volatile tables and Global
temporary Tables in Real time? Please give me one real time
scenario???I know wat is its use??

Answers were Sorted based on User's Feedback



In which scenarios we use Volatile tables and Global temporary Tables in Real time? Please give me ..

Answer / tdguy

Sometimes, we may need aggregated data using some no of
columns from a very big table and these results are needed
in multiple sql requests In those cases, temporary tables
come in to picture and hold these temporary results for
further processing. When you need the table to be used
across sessions, GTT would be used so that definition would
be retained and can be reused by multiple users. When there
is a need only within the session, volatile table would be
used. These tables also help in speedy running of sqls.

Is This Answer Correct ?    10 Yes 0 No

In which scenarios we use Volatile tables and Global temporary Tables in Real time? Please give me ..

Answer / yuvaevergreen

A volatile table is dropped at the end of the session(both
definition and data). It is stored in spool space and
statistics for the data cannot be collected. A global
temporary table's data alone is dropped at the end of the
session. It is stored in temp space and stats can be
collected. Any user can make use of the definition within
his temp space.

Is This Answer Correct ?    14 Yes 6 No

In which scenarios we use Volatile tables and Global temporary Tables in Real time? Please give me ..

Answer / frank

Pls explain clearly don't understand

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Teradata Interview Questions

What do you mean by tpt in teradata?

0 Answers  


what is the difference between primary index and secondary index?.

2 Answers   IBM,


Differentiate database data and data warehouse data?

0 Answers  


can we have an unconnected lkp to lookup a DB2 record against a Teradata record?

3 Answers  


what is the advantages of other etl tool than teradata utilities or vice versa ?(datastage/informatica)

4 Answers  






What is the use of teradata system software?

0 Answers  


Why AMP & PE are called Vprocs?

4 Answers  


In Teradata, what is the significance of UPSERT command?

0 Answers  


Write a single SQL to delete duplicate records from the a single table based on a column value. I need only Unique records at the end of the Query.

13 Answers  


Difference between Teradata V2R5 and Teradata V12 versions?

2 Answers   IBM,


IN A TABLE CAN WE USE PRIMARY KEY IN ONE COLUMN AND IN ANOTHER COLUMN BOTH UNIQUE AND NOT NULL CONSTRAINS.IF YES HOW?PLZ GIVE ME A EXAMPLE.

2 Answers  


What is the particular designated level at which a LOCK is liable to be applied in Teradata?

0 Answers  


Categories