Get tablespace space usage history
get
/database/storage/tablespaces/{tablespace_name}/history
Oracle Diagnostic Pack licence is required for this service. Returns DBA_HIST_TBSPC_SPACE_USAGE records where tablespace size has changed. These records are historical tablespace usage statistics. Recent changes in tablespace storage or usage will not appear until a snapshot is created. A client requires SQL Administrator role to invoke this service.
Request
Supported Media Types
- application/json
Path Parameters
-
tablespace_name: string
Name of the tablespace.
Response
Supported Media Types
- application/json
200 Response
Tablespace space usage history for the specified tablespace.
Root Schema : DatabaseTablespaceHistoryItem
Type:
object
Describes historical tablespace usage statistics.
Show Source
-
con_dbid(optional):
integer
The database ID of the PDB for the sampled session.
-
con_id(optional):
integer
The ID of the container that CON_DBID identifies.
-
dbid(optional):
integer
Database ID for the snapshot.
-
name(optional):
string
Tablespace name.
-
prev_tablespace_size(optional):
integer
The previous tablespace size (in database blocks).
-
rtime(optional):
string
Runtime.
-
snap_id(optional):
integer
Unique snapshot ID.
-
tablespace_id(optional):
integer
Tablespace ID.
-
tablespace_maxsize(optional):
integer
Maximum size of the tablespace (in database blocks).
-
tablespace_size(optional):
integer
Tablespace size (in database blocks).
-
tablespace_usedsize(optional):
integer
Used size of the tablespace (in database blocks).