Get a tablespace segment
get
/database/storage/tablespaces/{tablespace_name}/segments/{segment_name}
Returns data from DBA_SEGMENTS for a specific tablespace and segment. A client requires SQL Administrator role to invoke this service.
Request
Path Parameters
-
segment_name(required): string
Name of the segment.
-
tablespace_name(required): string
Name of the tablespace.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
A specific record from DBA_SEGMENTS for the tablespace and segment name.
Root Schema : DatabaseTablespaceSegmentsItem
Type:
object
Describes the storage allocated for a segments in the database.
Show Source
-
blocks: integer
Size, in Oracle blocks, of the segment.
-
buffer_pool: string
Buffer pool to be used for segment blocks.
-
bytes: integer
Size, in bytes, of the segment.
-
cell_flash_cache: string
Cell flash cache hint to be used for segment blocks.
-
cellmemory: string
The value for columnar compression in the storage cell flash cache.
-
extents: integer
Number of extents allocated to the segment.
-
flash_cache: string
Database Smart Flash Cache hint to be used for segment blocks.
-
freelist_groups: integer
Number of freelist groups allocated to this segment.
-
freelists: integer
Number of process freelists allocated to this segment.
-
header_block: integer
ID of the block containing the segment header.
-
header_file: integer
ID of the file containing the segment header.
-
initial_extent: integer
Size in bytes requested for the initial extent of the segment at create time. Oracle rounds the extent size to multiples of 5 blocks if the requested size is greater than 5 blocks.
-
inmemory: string
Indicates whether the In-Memory Column Store (IM column store) is enabled (ENABLED) or disabled (DISABLED) for this segment.
-
inmemory_compression: string
Indicates the compression level for the IM column store.
-
inmemory_distribute: string
Indicates how the IM column store is distributed in an Oracle Real Application Clusters (Oracle RAC) environment.
-
inmemory_duplicate: string
Indicates the duplicate setting for the IM column store in an Oracle RAC environment.
-
inmemory_priority: string
Indicates the priority for In-Memory Column Store (IM column store) population.
-
links: array
links
-
max_extents: integer
Maximum number of extents allowed in the segment.
-
max_size: integer
Maximum number of blocks allowed in the segment.
-
min_extents: integer
Minimum number of extents allowed in the segment.
-
minretention: integer
Minimum retention duration for SECUREFILE segment.
-
next_extent: integer
Size in bytes of the next extent to be allocated to the segment.
-
owner: string
Username of the segment owner.
-
partition_name: string
Object Partition Name (Set to NULL for nonpartitioned objects).
-
pct_increase: integer
Percent by which to increase the size of the next extent to be allocated.
-
relative_fno: integer
Relative file number of the segment header.
-
retention: string
Retention option for SECUREFILE segment.
-
segment_name: string
Name, if any, of the segment.
-
segment_subtype: string
Subtype of LOB segment: SECUREFILE, ASSM, MSSM, and NULL.
-
segment_type: string
Type of segment.
-
tablespace_name: string
Name of the tablespace containing the segment.