Get tablespace data file
get
/database/storage/tablespaces/{tablespace_name}/datafiles/{file_id}/
Returns data from DBA_DATA_FILES for a specific tablespace and file. A client requires SQL Administrator role to invoke this service.
Request
Path Parameters
-
file_id(required): string
File identifier.
-
tablespace_name(required): string
Name of the tablespace.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Information about the specified data file.
Root Schema : DatabaseTablespaceDatafilesItem
Type:
Show Source
object
-
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_name: string
Name of the database file.
-
increment_by: integer
Default increment for autoextension (in Oracle blocks).
-
links: array
links
-
lost_write_protect: integer
Lost write protection status of the file.
-
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: string
Name of the tablespace.
-
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.