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
Title:
DatabaseTablespaceSegmentsItem
Describes the storage allocated for a segments in the database.
Show Source
-
blocks(optional):
integer(int32)
Size, in Oracle blocks, of the segment.
-
buffer_pool(optional):
string
Buffer pool to be used for segment blocks.
-
bytes(optional):
integer(int32)
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(int32)
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(int32)
Number of freelist groups allocated to this segment.
-
freelists(optional):
integer(int32)
Number of process freelists allocated to this segment.
-
header_block(optional):
integer(int32)
ID of the block containing the segment header.
-
header_file(optional):
integer(int32)
ID of the file containing the segment header.
-
initial_extent(optional):
integer(int32)
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
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.
-
links(optional):
array links
-
max_extents(optional):
integer(int32)
Maximum number of extents allowed in the segment.
-
max_size(optional):
integer(int32)
Maximum number of blocks allowed in the segment.
-
min_extents(optional):
integer(int32)
Minimum number of extents allowed in the segment.
-
minretention(optional):
integer(int32)
Minimum retention duration for SECUREFILE segment.
-
next_extent(optional):
integer(int32)
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(int32)
Percent by which to increase the size of the next extent to be allocated.
-
relative_fno(optional):
integer(int32)
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.