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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- [20181112]Private Temporary Tables Oracle Database 18C.txtOracleDatabase
- GLOBAL TEMPORARY TABLE(轉)
- [virtualbox] temporary failure in name resolutionAI
- Temporary failure resolving ‘archive.ubuntu.com‘AIHiveUbuntu
- temporary、interim、tentative和provisional的區別
- ftp_rawlist: Unable to create temporary file.FTP
- Sybase IQ 錯誤 : Temporary space limit exceededMIT
- Resolving archive.cloudera.com... failed: Temporary failure in nameHiveCloudAI
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- Oracle 19c Concepts(03):Indexes and Index-Organized TablesOracleIndexZed
- [20230227][20230109]Oracle Global Temporary Table ORA-01555 and Undo Retention.tOracle
- 淺談Using filesort和Using temporary 為什麼這麼慢
- oracle ocp 19c考題,科目082考試題-temporary undoOracle
- SpringBoot檔案上傳異常之提示The temporary upload location xxx is not validSpring Boot
- mac 下vscode 更新時提示:Could not create temporary directory: 許可權被拒絕MacVSCode
- [20200819]12c Global Temporary table 統計資訊的收集的疑問.txt
- win10系統沒有方法刪除temporary internet files檔案怎麼辦Win10
- Trees and Segments
- E. Boring Segments
- Intensity Segments問題
- 翻譯(九)——Clustered Indexes: Stairway to SQL Server Indexes Level 3IndexAISQLServer
- Oracle TablesOracle
- dba_tablesapce.ALLOCATION_TYPE
- [20180510]20 Indexes.txtIndex
- CF1843E Tracking Segments
- mysql關於FLUSH TABLES和FLUSH TABLES WITH READ LOCK的理解MySql
- SGA: allocation forcing component growth分析
- [20190416]process allocation latch.txt
- PostgreSQL DBA(45) - Hypothetical Indexes in PostgreSQLSQLIndex
- [轉帖]TLAB(Thread Local Allocation Buffer)thread
- POJ 1129 Channel Allocation (暴力搜尋)
- RuntimeWarning: Enable tracemalloc to get the object allocation tracebackObject
- Elasticsearch 模組 - Shard Allocation 機制Elasticsearch
- MySQL 8 新特性之Invisible IndexesMySqlIndex
- CRICOS Data Structures and AlgorithmsHash TablesStructGo
- mysqld --skip-grant-tablesMySql
- [20202117]Function based indexes and cursor sharing.txtFunctionIndex
- HDU1213-How Many Tables
- How Logs Work On MySQL With InnoDB TablesMySql