Lists the optimizer advisor task executions scan details and their findings count.

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/optimizerStatisticsAdvisorExecutions?startTimeGreaterThanOrEqualTo=<string>&endTimeLessThanOrEqualTo=<string>

Lists the details of the Optimizer Statistics Advisor task executions, such as their duration, and the number of findings, if any. Optionally, you can specify a date-time range (of seven days) to obtain the list of executions that fall within the specified time range. If the date-time range is not specified, then the executions in the last seven days are listed.

Request Params

KeyDatatypeRequiredDescription
startTimeGreaterThanOrEqualTostringThe start time of the time range to retrieve the optimizer statistics of a Managed Database
in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
endTimeLessThanOrEqualTostringThe end time of the time range to retrieve the optimizer statistics of a Managed Database
in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".

HEADERS

KeyDatatypeRequiredDescription
opc-request-idstringThe client request ID for tracing.
opc-named-credential-idstringThe OCID of the Named Credential.
Acceptstring

RESPONSES

status: OK

{&quot;items&quot;:[{&quot;taskName&quot;:&quot;\u003cstring\u003e&quot;,&quot;executionName&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeStart&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;FATAL_ERROR&quot;,&quot;errorMessage&quot;:&quot;\u003cstring\u003e&quot;,&quot;findings&quot;:&quot;\u003cinteger\u003e&quot;,&quot;statusMessage&quot;:&quot;\u003cstring\u003e&quot;},{&quot;taskName&quot;:&quot;\u003cstring\u003e&quot;,&quot;executionName&quot;:&quot;\u003cstring\u003e&quot;,&quot;timeStart&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;status&quot;:&quot;COMPLETED&quot;,&quot;errorMessage&quot;:&quot;\u003cstring\u003e&quot;,&quot;findings&quot;:&quot;\u003cinteger\u003e&quot;,&quot;statusMessage&quot;:&quot;\u003cstring\u003e&quot;}]}