经常在网上看到这样的语句,一直不是很理解,select tablespace_name, segment_type, owner, segment_name, partition_name FROM dba_extents WHERE file_id between block_id AND block_id + blocks – 1
这里blocks ,block_id从哪里来? 谢谢!!
这里blocks ,block_id从哪里来? 谢谢!!
解决方案 »
- oracle数据快损坏,求解释~
- 屏蔽Oracle敏感返回信息
- PL/SQL 用其自带的PL/SQL DEVELOPER 导入dmp文件时发现数据丢失
- 查询dm为4401开头的记录是用like '4401%' 还是 substr(dm,0,4)='4401' 效率高?
- oracle的包是干什么用的?
- 如何统计出某个时间段每个人每天的完成量
- oracle9i日期转换问题
- 吐血!大哥帮我调一下这个函数!
- 简单问题:怎样查找一个表在哪个表空间里?
- 从Oracle Linux 7.3安装Oracle 12 R2, 配置完环境变量,无法出现Oracle安装界面
- 安装时oracle9i出现的奇怪问题,
- dba_data_files里面 字段relative_fno 如何理解?谢谢!!
是视图的字段 tablespace_name 表空间名称
segment_type segment类型
owner 所属用户
==
也是该视图的 字段 加上条件 blocks 应该是块吧
Name Type Nullable Default Comments
--------------- ------------ -------- ------- ---------------------------------------------------------
OWNER VARCHAR2(30) Y Owner of the segment associated with the extent
SEGMENT_NAME VARCHAR2(81) Y Name of the segment associated with the extent
PARTITION_NAME VARCHAR2(30) Y Partition/Subpartition Name, if any, of the segment
SEGMENT_TYPE VARCHAR2(18) Y Type of the segment
TABLESPACE_NAME VARCHAR2(30) Y Name of the tablespace containing the extent
EXTENT_ID NUMBER Y Extent number in the segment
FILE_ID NUMBER Y Name of the file containing the extent
BLOCK_ID NUMBER Y Starting block number of the extent
BYTES NUMBER Y Size of the extent in bytes
BLOCKS NUMBER Y Size of the extent in ORACLE blocks
RELATIVE_FNO NUMBER Y Relative number of the file containing the segment header
SQL>