Get a partition
get
/database/objects/partitions/{table_owner},{table_name},{partition_name}
Returns the specified partition information from DBA_TAB_PARTITIONS or ALL_TAB_PARTITIONS view depending on role at runtime. A client requires SQL Administrator or SQL Developer role to invoke this service.
Request
Supported Media Types
- application/json
Path Parameters
-
partition_name: string
Name of the partition.
-
table_name: string
Name of the table.
-
table_owner: string
Owner for the index.
Response
Supported Media Types
- application/json
200 Response
Information for the specified partition.
Root Schema : DatabaseObjectsPartitionsItem
Type:
object
This object represents partition-level partitioning information, partition storage parameters, and partition statistics generated by the DBMS_STATS package for a partition in the database. The list of attributes may vary depending on database version.
Show Source
-
avg_row_len(optional):
integer
Average length of a row in the partition (in bytes).
-
avg_space(optional):
integer
Average amount of free space, in bytes, in a data block allocated to the partition.
-
blocks(optional):
integer
Number of used data blocks in the partition.
-
buffer_pool(optional):
string
Buffer pool to be used for the partition blocks.
-
cell_flash_cache(optional):
string
Cell flash cache hint to be used for partition blocks.
-
cellmemory(optional):
string
The value for columnar compression in the storage cell flash cache.
-
chain_cnt(optional):
integer
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.
-
composite(optional):
string
Indicates whether the table is composite-partitioned (YES) or not (NO).
-
compress_for(optional):
string
Default compression for what kind of operations.
-
compression(optional):
string
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 NONE.
-
empty_blocks(optional):
integer
Number of empty (never used) data blocks in the partition. This column is populated only if you collect statistics on the table using the DBMS_STATS package.
-
flash_cache(optional):
string
Buffer pool to be used for the partition blocks.
-
freelist_groups(optional):
integer
Number of freelist groups allocated in this segment.
-
freelists(optional):
integer
Number of process freelists allocated in this segment.
-
global_stats(optional):
string
GLOBAL_STATS will be YES if statistics are gathered or incrementally maintained, otherwise it will be NO.
-
high_value(optional):
number
Partition bound value expression.
-
high_value_length(optional):
integer
Length of the partition bound value expression.
-
indexing(optional):
string
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.
-
ini_trans(optional):
integer
Initial number of transactions.
-
initial_extent(optional):
integer
Size of the initial extent in bytes (for a range partition); size of the initial extent in blocks (for a composite partition).
-
inmemory(optional):
string
Indicates whether the In-Memory Column Store (IM column store) is enabled (ENABLED) or disabled (DISABLED) for this partition.
-
inmemory_compression(optional):
string
Indicates the compression level for the IM column store.
-
inmemory_distribute(optional):
string
Indicates how the IM column store is distributed in an Oracle Real Application Clusters (Oracle RAC) environment.
-
inmemory_duplicate(optional):
string
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
-
inmemory_priority(optional):
string
Indicates the priority for In-Memory Column Store (IM column store) population.
-
inmemory_service(optional):
string
Indicates how the IM column store is populated on various instances.
-
inmemory_service_name(optional):
string
Indicates the service name for the service on which the IM column store should be populated. This column has a value only when the corresponding INMEMORY_SERVICE is USER_DEFINED. In all other cases, this column is null.
-
interval(optional):
string
Indicates whether the partition is in the interval section of an interval partitioned table (YES) or whether the partition is in the range section (NO).
-
is_nested(optional):
string
Indicates whether this is a nested table partition (YES) or not (NO).
-
last_analyzed(optional):
string
Date on which this partition was most recently analyzed.
-
links(optional):
array links
-
logging(optional):
string
Indicates whether or not changes to the table are logged.
-
max_extent(optional):
integer
Maximum number of extents allowed in the segment.
-
max_size(optional):
integer
Maximum number of blocks allowed in the segment.
-
max_trans(optional):
integer
Maximum number of transactions.
-
memoptimize_read(optional):
string
ndicates whether the table is enabled for Fast Key Based Access (ENABLED) or not (DISABLED).
-
min_extent(optional):
integer
Minimum number of extents allowed in the segment.
-
next_extent(optional):
integer
Size of secondary extents in bytes (for a range partition); size of secondary extents in blocks (for a composite partition).
-
num_rows(optional):
integer
Number of rows in the partition.
-
parent_table_partition(optional):
string
Parent table's corresponding partition.
-
partition_name(optional):
string
Name of the partition.
-
partition_position(optional):
integer
Position of the partition within the table.
-
pct_free(optional):
integer
Minimum percentage of free space in a block.
-
pct_increase(optional):
integer
Percentage increase in extent size.
-
pct_used(optional):
integer
Minimum percentage of used space in a block.
-
read_only(optional):
string
Indicates the default setting for the partition.
-
sample_size(optional):
integer
Sample size used in analyzing this partition.
-
segment_created(optional):
string
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 NONE.
-
subpartition_count(optional):
integer
If this is a composite partitioned table, the number of subpartitions in the partition.
-
table_name(optional):
string
Name of the table.
-
table_owner(optional):
string
Owner of the table.
-
tablespace_name(optional):
string
Name of the tablespace containing the partition.
-
user_stats(optional):
string
Indicates whether statistics were entered directly by the user (YES) or not (NO).