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

in teradata level primary in table level allows duplicates why?

1 Answers   TCS,


What are the various indexes in teradata? How to use them? Why are they preferred?

0 Answers  


Does SDLC changes when you use Teradata instead of Oracle?

2 Answers  


What is teradata? What are some primary characteristics of teradata?

0 Answers  


What are the various indexes in teradata? How to use them?

0 Answers  






If the table does not have duplicates then which utility you can suggest to load the data ?

3 Answers  


What are the newly developed features of Teradata?

0 Answers  


Hi send me the Teradata dumps to my id rajeshanantha@yahoo.co.in Thanks Rajesh. A

0 Answers  


How do you verify a complicated sql?

0 Answers  


Why teradata is used?

0 Answers  


Difference between inner join and outer join?

0 Answers  


What are two examples of an OLTP environment?

4 Answers  


Categories