Oracle 视图 DBA_ROLLBACK_SEGS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_ROLLBACK_SEGS用来显示可回滚段(Rollback Segments)的定义。
DBA_ROLLBACK_SEGS视图只适用于Oracle 7.3及以上版本,每条DBA_ROLLBACK_SEGS视图记录表示一个定义有效的回滚段(rollback segment)。
使用DBA_ROLLBACK_SEGS视图:
1.查看当前数据库中所有回滚段的详细信息:
SELECT * FROM dba_rollback_segs;
2.查询出某一具体回滚段的状态:
SELECT STATUS, SEGMENT_ID FROM dba_rollback_segs WHERE SEGMENT_NAME= ‘ROLLBACK_TEST’;
3.查看回滚段的创建细节:
SELECT * FROM dba_rollback_segs WHERE SEGMENT_NAME= ‘ROLLBACK_TEST’;
官方英文解释
DBA_ROLLBACK_SEGS
describes rollback segments.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of the rollback segment |
|
|
Owner of the rollback segment:
|
|
|
|
|
Name of the tablespace containing the rollback segment |
|
|
|
ID number of the rollback segment |
|
|
|
Absolute file number of the data file containing the segment header |
|
|
|
ID number of the block containing the segment header |
|
|
Initial extent size in bytes |
|
|
|
Secondary extent size in bytes |
|
|
|
|
Minimum number of extents |
|
|
|
Maximum number of extent |
|
|
Percent increase for extent size |
|
|
|
Rollback segment status:
|
|
|
|
Rollback segment owning Oracle Real Application Clusters instance number |
|
|
|
|
Relative file number of the segment header |