本站中文解释
ALL_FILE_GROUP_TABLESPACES 视图以此显示每个模式下所包含的归档/非归档文件组和其所映射表空间分布。该视图仅返回当前用户有权查看的文件组及其表空间,以及每个文件组一般配置(或分配)的最大 MB 值。
该视图可帮助用户排查Oracle文件组及其映射表空间的分布情况,以及正在使用的文件组及其映射的表空间的情况。
使用方法:
1、获取当前用户有权查看的文件组及其映射的表空间的信息:
SELECT * FROM ALL_FILE_GROUP_TABLESPACES;
2、查询某文件组的表空间分布情况:
SELECT TABLESPACE_NAME,MAX_MB FROM ALL_FILE_GROUP_TABLESPACES WHERE FILE_GROUP_NAME=’myfile_group’;
3、查询使用了哪些文件组且其映射表空间的列表:
SELECT FILE_GROUP_NAME,TABLESPACE_NAME,MAX_MB FROM ALL_FILE_GROUP_TABLESPACES WHERE TABLESPACE_NAME IS NOT NULL;
官方英文解释
ALL_FILE_GROUP_TABLESPACES
shows information about the transportable tablespaces present (partially or completely) in the file groups accessible to the current user (when the file groups contain dump files).
Related Views
-
DBA_FILE_GROUP_TABLESPACES
shows information about the transportable tablespaces present (partially or completely) in all file groups in the database (when the file groups contain dump files). -
USER_FILE_GROUP_TABLESPACES
shows information about the transportable tablespaces present (partially or completely) in the file groups owned by the current user (when the file groups contain dump files). This view does not display theFILE_GROUP_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the file group |
|
|
|
Name of the file group |
|
|
|
Version of the file group that contains the tablespace |
|
|
|
Internal version number |
|
|
|
Name of the tablespace |
See Also:
-
“DBA_FILE_GROUP_TABLESPACES”
-
“USER_FILE_GROUP_TABLESPACES”