Hi friends
What is the difference between a TEMPORARY tablespace and a PERMANENT tablespace?
TEMPORARY tablespace and a PERMANENT tablespace
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Pravin MoreRank #1,419 · 1.2K reputationPosted Dec 19, 2011, 6:36 PM EST
TEMPORARY tablespaces store data that only persists for the duration of a session, often internal objects used by the database engine. Examples are global temporary tables, temporary storage for large sort operations and temporary storage for large hash joins. TEMPORARY tablespaces use TEMPFILES, which are sparsely allocated on the filesystem.
PERMANENT tablespaces are for all "normal" persistent objects; tables, indexes, stored procedures. They use DATAFILES for storage.
Thanks,
Pravin.
Satyapriya NayakRank #47 · 31.5K reputationPosted Dec 19, 2011, 6:41 PM EST
A temporary tablespace is used for temporary objects such as sort structures while permanent tablespaces are used to store those objects meant to be used as the true objects of the database.
Thanks