介绍
DBA_TABLESPACES列出了当前数据库的所有表空间的信息。
视图介绍
下面列表信息来源于Oracle 11G官方文档,本人仅做简单翻译,方便下次查询。
字段名 | 字段类型 | 描述 | 译 | 备注 |
TABLESPACE_NAME | VARCHAR2(30) | Name of the tablespace | 表空间名称 | |
BLOCK_SIZE | NUMBER | Tablespace block size (in bytes) | 表空间使用的数据块的大小,以字节(bytes)为单位 | |
INITIAL_EXTENT | NUMBER | Default initial extent size (in bytes) | 默认初始区(extent)大小,以字节(bytes)为单位 | |
NEXT_EXTENT | NUMBER | Default incremental extent size (in bytes) | 默认指定的区(extent)增长大小,以字节(bytes)为单位 | |
MIN_EXTENTS | NUMBER | Default minimum number of extents | 默认最小区大小,以字节(bytes)为单位 | |
MAX_EXTENTS | NUMBER | Default maximum number of extents | 默认最大区大小,以字节(bytes)为单位 | |
MAX_SIZE | NUMBER | Default maximum size of segments (in Oracle blocks) | 默认最大段的大小,以字节(bytes)为单位 | |
PCT_INCREASE | NUMBER | Default percent increase for extent size | 默认区大小增长百分比 | |
MIN_EXTLEN | NUMBER | Minimum extent size for this tablespace (in bytes) | 表空间的最小的区大小,以字节(bytes)为单位 | |
STATUS | VARCHAR2(9) | Tablespace status: ONLINE OFFLINE READ ONLY | 表空间的状态: 在线 离线 只读 | |
CONTENTS | VARCHAR2(9) | Tablespace contents: UNDO PERMANENT TEMPORARY | 表空间的类型: 撤消表空间 永久表空间 临时表空间 | |
LOGGING | VARCHAR2(9) | Default logging attribute: LOGGING NOLOGGING | 表空间日志记录: 记录日志 不记录日志 | |
FORCE_LOGGING | VARCHAR2(3) | Indicates whether the tablespace is under force logging mode (YES) or not (NO) | 是否进行强加归档日志 | |
EXTENT_MANAGEMENT | VARCHAR2(10) | Indicates whether the extents in the tablespace are dictionary managed (DICTIONARY) or locally managed (LOCAL) | 区管理类型,分为字典管理和本地管理 | Oracle强烈建议使用本地管理 |
ALLOCATION_TYPE | VARCHAR2(9) | Type of extent allocation in effect for the tablespace: SYSTEM UNIFORM USER | ||
PLUGGED_IN | VARCHAR2(3) | Indicates whether the tablespace is plugged in (YES) or not (NO) | 表空间是否已插入 | |
SEGMENT_SPACE_MANAGEMENT | VARCHAR2(6) | Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO) | 表空间管理已使用的段和空闲空间的方式,分为空闲列表管理和位图管理 | |
DEF_TAB_COMPRESSION | VARCHAR2(8) | Indicates whether default table compression is enabled (ENABLED) or not (DISABLED) | 表空间是否压缩 | |
RETENTION | VARCHAR2(11) | Undo tablespace retention: GUARANTEE NOGUARANTEE NOT APPLY | 撤消表空间保留机制: 保留 不保留 非撤消表空间 | |
BIGFILE | VARCHAR2(3) | Indicates whether the tablespace is a bigfile tablespace (YES) or a smallfile tablespace (NO) | 表空间使用的文件类型,分为大文件类型和小文件类型 | |
PREDICATE_EVALUATION | VARCHAR2(7) | Indicates whether predicates are evaluated by host (HOST) or by storage (STORAGE) | ||
ENCRYPTED | VARCHAR2(3) | Indicates whether the tablespace is encrypted (YES) or not (NO) | 表空间是否加密 | |
COMPRESS_FOR | VARCHAR2(12) | Default compression for what kind of operations: BASIC OLTP QUERY LOW QUERY HIGH ARCHIVE LOW ARCHIVE HIGH NULL | 表空间压缩类型: |
评论区