Temporary Tables

If you want the data to persist through transaction commits, use the ON COMMIT PRESERVE ROWS option when you create global temporary tables or declare local temporary tables.

There are three types of Temporary Tables:

Normal hash (#) tables do not need the ON COMMIT PRESERVE ROWS option because the data in a hash table will always persist through transaction commits.

Related concepts
Indexing
Join Column
Primary Keys
Foreign Keys
Proper Data Type Sizing
Null Values
Unsigned Data Types
LONG VARCHAR and LONG VARBINARY
Large Object Storage
Denormalizing for Performance
UNION ALL Views for Faster Loads
Hash Partitioning