Oracle 视图 DBA_TEMP_FREE_SPACE 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_TEMP_FREE_SPACE用于报告可用临时表空间的大小,查询用户当前可用于创建临时内存表的空间。在使用本视图之前,必须先将其置于可用状态。用户可以使用语句“ALTER SESSION ENABLE RESOURCE_LIMIT”来做出此设置。
要查询当前用户的可用大小,可以执行以下SQL语句:
SELECT sum (bytes) FROM dba_temp_free_space WHERE user_name = USER;
上述查询将获得与当前用户相关的不同临时表空间中的可用空间大小。
官方英文解释
DBA_TEMP_FREE_SPACE
displays temporary space usage information at tablespace level.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of the tablespace |
|
|
Total size of the tablespace, in bytes |
|
|
|
Total allocated space, in bytes, including space that is currently allocated and used and space that is currently allocated and available for reuse |
|
|
|
Total free space available, in bytes, including space that is currently allocated and available for reuse and space that is currently unallocated |
|
|
|
Type of tablespace this file belongs to:
|
|
|
|
Instance ID of the instance to which the tempfile belongs |