Get temporary files for a tablespace
get
/database/storage/tablespaces/{tablespace_name}/tempfiles/
Returns records from DBA_TEMP_FILES for a specific tablespace. 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.
Query Parameters
-
limit(optional): integer(int32)
The maximum number of records to return.
-
q(optional): string
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.
Response
Supported Media Types
- application/json
200 Response
Description of all temporary files used by the specified tablespace.
Root Schema : DatabaseTablespaceTempfiles
Type:
Show Source
object
-
count(optional):
integer
Total number of records in the current response.
-
hasMore(optional):
boolean
Indicates if there are more records to be retrieved.
-
items(optional):
array items
-
limit(optional):
integer
The actual page size limit on number of records applied by the server.
-
links(optional):
array links
-
offset(optional):
integer
The actual index from which the item resources are returned.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object DatabaseTablespaceTempfilesItem
Describes a temporary file in the database.
Nested Schema : DatabaseTablespaceTempfilesItem
Type:
object
Describes a temporary file in the database.
Show Source
-
autoextensible(optional):
string
Indicates whether the file is autoextensible (YES) or not (NO).
-
blocks(optional):
integer
Size of the file (in Oracle blocks).
-
bytes(optional):
integer
Size of the file (in bytes).
-
file_id(optional):
integer
File identifier number of the database temp file.
-
file_name(optional):
string
Name of the database file.
-
increment_by(optional):
integer
Default increment for autoextension (in Oracle blocks).
-
inst_id(optional):
integer
Instance ID of the instance to which the temp file belongs. This column has a NULL value for temp files that belong to shared tablespaces.
-
links(optional):
array links
-
maxblocks(optional):
integer
Maximum size of the file (in Oracle blocks).
-
maxbytes(optional):
integer
Maximum size of the file (in bytes).
-
relative_fno(optional):
integer
Tablespace-relative file number.
- shared(optional): string
-
status(optional):
string
File status.
-
tablespace_name(optional):
string
Name of the tablespace.
-
user_blocks(optional):
integer
Size of the useful portion of the file (in Oracle blocks).
-
user_bytes(optional):
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.