List the AWR snapshots for one database.

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

Lists AWR snapshots for the specified database in the AWR.

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.
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 the paginated response.
sortBystringThe option to sort the AWR snapshot 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_DB_PARAMETER_CHANGE&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;awrDbId&quot;:&quot;\u003cstring\u003e&quot;,&quot;snapshotId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;errorCount&quot;:&quot;\u003clong\u003e&quot;,&quot;instanceNumber&quot;:&quot;\u003cinteger\u003e&quot;,&quot;timeBegin&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeDbStartup&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;},{&quot;awrDbId&quot;:&quot;\u003cstring\u003e&quot;,&quot;snapshotId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;errorCount&quot;:&quot;\u003clong\u003e&quot;,&quot;instanceNumber&quot;:&quot;\u003cinteger\u003e&quot;,&quot;timeBegin&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeDbStartup&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;}]}