Monday, 28 September 2015

FEATURES OF GLOBAL TEMPORARY TABLES

Miscellaneous Features
  1. If the TRUNCATE statement is issued against a temporary table, only the session specific data is truncated. There is no affect on the data of other sessions.
  2. Data in temporary tables is stored in temp segments in the temp tablespace.
  3. Data in temporary tables is automatically deleted at the end of the database session, even if it ends abnormally.
  4. Indexes can be created on temporary tables. The content of the index and the scope of the index is the same as the database session.
  5. Views can be created against temporary tables and combinations of temporary and permanent tables.
  6. Temporary tables can have triggers associated with them.
  7. Export and Import utilities can be used to transfer the table definitions, but no data rows are processed.
  8. Statistics on temporary tables are common to all sessions. Oracle 12c allows session specific statistics.
  9. There are a number of restrictions related to temporary tables but these are version specific.

No comments:

Post a Comment