Oracle10g TEMP 檔案Disk Space Allocation 問題
Temporary segments are most commonly generated during sorting operations such as ORDER BY, GROUP BY, and CREATE INDEX. They are also generated during other
operations such as hash joins or inserts into temporary tables.
CREATE TEMPORARY TABLESPACE temp TEMPFILE
‘C:ORACLEORADATAORA10TEMP01.DBF' SIZE 2G ;
Note: tempfile information is stored in v$tempfile , not in v$datafile ;
A workaround for allocating temp file space at runtime is to preallocate it, just like you do with a datafile. In fact, you first allocate it as a datafile and then drop the tablespace, leaving the file. Finally, you create your temp tablespace reusing the old datafile as a temp file.
-- first create it as a permanent tablespace
-- to force the disk space to be allocated
CREATE TABLESPACE temp
DATAFILE '/ORADATA/PROD/TEMP01.DBF' SIZE 2G;
-- dropping the tablespace does not remove
-- the file from the file system
DROP TABLESPACE temp;
-- the keyword REUSE is needed to use the existing
-- file created in the previous steps
CREATE TEMPORARY TABLESPACE temp
TEMPFILE '/ORADATA/PROD/TEMP01.DBF' SIZE 2G REUSE ;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-84982/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於Oracle10g中tempfile 空間分配的問題:temp file will not actually allocate disk spaceOracle
- Oracle ASM Disk Used Space DirectoryOracleASM
- tablespace 大檔案,undo,temp tablespace
- temp檔案空間的分配
- 關於Oracle10g中tempfile 空間分配的問題:temp file will not actually allocate disOracle
- mysql can't start dues to the disk space is fullMySql
- Oracle資料庫克隆後temp檔案因路徑變化無法找到問題Oracle資料庫
- JVMST109: Insufficient space in Javaheap to satisfy allocation requestJVMJava
- Voting Disk - Oracle10gOracle
- 常見問題--oracle10g歸檔模式Oracle模式
- 聊聊Data Guard環境下Temp表空間和Temp檔案管理
- 檔案存放問題
- oracle10g shrink space 降低HWMOracle
- jar檔案換成exe檔案問題?JAR
- 處理TEMP表空間滿的問題
- 日誌檔案問題
- 【問題】 檔案搜尋
- 磁碟分析管理軟體:Disk Space Analyzer Pro mac版Mac
- oracle控制檔案及引數檔案問題Oracle
- 使用主題檔案(包含CSS檔案)時遇到的問題CSS
- 怎麼清理temp資料夾的臨時檔案?Win7系統電腦temp臨時檔案的清理方法Win7
- Oracle10g OCR及Voting Disk的Oracle
- 又是hosts檔案的問題
- 常見問題--控制檔案
- 轉享: java.lang.OutOfMemoryError: PermGen space 問題JavaError
- Automatic Archiving does not Restart if Disk Space is Full(轉自Metalink)REST
- EM 12c for cloud : 自助RAC資料庫成功後,資料庫沒有temp資料檔案問題-bug 17429475Cloud資料庫
- 檔案監控效能問題【BUG】
- 檔案路徑問題( ./ 和 ../ 和 @/ )
- PHP檔案頭BOM頭問題PHP
- NDK問題 : Javah 生成.h檔案Java
- jboss建立新檔案的問題
- JiveJdon3.0 配置檔案問題
- 有關*.properties檔案的問題
- 上傳檔案超時問題
- SQL查詢table或index異常增長問題 - space_usage (show_space)SQLIndex
- Oracle10g OCR及Voting Disk的備份Oracle
- win10系統中Temp資料夾是什麼檔案|Temp資料夾可以刪除嗎Win10