Get storage statistics
get
/database/storage/bytes
Returns info on bytes allocated for storage and how much is used. Using DBA_DATA_FILES data to calculate the total bytes allocated for storage along with DBA_TABLESPACE_USAGE_METRICS and DBA_TABLESPACES data to calculate the used bytes. A client requires SQL Administrator role to invoke this service.
Request
There are no request parameters for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Total bytes across all the data files and how much is used.
Root Schema : DatabaseStorageBytesItem
Type:
object
Total size of data files in the database and their total usage.
Show Source
-
links(optional):
array links
-
total_bytes(optional):
integer
Total size (in bytes) of all the data files in the database.
-
used_bytes(optional):
integer
Total number of bytes used by all the tablespaces in the database.