Gets the AWR database report.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/awrDbs/:awrDbId/awrDbReport?instNums=<integer>,<integer>&beginSnIdGreaterThanOrEqualTo=<integer>&endSnIdLessThanOrEqualTo=<integer>&timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&reportType=AWR&containerId=<integer>&reportFormat=HTML
Gets the AWR report for the specific database.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
instNums | string | The optional multiple value query parameter to filter the database instance numbers. | |
beginSnIdGreaterThanOrEqualTo | string | The optional greater than or equal to filter on the snapshot ID. | |
endSnIdLessThanOrEqualTo | string | The optional less than or equal to query parameter to filter the snapshot ID. | |
timeGreaterThanOrEqualTo | string | The optional greater than or equal to query parameter to filter the timestamp. | |
timeLessThanOrEqualTo | string | The optional less than or equal to query parameter to filter the timestamp. | |
reportType | string | The query parameter to filter the AWR report types. | |
containerId | string | The optional query parameter to filter the database container by an exact ID value. | |
Note that the database container ID can be retrieved from the following endpoint: | |||
/managedDatabases/{managedDatabaseId}/awrDbSnapshotRanges | |||
reportFormat | string | The format of the AWR report. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
opc-named-credential-id | string | The OCID of the Named Credential. | |
Accept | string |
RESPONSES
status: OK
{"name":"\u003cstring\u003e","awrResultType":"AWRDB_ASH_CPU_USAGE_SET","dbQueryTimeInSecs":"\u003cdouble\u003e","queryKey":"\u003cstring\u003e","version":"\u003cstring\u003e","content":"\u003cstring\u003e","format":"XML"}