Summarize AWR datbase parameter history information.
GET {{baseUrl}}/managedDatabases/:managedDatabaseId/awrDbs/:awrDbId/awrDbParameters?instNum=<string>&beginSnIdGreaterThanOrEqualTo=<integer>&endSnIdLessThanOrEqualTo=<integer>&timeGreaterThanOrEqualTo=<dateTime>&timeLessThanOrEqualTo=<dateTime>&containerId=<integer>&name=<string>&name=<string>&nameContains=<string>&valueChanged=Y&valueDefault=TRUE&valueModified=FALSE&page=<string>&limit=1000&sortBy=IS_CHANGED&sortOrder=DESC
Summarizes the database parameter history for the specified database in AWR. This includes the list of database parameters, with information on whether the parameter values were modified within the query time range. Note that each database parameter is only listed once. Depending on the optional query parameters, the returned summary gets all the database parameters, which include:
- Each parameter whose value was changed during the time range: (valueChanged =
Y
) - Each parameter whose value was unchanged during the time range: (valueChanged =
N
) - Each parameter whose value was changed at the system level during the time range: (valueChanged =
Y
and valueModified =SYSTEM_MOD
) - Each parameter whose value was unchanged during the time range, however, the value is not the default value: (valueChanged =
N
and valueDefault =FALSE
)
Note that this API does not return information on the number of times each database parameter has been changed within the time range. To get the database parameter value change history for a specific parameter, use the following API endpoint: /managedDatabases/{managedDatabaseId}/awrDbs/{awrDbId}/awrDbParameterChanges
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. | |
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 | |||
name | string | The optional multiple value query parameter to filter the entity name. | |
name | string | The optional multiple value query parameter to filter the entity name. | |
nameContains | string | The optional contains query parameter to filter the entity name by any part of the name. | |
valueChanged | string | The optional query parameter to filter database parameters whose values were changed. | |
valueDefault | string | The optional query parameter to filter the database parameters that had the default value in the last snapshot. | |
valueModified | string | The optional query parameter to filter the database parameters that had a modified value in the last snapshot. | |
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 the AWR database parameter change history 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_CHANGE","dbQueryTimeInSecs":"\u003cdouble\u003e","queryKey":"\u003cstring\u003e","version":"\u003cstring\u003e","items":[{"name":"\u003cstring\u003e","beginValue":"\u003cstring\u003e","endValue":"\u003cstring\u003e","instanceNumber":"\u003cinteger\u003e","isChanged":"\u003cboolean\u003e","isDefault":"\u003cboolean\u003e","valueModified":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","beginValue":"\u003cstring\u003e","endValue":"\u003cstring\u003e","instanceNumber":"\u003cinteger\u003e","isChanged":"\u003cboolean\u003e","isDefault":"\u003cboolean\u003e","valueModified":"\u003cstring\u003e"}]}