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
Supported Media Types
- application/json
Path Parameters
-
segment_name: string
Name of the segment.
-
tablespace_name: string
Name of the tablespace.
Response
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(optional):
integer
Size, in Oracle blocks, of the segment.
-
buffer_pool(optional):
string
Buffer pool to be used for segment blocks.
-
bytes(optional):
integer
Size, in bytes, of the segment.
-
cell_flash_cache(optional):
string
Cell flash cache hint to be used for segment blocks.
-
cellmemory(optional):
string
The value for columnar compression in the storage cell flash cache.
-
extents(optional):
integer
Number of extents allocated to the segment.
-
flash_cache(optional):
string
Database Smart Flash Cache hint to be used for segment blocks.
-
freelist_groups(optional):
integer
Number of freelist groups allocated to this segment.
-
freelists(optional):
integer
Number of process freelists allocated to this segment.
-
header_block(optional):
integer
ID of the block containing the segment header.
-
header_file(optional):
integer
ID of the file containing the segment header.
-
initial_extent(optional):
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(optional):
string
Indicates whether the In-Memory Column Store (IM column store) is enabled (ENABLED) or disabled (DISABLED) for this segment.
-
inmemory_compression(optional):
string
Indicates the compression level for the IM column store.
-
inmemory_distribute(optional):
string
ndicates how the IM column store is distributed in an Oracle Real Application Clusters (Oracle RAC) environment.
-
inmemory_duplicate(optional):
string
ndicates 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.
-
links(optional):
array links
-
max_extents(optional):
integer
Maximum number of extents allowed in the segment.
-
max_size(optional):
integer
Maximum number of blocks allowed in the segment.
-
min_extents(optional):
integer
Minimum number of extents allowed in the segment.
-
minretention(optional):
integer
Minimum retention duration for SECUREFILE segment.
-
next_extent(optional):
integer
Size in bytes of the next extent to be allocated to the segment.
-
owner(optional):
string
Username of the segment owner.
-
partition_name(optional):
string
Object Partition Name (Set to NULL for nonpartitioned objects).
-
pct_increase(optional):
integer
Percent by which to increase the size of the next extent to be allocated.
-
relative_fno(optional):
integer
Relative file number of the segment header.
-
retention(optional):
string
Retention option for SECUREFILE segment.
-
segment_name(optional):
string
Name, if any, of the segment.
-
segment_subtype(optional):
string
Subtype of LOB segment: SECUREFILE, ASSM, MSSM, and NULL.
-
segment_type(optional):
string
Type of segment.
-
tablespace_name(optional):
string
Name of the tablespace containing the segment.