ALL_TAB_PARTITIONS
displays partition-level partitioning information, partition storage parameters, and partition statistics generated by the DBMS_STATS
package for the partitions accessible to the current user.
Related Views
DBA_TAB_PARTITIONS
displays such information for all partitions in the database.
USER_TAB_PARTITIONS
displays such information for the partitions of all partitioned objects owned by the current user. This view does not display the TABLE_OWNER
column.
Note:
Columns marked with an asterisk (*
) are populated only if you collect statistics on the table with the DBMS_STATS
package.
Note:
The following is true for the columns below that include double asterisks (**) in the column description:
The column can display information about segment-level attributes (for simple partitioned tables) or metadata (for composite partitioned tables). In a simple partitioned table, the partition physically contains the data (the segment) in the database. In a composite partitioned table, the partition is metadata and the data itself is stored in the subpartitions.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the table |
|
|
|
Name of the table |
|
|
|
Indicates whether the table is composite-partitioned ( |
|
|
|
Name of the partition |
|
|
|
If this is a composite partitioned table, the number of subpartitions in the partition |
|
|
|
Partition bound value expression |
|
|
|
Length of the partition bound value expression |
|
|
|
Position of the partition within the table |
|
|
|
Name of the tablespace containing the partition** |
|
|
|
Minimum percentage of free space in a block** |
|
|
|
Minimum percentage of used space in a block** |
|
|
|
Initial number of transactions** |
|
|
|
Maximum number of transactions** |
|
|
|
Size of the initial extent in bytes (for a range partition); size of the initial extent in blocks (for a composite partition)** |
|
|
|
Size of secondary extents in bytes (for a range partition); size of secondary extents in blocks (for a composite partition)** |
|
|
|
Minimum number of extents allowed in the segment** |
|
|
|
Maximum number of extents allowed in the segment** |
|
|
|
Maximum number of blocks allowed in the segment** |
|
|
|
Percentage increase in extent size** |
|
|
|
Number of process freelists allocated in this segment** |
|
|
|
Number of freelist groups allocated in this segment** |
|
|
|
Indicates whether or not changes to the table are logged:**
|
|
|
|
Indicates the actual compression property for a partition of a simple partitioned table, or the default (if specified) for subpartitions for composite partitioned tables, otherwise
|
|
|
|
Default compression for what kind of operations:** |
|
|
|
Number of rows in the partition |
|
|
|
Number of used data blocks in the partition |
|
|
|
Number of empty (never used) data blocks in the partition. This column is populated only if you collect statistics on the table using the |
|
|
|
Average amount of free space, in bytes, in a data block allocated to the partition |
|
|
|
Number of rows in the partition that are chained from one data block to another, or which have migrated to a new block, requiring a link to preserve the old ROWID |
|
|
|
Average length of a row in the partition (in bytes) |
|
|
|
Sample size used in analyzing this partition |
|
|
|
Date on which this partition was most recently analyzed |
|
|
|
Buffer pool to be used for the partition blocks:**
|
|
|
|
Database Smart Flash Cache hint to be used for partition blocks:**
Solaris and Oracle Linux functionality only. |
|
|
|
Cell flash cache hint to be used for partition blocks:**
See Also: Oracle Exadata Storage Server Software documentation for more information |
|
|
|
Indicates whether statistics were gathered for the partition as a whole ( |
|
|
|
Indicates whether statistics were entered directly by the user ( |
|
|
|
Indicates whether this is a nested table partition ( See Also: the |
|
|
|
Parent table's corresponding partition See Also: the |
|
|
|
Indicates whether the partition is in the interval section of an interval partitioned table ( |
|
|
|
Indicates the actual segment creation property for a partition of a simple partitioned table, or the default (if specified) for subpartitions for composite partitioned tables, otherwise For a simple partitioned table, this column indicates whether a segment was created ( For composite partitioned tables, this column indicates whether or not a default segment creation property was explicitly specified. Possible values:
|
|
|
|
Indicates the actual indexing property for a partition of a simple partitioned table, or the default (if specified) for subpartitions for composite partitioned tables, otherwise NONE.** Possible values:
|
|
|
|
Indicates whether the In-Memory Column Store (IM column store) is enabled ( |
|
|
|
Indicates the priority for In-Memory Column Store (IM column store) population. Possible values:
|
|
|
|
Indicates how the IM column store is distributed in an Oracle Real Application Clusters (Oracle RAC) environment:
|
|
|
|
Indicates the compression level for the IM column store:
|
|
|
|
Indicates the duplicate setting for the IM column store in an Oracle RAC environment:
|
See Also:
Oracle Database PL/SQL Packages and Types Reference for more information about the DBMS_STATS
package
Hybrid Columnar Compression is a feature of the Enterprise Edition of Oracle Database that is dependent on the underlying storage system. See Oracle Database Concepts for more information.
This column is available starting with Oracle Database 12c Release 1 (12.1.0.2).
This column has a value based on where the segments lie for a table. For example, if the table is partitioned and is enabled for the IM column store, the value is NULL
for ALL_TABLES
but non-NULL
for ALL_TAB_PARTITIONS
.