Gets an array of details for the findings that match the given filters.

GET {{baseUrl}}/managedDatabases/:managedDatabaseId/sqlTuningAdvisorTasks/:sqlTuningAdvisorTaskId/findings?beginExecId=<long>&endExecId=<long>&searchPeriod=ALL&findingFilter=none&statsHashFilter=<string>&indexHashFilter=<string>&sortBy=DBTIME_BENEFIT&sortOrder=DESC&page=<string>&limit=10

Gets an array of the details of the findings that match specific filters.

Request Params

KeyDatatypeRequiredDescription
beginExecIdstringThe optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task.
endExecIdstringThe optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task.
searchPeriodstringThe search period during which the API will search for begin and end exec id, if not supplied.
Unused if beginExecId and endExecId optional query params are both supplied.
findingFilterstringThe filter used to display specific findings in the report.
statsHashFilterstringThe hash value of the object for the statistic finding search.
indexHashFilterstringThe hash value of the index table name.
sortBystringThe possible sortBy values of an object's recommendations.
sortOrderstringThe option to sort information in ascending (‘ASC’) or descending (‘DESC’) order. Descending order is the default order.
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.

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;sqlTuningAdvisorTaskId&quot;:&quot;\u003clong\u003e&quot;,&quot;sqlTuningAdvisorTaskObjectId&quot;:&quot;\u003clong\u003e&quot;,&quot;sqlTuningAdvisorTaskObjectExecutionId&quot;:&quot;\u003clong\u003e&quot;,&quot;parsingSchema&quot;:&quot;\u003cstring\u003e&quot;,&quot;sqlText&quot;:&quot;\u003cstring\u003e&quot;,&quot;sqlKey&quot;:&quot;\u003cstring\u003e&quot;,&quot;dbTimeBenefit&quot;:&quot;\u003cfloat\u003e&quot;,&quot;isAlternativePlanFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isErrorFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isIndexFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isMiscellaneousFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isRestructureSqlFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isSqlProfileFindingImplemented&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isSqlProfileFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isStatsFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isTimeoutFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;perExecutionPercentage&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;sqlTuningAdvisorTaskId&quot;:&quot;\u003clong\u003e&quot;,&quot;sqlTuningAdvisorTaskObjectId&quot;:&quot;\u003clong\u003e&quot;,&quot;sqlTuningAdvisorTaskObjectExecutionId&quot;:&quot;\u003clong\u003e&quot;,&quot;parsingSchema&quot;:&quot;\u003cstring\u003e&quot;,&quot;sqlText&quot;:&quot;\u003cstring\u003e&quot;,&quot;sqlKey&quot;:&quot;\u003cstring\u003e&quot;,&quot;dbTimeBenefit&quot;:&quot;\u003cfloat\u003e&quot;,&quot;isAlternativePlanFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isErrorFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isIndexFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isMiscellaneousFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isRestructureSqlFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isSqlProfileFindingImplemented&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isSqlProfileFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isStatsFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;isTimeoutFindingPresent&quot;:&quot;\u003cboolean\u003e&quot;,&quot;perExecutionPercentage&quot;:&quot;\u003cinteger\u003e&quot;}]}