Summarizes AWR top N wait events.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/awrDbs/:awrDbId/awrDbTopWaitEvents?instNum=<string>&beginSnIdGreaterThanOrEqualTo=<integer>&endSnIdLessThanOrEqualTo=<integer>&timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&sessionType=FOREGROUND&containerId=<integer>&topN=10&sortBy=WAITS_PERSEC&sortOrder=DESC
Summarizes the AWR top wait events.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
instNum | string | The optional single value query parameter to filter the database instance number. | |
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. | |
sessionType | string | The optional query parameter to filter ASH activities by FOREGROUND or BACKGROUND. | |
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 | |||
topN | number | The optional query parameter to filter the number of top categories to be returned. | |
sortBy | string | The option to sort the AWR top event summary data. | |
sortOrder | string | The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order. |
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_DB_PARAMETER_SET","dbQueryTimeInSecs":"\u003cdouble\u003e","queryKey":"\u003cstring\u003e","version":"\u003cstring\u003e","items":[{"name":"\u003cstring\u003e","avgWaitTimePerSec":"\u003cdouble\u003e","waitsPerSec":"\u003cdouble\u003e"},{"name":"\u003cstring\u003e","avgWaitTimePerSec":"\u003cdouble\u003e","waitsPerSec":"\u003cdouble\u003e"}]}