Oracle 视图 V$TEMPSEG_USAGE 官方解释,作用,如何使用详细说明
本站中文解释
V$TEMPSEG_USAGE视图用于查看临时表空间的使用情况。它包含了每个临时表空间分配,使用,剩余和最大可使用大小等信息。
我们可以使用V$TEMPSEG_USAGE这个视图来检查ORACLE是否有足够的临时表空间可用于处理查询和更新操作,以及在使用排序等数据库操作时需要的大量的临时表空间,最大避免排序空间溢出的情况发生。
使用语句:
SELECT * FROM V$TEMPSEG_USAGE;
官方英文解释
V$TEMPSEG_USAGE
describes temporary segment usage.
Column | Datatype | Description |
---|---|---|
|
|
User who requested temporary space |
|
|
This column is obsolete and maintained for backward compatibility. The value of this column is always equal to the value in |
|
|
Session address |
|
|
Serial number of session |
|
|
Address of SQL statement |
|
|
Hash value of SQL statement |
|
|
SQL identifier of SQL statement |
|
|
Tablespace in which space is allocated |
|
|
Indicates whether tablespace is |
|
|
Type of sort segment:
|
|
|
File number of initial extent |
|
|
Block number of the initial extent |
|
|
Extents allocated to the sort |
|
|
Extents in blocks allocated to the sort |
|
|
Relative file number of initial extent |
|
|
Tablespace number |
|
|
The ID of the container to which the data pertains. Possible values include:
|
|
|
SQL identifier of the SQL statement that created the temporary segment |