ALL_IND_PARTITIONS

ALL_IND_PARTITIONS describes, for each index partition accessible to the current user, the partition-level partitioning information, the storage parameters for the partition, and various partition statistics collected by ANALYZE statements.

Related Views

  • DBA_IND_PARTITIONS describes all index partitions in the database.

  • USER_IND_PARTITIONS describes the index partitions owned by the current user. This view does not display the INDEX_OWNER column.

ColumnDatatypeDescription
INDEX_OWNERVARCHAR2(30)Owner of the index
INDEX_NAMEVARCHAR2(30)Name of the index
COMPOSITEVARCHAR2(3)Indicates whether the partition belongs to a local index on a composite-partitioned table (YES) or not (NO)
PARTITION_NAMEVARCHAR2(30)Name of the partition
SUBPARTITION_COUNTNUMBERIf a local index on a composite-partitioned table, the number of subpartitions in the partition
HIGH_VALUELONGPartition bound value expression
HIGH_VALUE_LENGTHNUMBERLength of partition bound value expression
PARTITION_POSITIONNUMBERPosition of the partition within the index
STATUSVARCHAR2(8)Whether index partition is USABLE or UNUSABLE
TABLESPACE_NAMEVARCHAR2(30)Name of the tablespace containing the partition
PCT_FREENUMBERMinimum percentage of free space in a block
INI_TRANSNUMBERInitial number of transactions
MAX_TRANSNUMBERMaximum number of transactions
INITIAL_EXTENTNUMBERSize of the initial extent in bytes
NEXT_EXTENTNUMBERSize of secondary extents in bytes
MIN_EXTENTNUMBERMinimum number of extents allowed in the segment
MAX_EXTENTNUMBERMaximum number of extents allowed in the segment
PCT_INCREASENUMBERPercentage increase in extent size
FREELISTSNUMBERNumber of process freelists allocated in this segment
FREELIST_GROUPSNUMBERNumber of process freelist groups allocated in this segment
LOGGINGVARCHAR2(7)Logging attribute of the partition
COMPRESSIONVARCHAR2(8)Indicates whether key compression is enabled for a partitioned index (ENABLED) or not (DISABLED); null for a nonpartitioned index.
BLEVELNUMBERB*-Tree level: depth of the index from its root block to its leaf blocks. A depth of 0 indicates that the root block and leaf block are the same.
LEAF_BLOCKSNUMBERNumber of leaf blocks in the index partition
DISTINCT_KEYSNUMBERNumber of distinct keys in the index partition
AVG_LEAF_BLOCKS_PER_KEYNUMBERAverage number of leaf blocks in which each distinct value in the index appears, rounded to the nearest integer. For indexes that enforce UNIQUE and PRIMARY KEY constraints, this value is always 1.
AVG_DATA_BLOCKS_PER_KEYNUMBERAverage number of data blocks in the table that are pointed to by a distinct value in the index rounded to the nearest integer. This statistic is the average number of data blocks that contain rows that contain a given value for the indexed columns.
CLUSTERING_FACTORNUMBERIndicates the amount of order of the rows in the table based on the values of the index.
  • If the value is near the number of blocks, then the table is very well ordered. In this case, the index entries in a single leaf block tend to point to rows in the same data blocks.

  • If the value is near the number of rows, then the table is very randomly ordered. In this case, it is unlikely that index entries in the same leaf block point to rows in the same data blocks.

NUM_ROWSNUMBERNumber of rows returned by the ANALYZE statement
SAMPLE_SIZENUMBERSample size used in analyzing this partition
LAST_ANALYZEDDATEDate on which this partition was most recently analyzed
BUFFER_POOLVARCHAR2(7)Actual buffer pool for the partition
USER_STATSVARCHAR2(3)Indicates whether statistics were entered directly by the user (YES) or not (NO)
PCT_DIRECT_ACCESSNUMBERIf a secondary index on index-organized table, the percentage of rows with VALID guess
GLOBAL_STATSVARCHAR2(3)Indicates whether statistics for the partition were collected for the partition as a whole (YES) or were estimated from statistics on underlying subpartitions (NO)
DOMIDX_OPSTATUSVARCHAR2(6) 
PARAMETERSVARCHAR2(1000) 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值