Oracle 11gR1
V$SORT_SEGMENT
displays information about every sort segment in a given instance. The view is only updated when the tablespace is of the TEMPORARY
type.
Column | Datatype | Description |
|
| Name of the tablespace |
|
| File number of the first extent |
|
| Block number of the first extent |
|
| Extent size |
|
| Number of active users of the segment |
|
| Total number of extents in the segment |
|
| Total number of blocks in the segment |
|
| Extents allocated to active sorts |
|
| Blocks allocated to active sorts |
|
| Extents not allocated to any sort |
|
| Blocks not allocated to any sort |
|
| Number of extent allocations |
|
| Number of times an unused extent was found in the pool |
|
| Number of deallocated extents |
|
| Number of requests to deallocate |
|
| Maximum number of extents ever used |
|
| Maximum number of blocks ever used |
|
| Maximum number of extents used by all sorts |
|
| Maximum number of blocks used by all sorts |
|
| Maximum number of extents used by an individual sort |
|
| Maximum number of blocks used by an individual sort |
|
| Relative file number of the sort segment header |
Note:
1.
select tablespace_name, segment_file, extent_size, current_users, used_extents, used_blocks from v$sort_segment;
TABLESPACE_NAME | SEGMENT_FILE | EXTENT_SIZE | CURRENT_USERS | USED_EXTENTS | USED_BLOCKS |
TEMP_APP | 0 | 64 | 0 | 0 | 0 |
TEMP | 0 | 64 | 5 | 406 | 25984 |
2. You can view the allocation and deallocation of space in a temporary tablespace sort segment using the V$SORT_SEGMENT view.
No comments:
Post a Comment