Oracle查询用户有哪些表空间的写入权限(DBA_TS_QUOTAS)

2,669 total views, 1 views today

通过Oracle视图 DBA_TS_QUOTAS,能获知Oracle用户拥有哪些表空间的读写权限(quota,也就是配额)。

 

DBA_TS_QUOTAS 描述了所有用户的tablespace配额情况。

Column Datatype NULL Description
TABLESPACE_NAME VARCHAR2(30) NOT NULL Tablespace name
USERNAME VARCHAR2(128) NOT NULL User with resource rights on the tablespace
BYTES NUMBER Number of bytes charged to the user

用户占用的tablespace空间,单位bytes。

MAX_BYTES NUMBER User’s quota in bytes, or -1 if no limit

用户配额,-1表示没有限制。

BLOCKS NUMBER Number of Oracle blocks charged to the user
MAX_BLOCKS NUMBER User’s quota in Oracle blocks, or -1 if no limit

用户配额,-1表示没有限制。

DROPPED VARCHAR2(3) Whether the tablespace has been dropped

表空间是否删除。

发表评论

必填项已用*标注