Lists the number of optimizer statistics collection operations per hour, grouped by task or object status for the specified Managed Database.

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/optimizerStatisticsCollectionAggregations?startTimeGreaterThanOrEqualTo=<string>&endTimeLessThanOrEqualTo=<string>&taskType=ALL&groupType=TASK_STATUS&limit=10&page=<string>

Gets a list of the optimizer statistics collection operations per hour, grouped by task or object status for the specified Managed Database. You must specify a value for GroupByQueryParam to determine whether the data should be grouped by task status or task object status. Optionally, you can specify a date-time range (of seven days) to obtain collection aggregations within the specified time range. If the date-time range is not specified, then the operations in the last seven days are listed. You can further filter the results by providing the optional type of TaskTypeQueryParam. If the task type not provided, then both Auto and Manual tasks are considered for aggregation.

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'".
taskTypestringThe filter types of the optimizer statistics tasks.
groupTypestring(Required) The optimizer statistics tasks grouped by type.
limitnumberThe maximum number of records returned in the paginated response.
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.

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;timeStart&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;completed&quot;:&quot;\u003cinteger\u003e&quot;,&quot;failed&quot;:&quot;\u003cinteger\u003e&quot;,&quot;groupBy&quot;:&quot;TASK_STATUS&quot;,&quot;inProgress&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pending&quot;:&quot;\u003cinteger\u003e&quot;,&quot;skipped&quot;:&quot;\u003cinteger\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timedOut&quot;:&quot;\u003cinteger\u003e&quot;,&quot;total&quot;:&quot;\u003cinteger\u003e&quot;,&quot;unknown&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;timeStart&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;completed&quot;:&quot;\u003cinteger\u003e&quot;,&quot;failed&quot;:&quot;\u003cinteger\u003e&quot;,&quot;groupBy&quot;:&quot;TASK_OBJECTS_STATUS&quot;,&quot;inProgress&quot;:&quot;\u003cinteger\u003e&quot;,&quot;pending&quot;:&quot;\u003cinteger\u003e&quot;,&quot;skipped&quot;:&quot;\u003cinteger\u003e&quot;,&quot;timeEnd&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;timedOut&quot;:&quot;\u003cinteger\u003e&quot;,&quot;total&quot;:&quot;\u003cinteger\u003e&quot;,&quot;unknown&quot;:&quot;\u003cinteger\u003e&quot;}]}