Allocation of Temporary Segments for Temporary Tables and Indexes (28)
Oracle allocates segments for a temporary table when the first INSERT into that table is issued.
(This can be an internal insert operation issued by CREATE TABLE AS SELECT.) The first
INSERT into a temporary table allocates the segments for the table and its indexes,
creates the root page for the indexes, and allocates any LOB segments.
Segments for a temporary table are allocated in a temporary tablespace of the user
who created the temporary table.
Oracle drops segments for a transaction-specific temporary table at the end of the
transaction and drops segments for a session-specific temporary table at the end of the
session. If other transactions or sessions share the use of that temporary table, the
segments containing their data remain in the table.
1. 臨時表在第一次insert into(ctas)時 , Oracle給分配臨時段
2. 當事務結束時 , Oracle drops segments for a transaction-specific temporary table.
3. 當會話結束時 , Oracle drops segments for a session-specific temporary table.
4. 有其他事務或者會話共享臨時表時 , 臨時段依然保留著資料.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10599713/viewspace-969414/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Operations that Require Temporary Segments (26)UI
- Restrictions on Altering Temporary TablesREST
- dba_segments之segment_type='TEMPORARY'
- Oracle Temporary Tables(Oracle 臨時表)Oracle
- oracle temporary tableOracle
- ORACLE Temporary Tables臨時表更適合做插入和查詢操作Oracle
- Oracle - Tables/IndexesOracleIndex
- [20181112]Private Temporary Tables Oracle Database 18C.txtOracleDatabase
- [Oracle Script] Temporary Sort UsageOracle
- Temporary tablespaces in RAC ? Oracle databas...Oracle
- 資料庫表--temporary table資料庫
- Oracle臨時表GLOBAL TEMPORARY TABLEOracle
- oracle的兩種global temporary table!Oracle
- Expert Tips on Drop Temporary Tablespace Hangs!!
- Bitmap Indexes on Partitioned Tables (225)Index
- ftp_rawlist: Unable to create temporary file.FTP
- Sybase IQ 錯誤 : Temporary space limit exceededMIT
- 全域性臨時表 GLOBAL TEMPORARY TABLE
- Creating Compressed Tables and IndexesIndex
- Temporary failure resolving ‘archive.ubuntu.com‘AIHiveUbuntu
- Unable to generate a temporary class (result=1)解決方法
- oracle的臨時表空間temporary tablespaceOracle
- 【案例分析】ORA-25153: Temporary Tablespace is Empty
- Validating Tables, Indexes, Clusters, and Materialized ViewsIndexZedView
- Bitmap Indexes on Index-Organized Tables (232)IndexZed
- Oracle佇列鎖enq:TS,Temporary Segment (also TableSpace)Oracle佇列ENQ
- nginx的an upstream response is buffered to a temporary file報錯Nginx
- 【TEMPORARY TABLE】Oracle臨時表使用注意事項Oracle
- 臨時表空間temporary tablespace相關操作
- name server cannot be used, reason: Temporary failure in name resolutionServerAI
- ORA-25153: Temporary Tablespace is Empty 解決方法
- Redo內部解析-Global Temporary table insert(九)
- Miscellaneous Information about Creating Indexes on Partitioned TablesORMIndex
- Resolving archive.cloudera.com... failed: Temporary failure in nameHiveCloudAI
- IP address could not be resolved: Temporary failure in name resolutionAI
- dba_segments/dba_extents/dba_tables區別
- Secondary Indexes on Index-Organized Tables (231)IndexZed
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI