欢迎光临
我们一直在努力

Oracle 视图 DBA_HIST_TABLESPACE 官方解释,作用,如何使用详细说明

本站中文解释

_STAT

Oracle视图DBA_HIST_TABLESPACE_STAT存储有关表空间统计信息的历史数据。它记录了多年来表空间的容量变化和用户对空间的使用量情况。

该视图可用于查看某些时间段内表空间的使用情况。例如,可以查看最近1小时、最近一天、最近一个月、最近一段时间内表空间使用情况。DBA_HIST_TABLESPACE_STAT视图允许管理员监视表空间使用量情况以便及时计划扩展表空间的容量。

使用DBA_HIST_TABLESPACE_STAT视图的方法如下:
1.查看某个时间段内表空间的使用情况,可以使用以下SQL语句:
SELECT tablespace_name, used_space from DBA_HIST_TABLESPACE_STAT where snap_time >= ‘ ‘ and snap_time = ‘ ‘ and snap_time

官方英文解释

DBA_HIST_TABLESPACE displays tablespace information contained in the Workload Repository.

Column Datatype NULL Description

DBID

NUMBER

NOT NULL

Database ID

TS#

NUMBER

NOT NULL

Tablespace number

TSNAME

VARCHAR2(30)

NOT NULL

Tablespace name

CONTENTS

VARCHAR2(30)

Tablespace contents:

  • UNDO

  • PERMANENT

  • TEMPORARY

SEGMENT_SPACE_MANAGEMENT

VARCHAR2(30)

Indicates whether the free and used space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO)

EXTENT_MANAGEMENT

VARCHAR2(30)

Indicates whether the extents in the tablespace are dictionary managed (DICTIONARY) or locally managed (LOCAL)

BLOCK_SIZE

NUMBER

Block size of the tablespace

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. Possible values include:

  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。