Summarizes metric samples for the specified database.

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/awrDbs/:awrDbId/awrDbMetrics?instNum=<string>&beginSnIdGreaterThanOrEqualTo=<integer>&endSnIdLessThanOrEqualTo=<integer>&timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&name=<string>&name=<string>&containerId=<integer>&page=<string>&limit=1000&sortBy=TIMESTAMP&sortOrder=DESC

Summarizes the metric samples for the specified database in the AWR. The metric samples are summarized based on the Time dimension for each metric.

Request Params

KeyDatatypeRequiredDescription
instNumstringThe optional single value query parameter to filter the database instance number.
beginSnIdGreaterThanOrEqualTostringThe optional greater than or equal to filter on the snapshot ID.
endSnIdLessThanOrEqualTostringThe optional less than or equal to query parameter to filter the snapshot ID.
timeGreaterThanOrEqualTostringThe optional greater than or equal to query parameter to filter the timestamp.
timeLessThanOrEqualTostringThe optional less than or equal to query parameter to filter the timestamp.
namestring(Required) The required multiple value query parameter to filter the entity name.
namestring(Required) The required multiple value query parameter to filter the entity name.
containerIdstringThe 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
pagestringThe page token representing the page from where the next set of paginated results
are retrieved. This is usually retrieved from a previous list call.
limitnumberThe maximum number of records returned in large paginated response.
sortBystringThe option to sort the AWR time series summary data.
sortOrderstringThe option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order.

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
opc-retry-tokenstringA 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-idstringThe OCID of the Named Credential.
Acceptstring

RESPONSES

status: OK

{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;awrResultType&quot;:&quot;AWRDB_SYSSTAT_SET&quot;,&quot;dbQueryTimeInSecs&quot;:&quot;\u003cdouble\u003e&quot;,&quot;queryKey&quot;:&quot;\u003cstring\u003e&quot;,&quot;version&quot;:&quot;\u003cstring\u003e&quot;,&quot;items&quot;:[{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;avgValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;maxValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;minValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;avgValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;maxValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;minValue&quot;:&quot;\u003cdouble\u003e&quot;,&quot;timestamp&quot;:&quot;\u003cdateTime\u003e&quot;}]}