Get all tablespaces
get
/database/storage/tablespaces/
Returns records from DBA_TABLESPACES along with data usage information from DBA_TABLESPACE_USAGE_METRICS. A client requires SQL Administrator role to invoke this service.
Request
Query Parameters
-
limit: integer(int32)
The maximum number of records to return.
-
q:
Filtering is the process of limiting a collection resource by using a per-request dynamic filter definition across multiple page resources, where each page contains a subset of items found in the complete collection. Filtering enables efficient traversal of large collections.Examples
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Description of all tablespaces in the database.
Root Schema : DatabaseTablespaces
Type:
Show Source
object
-
count: integer
Total number of records in the current response.
-
hasMore: boolean
Indicates if there are more records to be retrieved.
-
items: array
items
-
limit: integer
The actual page size limit on number of records applied by the server.
-
links: array
links
-
offset: integer
The actual index from which the item resources are returned.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object DatabaseTablespacesItem
Describes a tablespace in the database.
Nested Schema : DatabaseTablespacesItem
Type:
object
Describes a tablespace in the database.
Show Source
-
autoextensible: string
Indicates whether the file is autoextensible (YES) or not (NO).
-
blocks: integer
Size of the file (in Oracle blocks).
-
bytes: integer
Size of the file (in bytes).
-
file_id: integer
File identifier number of the database file.
-
file_name: string
Name of the database file.
-
free_space: integer
Total free space (in bytes).
-
increment_by: integer
Default increment for autoextension (in Oracle blocks).
-
links: array
links
-
maxblocks: integer
Maximum size of the file (in Oracle blocks).
-
maxbytes: integer
Maximum size of the file (in bytes).
-
online_status: string
Online status of the file.
-
relative_fno: integer
Tablespace-relative file number.
-
status: string
File status.
-
tablespace_name: string
Name of the tablespace.
-
total_space: integer
Total size of the files (in bytes).
-
used_space: integer
Total used space (in bytes).
-
user_blocks: integer
Size of the useful portion of the file (in Oracle blocks).
-
user_bytes: integer
The size of the file available for user data. The actual size of the file minus the USER_BYTES value is used to store file related metadata.