DBA_TABLESPACES视图描述

本文详细介绍了Oracle数据库中的DBA_TABLESPACES视图,包括其列的详细信息和数据类型,如TABLESPACE_NAME、BLOCK_SIZE等。此外,还对比了DBA_TABLESPACES与USER_TABLESPACES视图的区别,帮助读者深入了解数据库表空间的管理和配置。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

DBA_TABLESPACES

DBA_TABLESPACES describes all tablespaces in the database.

Related View

USER_TABLESPACES describes the tablespaces accessible to the current user. This view does not display the PLUGGED_IN column.

ColumnDatatypeNULLDescription
TABLESPACE_NAMEVARCHAR2(30)NOT NULLName of the tablespace
BLOCK_SIZENUMBERNOT NULLTablespace block size
INITIAL_EXTENTNUMBER Default initial extent size
NEXT_EXTENTNUMBER Default incremental extent size
MIN_EXTENTSNUMBERNOT NULLDefault minimum number of extents
MAX_EXTENTSNUMBER Default maximum number of extents
MAX_SIZENUMBER Default maximum size of segments
PCT_INCREASENUMBER Default percent increase for extent size
MIN_EXTLENNUMBER Minimum extent size for this tablespace
STATUSVARCHAR2(9) Tablespace status:
  • ONLINE

  • OFFLINE

  • READ ONLY

CONTENTSVARCHAR2(9) Tablespace contents:
  • UNDO

  • PERMANENT

  • TEMPORARY

LOGGINGVARCHAR2(9) Default logging attribute:
  • LOGGING

  • NOLOGGING

FORCE_LOGGINGVARCHAR2(3) Indicates whether the tablespace is under force logging mode (YES) or not (NO)
EXTENT_MANAGEMENTVARCHAR2(10) Indicates whether the extents in the tablespace are dictionary managed (DICTIONARY) or locally managed (LOCAL)
ALLOCATION_TYPEVARCHAR2(9) Type of extent allocation in effect for the tablespace:
  • SYSTEM

  • UNIFORM

  • USER

PLUGGED_INVARCHAR2(3) Indicates whether the tablespace is plugged in (YES) or not (NO)
SEGMENT_SPACE_MANAGEMENTVARCHAR2(6) Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO)
DEF_TAB_COMPRESSIONVARCHAR2(8) Indicates whether default table compression is enabled (ENABLED) or not (DISABLED)

Note: Enabling default table compression indicates that all tables in the tablespace will be created with table compression enabled unless otherwise specified.

RETENTIONVARCHAR2(11) Undo tablespace retention:
  • GUARANTEE - Tablespace is an undo tablespace with RETENTION specified as GUARANTEE

    RETENTION value of GUARANTEE indicates that unexpired undo in all undo segments in the undo tablespace should be retained even if it means that forward going operations that need to generate undo in those segments fail.

  • NOGUARANTEE - Tablespace is an undo tablespace with RETENTION specified as NOGUARANTEE

  • NOT APPLY - Tablespace is not an undo tablespace

BIGFILEVARCHAR2(3) Indicates whether the tablespace is a bigfile tablespace (YES) or a smallfile tablespace (NO)
PREDICATE_EVALUATIONVARCHAR2(7) Indicates whether predicates are evaluated by host (HOST) or by storage (STORAGE)
ENCRYPTEDVARCHAR2(3) Indicates whether the tablespace is encrypted (YES) or not (NO)
COMPRESS_FORVARCHAR2(18) Default compression for what kind of operations:
  • DIRECT LOAD ONLY

  • FOR ALL OPERATIONS

  • NULL

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值