Summarize AWR event data into value buckets and frequencies for one database.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/awrDbs/:awrDbId/awrDbWaitEventBuckets?instNum=<string>&beginSnIdGreaterThanOrEqualTo=<integer>&endSnIdLessThanOrEqualTo=<integer>&timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&name=<string>&numBucket=10&minValue=0&maxValue=<double>&containerId=<integer>&page=<string>&limit=1000&sortBy=CATEGORY&sortOrder=ASC
Summarizes AWR wait event data into value buckets and frequency, for the specified database in the AWR.
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. | |
name | string | (Required) The required single value query parameter to filter the entity name. | |
numBucket | number | The number of buckets within the histogram. | |
minValue | number | The minimum value of the histogram. | |
maxValue | string | The maximum value of the histogram. | |
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 | |||
page | string | The page token representing the page from where the next set of paginated results | |
are retrieved. This is usually retrieved from a previous list call. | |||
limit | number | The maximum number of records returned in large paginated response. | |
sortBy | string | The option to sort distribution data. | |
sortOrder | string | The option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Ascending 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_SQL_REPORT","dbQueryTimeInSecs":"\u003cdouble\u003e","queryKey":"\u003cstring\u003e","version":"\u003cstring\u003e","items":[{"category":"\u003cstring\u003e","percentage":"\u003cdouble\u003e"},{"category":"\u003cstring\u003e","percentage":"\u003cdouble\u003e"}],"totalWaits":"\u003clong\u003e"}