Oracle 视图 DBA_TABLESPACES 官方解释,作用,如何使用详细说明
Oracle视图DBA_TABLESPACES用于查询数据库中表空间的属性信息,可以使 DBA 更便捷地查询表空间的信息和状态,用于计划数据库的表空间的管理、布局和容量扩展。其中包括对表空间的创建、状态以及大小等信息,其中,表空间的状态包含:ONLINE,内存中的表空间;OFFLINE,外存中的表空间。
使用方法:
在 Oracle 数据库中,可以通过查询 DBA_TABLESPACES 视图来查看表空间的属性信息,格式如下:
SELECT *
FROM DBA_TABLESPACES
WHERE TABLESPACE_NAME = your_tablespace
upd:
可以过滤出满足一定表空间大小需求的表空间,其查询语句如下:
SELECT *
FROM DBA_TABLESPACES
WHERE BLOCK_SIZE 1024;
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.
Indicates whether the extents in the tablespace are dictionary managed (DICTIONARY) or locally managed (LOCAL)
Indicates whether the free and used segment space in the tablespace is managed using free lists (MANUAL) or bitmaps (AUTO)
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.
GUARANTEE Tablespace is an undo tablespace with RETENTION specified as GUARANTEE
A 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
Indicates whether the tablespace is a bigfile tablespace (YES) or a smallfile tablespace (NO)
Indicates whether predicates are evaluated by host (HOST) or by storage (STORAGE)
The QUERY LOW, QUERY HIGH, ARCHIVE LOW, and ARCHIVE HIGH values are associated with Hybrid Columnar Compression, a feature of the Enterprise Edition of Oracle Database that is dependent on the underlying storage system. See Oracle Database
Concepts for more information.
Indicates whether the In-Memory Column Store (IM column store) is by default enabled (ENABLED) or disabled (DISABLED) for tables in this tablespace
Indicates the default priority for In-Memory Column Store (IM column store) population for this tablespace. Possible values:
Indicates how the IM column store is distributed by default for this tablespace in an Oracle Real Application Clusters (Oracle RACE) environment:
Indicates the default compression level for the IM column store for this tablespace:
Indicates the duplicate setting for the IM column store in an Oracle RAC environment:
Indicates whether default index compression is enabled (ENABLED) or not (DISABLED)
Note: Enabling default index compression indicates that all indexes in the tablespace will be created with index compression enabled unless otherwise specified.
This specifies the default value for the CELLMEMORY attribute that tables created in the tablespace will inherit unless the behavior is overridden explicitly
This column is intended for use with Oracle Exadata.
Indicates how the IM column store is populated on various instances by default for this tablespace. The possible values are:
DEFAULT: Data is populated on all instances specified with the PARALLEL_INSTANCE_GROUP initialization parameter. If that parameter is not set, then the data is populated on all instances. This is the default.
ALL: Data is populated on all instances, regardless of the value of the PARALLEL_INSTANCE_GROUP initialization parameter.
USER_DEFINED: Data is populated only on the instances on which the user-specified service is active. The service name corresponding to this is stored in the DEF_INMEMORY_SERVICE_NAME column.
Indicates the service name for the service on which the IM column store should be populated by default for this tablespace. This column has a value only when the corresponding DEF_INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
SUSPEND: Indicates that lost write data is not currently being collected, but it can be enabled at a later date. The lost write data collected when the file was ENABLED remains in the lost write database, but it is not being checked or updated.
If lost write protection is enabled for a tablespace, it is enabled for all data files for that tablespace, including data files added later.
If lost write protection is enabled for a single data file, it does not have to be enabled for another data file in the same tablespace.
You can check the lost write protection status for a data file by querying the LOST_WRITE_PROTECT column in the DBA_DATA_FILES view.
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 DBA_TABLESPACES 官方解释,作用,如何使用详细说明
相关文章
- Oracle 视图 DBA_ATTRIBUTE_DIM_ATTR_CLS_AE 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_EDITIONED_TYPES 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_GOLDENGATE_NOT_UNIQUE 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_HIST_COMP_IOSTAT 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_TYPE_METHODS 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_WI_TEMPLATES 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_XSTREAM_ADMINISTRATOR 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_HIST_STREAMS_CAPTURE 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_SCHEDULER_WINGROUP_MEMBERS 官方解释,作用,如何使用详细说明
- 论坛Oracle认证专家论坛:尚观新高度(尚观oracle认证专家)
- Oracle序列详解:管理和使用Oracle数据库中的所有序列(oracle所有序列)
- 查看Oracle数据库中的表结构(oracle查看数据库中的表)
- Oracle公司招聘求英才,代言未来(oracle公司应聘)
- Oracle实现无需安装即可监听(oracle 免安装监听)
- 探索Oracle中间件路径解锁实现梦想(oracle中间件路径)
- 哪里Oracle卓越与独特的优势所在(oracle 优势在)
- Oracle中使用去除字符函数实现字符串快速编辑(oracle中去字符函数)
- 编码Oracle数据库报错04091解决方案寻求(oracle中04091)
- Oracle的双内存模型让系统性能更上一层楼(oracle两种内存结构)
- Oracle LCR为数据安全守护奠定基石(oracle lcr)
- 深入解析Oracle DBA公司的工作职责和发展前景(oracle dba公司)