Oracle 视图 DBA_HIST_TEMPFILE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_HIST_TEMPFILE该视图查看系统的临时文件使用情况,包括临时文件的名称、路径、使用大小、增长等情况。
使用方法:
1、查询指定的临时文件的使用情况,可以使用下面的SQL:
SELECT TEMPFILE_NAME, BYTES, BYTES_USED_DELTA, BYTES_FREE_DELTA, MAX_SIZE
FROM DBA_HIST_TEMPFILE
WHERE TEMPFILE_NAME = ‘TEMPFILENAME’;
2、查询当前系统所有临时文件使用情况,可以使用下面的SQL:
SELECT TEMPFILE_NAME, BYTES, BYTES_USED_DELTA, BYTES_FREE_DELTA, MAX_SIZE
FROM DBA_HIST_TEMPFILE;
官方英文解释
DBA_HIST_TEMPFILE
displays a history of the temp file information from the control file. This view contains snapshots of V$TEMPFILE
.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Database ID |
|
|
|
File identification number |
|
|
|
Change number at which the temp file was created |
|
|
|
Name of the temp file |
|
|
|
Tablespace number |
|
|
Name of the tablespace |
|
|
|
Block size of the temp file |
|
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
See Also:
“V$TEMPFILE”