Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksSummaryReport
Explore with Pulumi AI
This data source provides details about a specific Managed Database Sql Tuning Advisor Tasks Summary Report resource in Oracle Cloud Infrastructure Database Management service.
Gets the summary report for the specified SQL Tuning Advisor task.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabaseSqlTuningAdvisorTasksSummaryReport = oci.DatabaseManagement.getManagedDatabaseSqlTuningAdvisorTasksSummaryReport({
    managedDatabaseId: testManagedDatabase.id,
    sqlTuningAdvisorTaskId: testSqlTuningAdvisorTask.id,
    beginExecIdGreaterThanOrEqualTo: managedDatabaseSqlTuningAdvisorTasksSummaryReportBeginExecIdGreaterThanOrEqualTo,
    endExecIdLessThanOrEqualTo: managedDatabaseSqlTuningAdvisorTasksSummaryReportEndExecIdLessThanOrEqualTo,
    opcNamedCredentialId: managedDatabaseSqlTuningAdvisorTasksSummaryReportOpcNamedCredentialId,
    searchPeriod: managedDatabaseSqlTuningAdvisorTasksSummaryReportSearchPeriod,
    timeGreaterThanOrEqualTo: managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeGreaterThanOrEqualTo,
    timeLessThanOrEqualTo: managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeLessThanOrEqualTo,
});
import pulumi
import pulumi_oci as oci
test_managed_database_sql_tuning_advisor_tasks_summary_report = oci.DatabaseManagement.get_managed_database_sql_tuning_advisor_tasks_summary_report(managed_database_id=test_managed_database["id"],
    sql_tuning_advisor_task_id=test_sql_tuning_advisor_task["id"],
    begin_exec_id_greater_than_or_equal_to=managed_database_sql_tuning_advisor_tasks_summary_report_begin_exec_id_greater_than_or_equal_to,
    end_exec_id_less_than_or_equal_to=managed_database_sql_tuning_advisor_tasks_summary_report_end_exec_id_less_than_or_equal_to,
    opc_named_credential_id=managed_database_sql_tuning_advisor_tasks_summary_report_opc_named_credential_id,
    search_period=managed_database_sql_tuning_advisor_tasks_summary_report_search_period,
    time_greater_than_or_equal_to=managed_database_sql_tuning_advisor_tasks_summary_report_time_greater_than_or_equal_to,
    time_less_than_or_equal_to=managed_database_sql_tuning_advisor_tasks_summary_report_time_less_than_or_equal_to)
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/databasemanagement"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReport(ctx, &databasemanagement.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs{
			ManagedDatabaseId:               testManagedDatabase.Id,
			SqlTuningAdvisorTaskId:          testSqlTuningAdvisorTask.Id,
			BeginExecIdGreaterThanOrEqualTo: pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportBeginExecIdGreaterThanOrEqualTo),
			EndExecIdLessThanOrEqualTo:      pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportEndExecIdLessThanOrEqualTo),
			OpcNamedCredentialId:            pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportOpcNamedCredentialId),
			SearchPeriod:                    pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportSearchPeriod),
			TimeGreaterThanOrEqualTo:        pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeGreaterThanOrEqualTo),
			TimeLessThanOrEqualTo:           pulumi.StringRef(managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeLessThanOrEqualTo),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testManagedDatabaseSqlTuningAdvisorTasksSummaryReport = Oci.DatabaseManagement.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReport.Invoke(new()
    {
        ManagedDatabaseId = testManagedDatabase.Id,
        SqlTuningAdvisorTaskId = testSqlTuningAdvisorTask.Id,
        BeginExecIdGreaterThanOrEqualTo = managedDatabaseSqlTuningAdvisorTasksSummaryReportBeginExecIdGreaterThanOrEqualTo,
        EndExecIdLessThanOrEqualTo = managedDatabaseSqlTuningAdvisorTasksSummaryReportEndExecIdLessThanOrEqualTo,
        OpcNamedCredentialId = managedDatabaseSqlTuningAdvisorTasksSummaryReportOpcNamedCredentialId,
        SearchPeriod = managedDatabaseSqlTuningAdvisorTasksSummaryReportSearchPeriod,
        TimeGreaterThanOrEqualTo = managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeGreaterThanOrEqualTo,
        TimeLessThanOrEqualTo = managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeLessThanOrEqualTo,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var testManagedDatabaseSqlTuningAdvisorTasksSummaryReport = DatabaseManagementFunctions.getManagedDatabaseSqlTuningAdvisorTasksSummaryReport(GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs.builder()
            .managedDatabaseId(testManagedDatabase.id())
            .sqlTuningAdvisorTaskId(testSqlTuningAdvisorTask.id())
            .beginExecIdGreaterThanOrEqualTo(managedDatabaseSqlTuningAdvisorTasksSummaryReportBeginExecIdGreaterThanOrEqualTo)
            .endExecIdLessThanOrEqualTo(managedDatabaseSqlTuningAdvisorTasksSummaryReportEndExecIdLessThanOrEqualTo)
            .opcNamedCredentialId(managedDatabaseSqlTuningAdvisorTasksSummaryReportOpcNamedCredentialId)
            .searchPeriod(managedDatabaseSqlTuningAdvisorTasksSummaryReportSearchPeriod)
            .timeGreaterThanOrEqualTo(managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeGreaterThanOrEqualTo)
            .timeLessThanOrEqualTo(managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeLessThanOrEqualTo)
            .build());
    }
}
variables:
  testManagedDatabaseSqlTuningAdvisorTasksSummaryReport:
    fn::invoke:
      function: oci:DatabaseManagement:getManagedDatabaseSqlTuningAdvisorTasksSummaryReport
      arguments:
        managedDatabaseId: ${testManagedDatabase.id}
        sqlTuningAdvisorTaskId: ${testSqlTuningAdvisorTask.id}
        beginExecIdGreaterThanOrEqualTo: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportBeginExecIdGreaterThanOrEqualTo}
        endExecIdLessThanOrEqualTo: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportEndExecIdLessThanOrEqualTo}
        opcNamedCredentialId: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportOpcNamedCredentialId}
        searchPeriod: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportSearchPeriod}
        timeGreaterThanOrEqualTo: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeGreaterThanOrEqualTo}
        timeLessThanOrEqualTo: ${managedDatabaseSqlTuningAdvisorTasksSummaryReportTimeLessThanOrEqualTo}
Using getManagedDatabaseSqlTuningAdvisorTasksSummaryReport
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedDatabaseSqlTuningAdvisorTasksSummaryReport(args: GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult>
function getManagedDatabaseSqlTuningAdvisorTasksSummaryReportOutput(args: GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult>def get_managed_database_sql_tuning_advisor_tasks_summary_report(begin_exec_id_greater_than_or_equal_to: Optional[str] = None,
                                                                 end_exec_id_less_than_or_equal_to: Optional[str] = None,
                                                                 managed_database_id: Optional[str] = None,
                                                                 opc_named_credential_id: Optional[str] = None,
                                                                 search_period: Optional[str] = None,
                                                                 sql_tuning_advisor_task_id: Optional[str] = None,
                                                                 time_greater_than_or_equal_to: Optional[str] = None,
                                                                 time_less_than_or_equal_to: Optional[str] = None,
                                                                 opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult
def get_managed_database_sql_tuning_advisor_tasks_summary_report_output(begin_exec_id_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                 end_exec_id_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                 managed_database_id: Optional[pulumi.Input[str]] = None,
                                                                 opc_named_credential_id: Optional[pulumi.Input[str]] = None,
                                                                 search_period: Optional[pulumi.Input[str]] = None,
                                                                 sql_tuning_advisor_task_id: Optional[pulumi.Input[str]] = None,
                                                                 time_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                 time_less_than_or_equal_to: Optional[pulumi.Input[str]] = None,
                                                                 opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult]func GetManagedDatabaseSqlTuningAdvisorTasksSummaryReport(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs, opts ...InvokeOption) (*GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult, error)
func GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportOutput(ctx *Context, args *GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportOutputArgs, opts ...InvokeOption) GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResultOutput> Note: This function is named GetManagedDatabaseSqlTuningAdvisorTasksSummaryReport in the Go SDK.
public static class GetManagedDatabaseSqlTuningAdvisorTasksSummaryReport 
{
    public static Task<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult> InvokeAsync(GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs args, InvokeOptions? opts = null)
    public static Output<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult> Invoke(GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult> getManagedDatabaseSqlTuningAdvisorTasksSummaryReport(GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs args, InvokeOptions options)
public static Output<GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportResult> getManagedDatabaseSqlTuningAdvisorTasksSummaryReport(GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportArgs args, InvokeOptions options)
fn::invoke:
  function: oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksSummaryReport:getManagedDatabaseSqlTuningAdvisorTasksSummaryReport
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ManagedDatabase stringId 
- The OCID of the Managed Database.
- SqlTuning stringAdvisor Task Id 
- The SQL tuning task identifier. This is not the OCID.
- BeginExec stringId Greater Than Or Equal To 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- EndExec stringId Less Than Or Equal To 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- OpcNamed stringCredential Id 
- The OCID of the Named Credential.
- SearchPeriod string
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- TimeGreater stringThan Or Equal To 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- TimeLess stringThan Or Equal To 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- ManagedDatabase stringId 
- The OCID of the Managed Database.
- SqlTuning stringAdvisor Task Id 
- The SQL tuning task identifier. This is not the OCID.
- BeginExec stringId Greater Than Or Equal To 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- EndExec stringId Less Than Or Equal To 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- OpcNamed stringCredential Id 
- The OCID of the Named Credential.
- SearchPeriod string
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- TimeGreater stringThan Or Equal To 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- TimeLess stringThan Or Equal To 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- managedDatabase StringId 
- The OCID of the Managed Database.
- sqlTuning StringAdvisor Task Id 
- The SQL tuning task identifier. This is not the OCID.
- beginExec StringId Greater Than Or Equal To 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- endExec StringId Less Than Or Equal To 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- opcNamed StringCredential Id 
- The OCID of the Named Credential.
- searchPeriod String
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- timeGreater StringThan Or Equal To 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- timeLess StringThan Or Equal To 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- managedDatabase stringId 
- The OCID of the Managed Database.
- sqlTuning stringAdvisor Task Id 
- The SQL tuning task identifier. This is not the OCID.
- beginExec stringId Greater Than Or Equal To 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- endExec stringId Less Than Or Equal To 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- opcNamed stringCredential Id 
- The OCID of the Named Credential.
- searchPeriod string
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- timeGreater stringThan Or Equal To 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- timeLess stringThan Or Equal To 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- managed_database_ strid 
- The OCID of the Managed Database.
- sql_tuning_ stradvisor_ task_ id 
- The SQL tuning task identifier. This is not the OCID.
- begin_exec_ strid_ greater_ than_ or_ equal_ to 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- end_exec_ strid_ less_ than_ or_ equal_ to 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- opc_named_ strcredential_ id 
- The OCID of the Named Credential.
- search_period str
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- time_greater_ strthan_ or_ equal_ to 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- time_less_ strthan_ or_ equal_ to 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- managedDatabase StringId 
- The OCID of the Managed Database.
- sqlTuning StringAdvisor Task Id 
- The SQL tuning task identifier. This is not the OCID.
- beginExec StringId Greater Than Or Equal To 
- The optional greater than or equal to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- endExec StringId Less Than Or Equal To 
- The optional less than or equal to query parameter to filter on the execution ID related to a specific SQL Tuning Advisor task. This is applicable only for Auto SQL Tuning tasks.
- opcNamed StringCredential Id 
- The OCID of the Named Credential.
- searchPeriod String
- How far back the API will search for begin and end exec id. Unused if neither exec ids nor time filter query params are supplied. This is applicable only for Auto SQL Tuning tasks.
- timeGreater StringThan Or Equal To 
- The optional greater than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
- timeLess StringThan Or Equal To 
- The optional less than or equal to query parameter to filter the timestamp. This is applicable only for Auto SQL Tuning tasks.
getManagedDatabaseSqlTuningAdvisorTasksSummaryReport Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- IndexFindings List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Index Finding> 
- The list of object findings related to indexes.
- ManagedDatabase stringId 
- ObjectStat List<GetFindings Managed Database Sql Tuning Advisor Tasks Summary Report Object Stat Finding> 
- The list of object findings related to statistics.
- SqlTuning stringAdvisor Task Id 
- Statistics
List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic> 
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- TaskInfos List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Task Info> 
- The general information regarding the SQL Tuning Advisor task.
- BeginExec stringId Greater Than Or Equal To 
- EndExec stringId Less Than Or Equal To 
- OpcNamed stringCredential Id 
- SearchPeriod string
- TimeGreater stringThan Or Equal To 
- TimeLess stringThan Or Equal To 
- Id string
- The provider-assigned unique ID for this managed resource.
- IndexFindings []GetManaged Database Sql Tuning Advisor Tasks Summary Report Index Finding 
- The list of object findings related to indexes.
- ManagedDatabase stringId 
- ObjectStat []GetFindings Managed Database Sql Tuning Advisor Tasks Summary Report Object Stat Finding 
- The list of object findings related to statistics.
- SqlTuning stringAdvisor Task Id 
- Statistics
[]GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic 
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- TaskInfos []GetManaged Database Sql Tuning Advisor Tasks Summary Report Task Info 
- The general information regarding the SQL Tuning Advisor task.
- BeginExec stringId Greater Than Or Equal To 
- EndExec stringId Less Than Or Equal To 
- OpcNamed stringCredential Id 
- SearchPeriod string
- TimeGreater stringThan Or Equal To 
- TimeLess stringThan Or Equal To 
- id String
- The provider-assigned unique ID for this managed resource.
- indexFindings List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Index Finding> 
- The list of object findings related to indexes.
- managedDatabase StringId 
- objectStat List<GetFindings Managed Database Sql Tuning Advisor Tasks Summary Report Object Stat Finding> 
- The list of object findings related to statistics.
- sqlTuning StringAdvisor Task Id 
- statistics
List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic> 
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- taskInfos List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Task Info> 
- The general information regarding the SQL Tuning Advisor task.
- beginExec StringId Greater Than Or Equal To 
- endExec StringId Less Than Or Equal To 
- opcNamed StringCredential Id 
- searchPeriod String
- timeGreater StringThan Or Equal To 
- timeLess StringThan Or Equal To 
- id string
- The provider-assigned unique ID for this managed resource.
- indexFindings GetManaged Database Sql Tuning Advisor Tasks Summary Report Index Finding[] 
- The list of object findings related to indexes.
- managedDatabase stringId 
- objectStat GetFindings Managed Database Sql Tuning Advisor Tasks Summary Report Object Stat Finding[] 
- The list of object findings related to statistics.
- sqlTuning stringAdvisor Task Id 
- statistics
GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic[] 
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- taskInfos GetManaged Database Sql Tuning Advisor Tasks Summary Report Task Info[] 
- The general information regarding the SQL Tuning Advisor task.
- beginExec stringId Greater Than Or Equal To 
- endExec stringId Less Than Or Equal To 
- opcNamed stringCredential Id 
- searchPeriod string
- timeGreater stringThan Or Equal To 
- timeLess stringThan Or Equal To 
- id str
- The provider-assigned unique ID for this managed resource.
- index_findings Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Index Finding] 
- The list of object findings related to indexes.
- managed_database_ strid 
- object_stat_ Sequence[Getfindings Managed Database Sql Tuning Advisor Tasks Summary Report Object Stat Finding] 
- The list of object findings related to statistics.
- sql_tuning_ stradvisor_ task_ id 
- statistics
Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic] 
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- task_infos Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Task Info] 
- The general information regarding the SQL Tuning Advisor task.
- begin_exec_ strid_ greater_ than_ or_ equal_ to 
- end_exec_ strid_ less_ than_ or_ equal_ to 
- opc_named_ strcredential_ id 
- search_period str
- time_greater_ strthan_ or_ equal_ to 
- time_less_ strthan_ or_ equal_ to 
- id String
- The provider-assigned unique ID for this managed resource.
- indexFindings List<Property Map>
- The list of object findings related to indexes.
- managedDatabase StringId 
- objectStat List<Property Map>Findings 
- The list of object findings related to statistics.
- sqlTuning StringAdvisor Task Id 
- statistics List<Property Map>
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- taskInfos List<Property Map>
- The general information regarding the SQL Tuning Advisor task.
- beginExec StringId Greater Than Or Equal To 
- endExec StringId Less Than Or Equal To 
- opcNamed StringCredential Id 
- searchPeriod String
- timeGreater StringThan Or Equal To 
- timeLess StringThan Or Equal To 
Supporting Types
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFinding          
- IndexColumns List<string>
- Columns of the index.
- IndexHash stringValue 
- Numerical representation of the index.
- IndexName string
- Name of the index.
- ReferenceCount int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- Schema string
- Schema of the object.
- TableName string
- Table's name related to the index.
- IndexColumns []string
- Columns of the index.
- IndexHash stringValue 
- Numerical representation of the index.
- IndexName string
- Name of the index.
- ReferenceCount int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- Schema string
- Schema of the object.
- TableName string
- Table's name related to the index.
- indexColumns List<String>
- Columns of the index.
- indexHash StringValue 
- Numerical representation of the index.
- indexName String
- Name of the index.
- referenceCount Integer
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema String
- Schema of the object.
- tableName String
- Table's name related to the index.
- indexColumns string[]
- Columns of the index.
- indexHash stringValue 
- Numerical representation of the index.
- indexName string
- Name of the index.
- referenceCount number
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema string
- Schema of the object.
- tableName string
- Table's name related to the index.
- index_columns Sequence[str]
- Columns of the index.
- index_hash_ strvalue 
- Numerical representation of the index.
- index_name str
- Name of the index.
- reference_count int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema str
- Schema of the object.
- table_name str
- Table's name related to the index.
- indexColumns List<String>
- Columns of the index.
- indexHash StringValue 
- Numerical representation of the index.
- indexName String
- Name of the index.
- referenceCount Number
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema String
- Schema of the object.
- tableName String
- Table's name related to the index.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFinding           
- Object string
- Name of the object.
- ObjectHash stringValue 
- Numerical representation of the object.
- ObjectType string
- Type of the object.
- ProblemType string
- Type of statistics problem related to the object.
- ReferenceCount int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- Schema string
- Schema of the object.
- Object string
- Name of the object.
- ObjectHash stringValue 
- Numerical representation of the object.
- ObjectType string
- Type of the object.
- ProblemType string
- Type of statistics problem related to the object.
- ReferenceCount int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- Schema string
- Schema of the object.
- object String
- Name of the object.
- objectHash StringValue 
- Numerical representation of the object.
- objectType String
- Type of the object.
- problemType String
- Type of statistics problem related to the object.
- referenceCount Integer
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema String
- Schema of the object.
- object string
- Name of the object.
- objectHash stringValue 
- Numerical representation of the object.
- objectType string
- Type of the object.
- problemType string
- Type of statistics problem related to the object.
- referenceCount number
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema string
- Schema of the object.
- object str
- Name of the object.
- object_hash_ strvalue 
- Numerical representation of the object.
- object_type str
- Type of the object.
- problem_type str
- Type of statistics problem related to the object.
- reference_count int
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema str
- Schema of the object.
- object String
- Name of the object.
- objectHash StringValue 
- Numerical representation of the object.
- objectType String
- Type of the object.
- problemType String
- Type of statistics problem related to the object.
- referenceCount Number
- The number of the times the object is referenced within the SQL Tuning advisor task findings.
- schema String
- Schema of the object.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatistic         
- FindingBenefits List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Benefit> 
- The benefits of the findings in the SQL Tuning Advisor summary report.
- FindingCounts List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Count> 
- The number of findings in the SQL Tuning Advisor summary report.
- StatementCounts List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Statement Count> 
- The number of statements in the SQL Tuning Advisor summary report.
- FindingBenefits []GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Benefit 
- The benefits of the findings in the SQL Tuning Advisor summary report.
- FindingCounts []GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Count 
- The number of findings in the SQL Tuning Advisor summary report.
- StatementCounts []GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Statement Count 
- The number of statements in the SQL Tuning Advisor summary report.
- findingBenefits List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Benefit> 
- The benefits of the findings in the SQL Tuning Advisor summary report.
- findingCounts List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Count> 
- The number of findings in the SQL Tuning Advisor summary report.
- statementCounts List<GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Statement Count> 
- The number of statements in the SQL Tuning Advisor summary report.
- findingBenefits GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Benefit[] 
- The benefits of the findings in the SQL Tuning Advisor summary report.
- findingCounts GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Count[] 
- The number of findings in the SQL Tuning Advisor summary report.
- statementCounts GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Statement Count[] 
- The number of statements in the SQL Tuning Advisor summary report.
- finding_benefits Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Benefit] 
- The benefits of the findings in the SQL Tuning Advisor summary report.
- finding_counts Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Finding Count] 
- The number of findings in the SQL Tuning Advisor summary report.
- statement_counts Sequence[GetManaged Database Sql Tuning Advisor Tasks Summary Report Statistic Statement Count] 
- The number of statements in the SQL Tuning Advisor summary report.
- findingBenefits List<Property Map>
- The benefits of the findings in the SQL Tuning Advisor summary report.
- findingCounts List<Property Map>
- The number of findings in the SQL Tuning Advisor summary report.
- statementCounts List<Property Map>
- The number of statements in the SQL Tuning Advisor summary report.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingBenefit           
- DbTime intAfter Implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- DbTime intAfter Recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- DbTime intBefore Implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- DbTime intBefore Recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
- DbTime intAfter Implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- DbTime intAfter Recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- DbTime intBefore Implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- DbTime intBefore Recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
- dbTime IntegerAfter Implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- dbTime IntegerAfter Recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- dbTime IntegerBefore Implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- dbTime IntegerBefore Recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
- dbTime numberAfter Implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- dbTime numberAfter Recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- dbTime numberBefore Implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- dbTime numberBefore Recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
- db_time_ intafter_ implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- db_time_ intafter_ recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- db_time_ intbefore_ implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- db_time_ intbefore_ recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
- dbTime NumberAfter Implemented 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are implemented.
- dbTime NumberAfter Recommended 
- The estimated database time of the above SQL statements, if SQL Tuning Advisor recommendations are implemented.
- dbTime NumberBefore Implemented 
- The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented.
- dbTime NumberBefore Recommended 
- The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingCount           
- AlternatePlan int
- The number of distinct SQL statements with alternative plan recommendations.
- ImplementedSql intProfile 
- The number of distinct SQL statements with implemented SQL profiles.
- Index int
- The number of distinct SQL statements with index recommendations.
- RecommendedSql intProfile 
- The number of distinct SQL statements with recommended SQL profiles.
- Restructure int
- The number of distinct SQL statements with restructured SQL recommendations.
- Statistics int
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- AlternatePlan int
- The number of distinct SQL statements with alternative plan recommendations.
- ImplementedSql intProfile 
- The number of distinct SQL statements with implemented SQL profiles.
- Index int
- The number of distinct SQL statements with index recommendations.
- RecommendedSql intProfile 
- The number of distinct SQL statements with recommended SQL profiles.
- Restructure int
- The number of distinct SQL statements with restructured SQL recommendations.
- Statistics int
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- alternatePlan Integer
- The number of distinct SQL statements with alternative plan recommendations.
- implementedSql IntegerProfile 
- The number of distinct SQL statements with implemented SQL profiles.
- index Integer
- The number of distinct SQL statements with index recommendations.
- recommendedSql IntegerProfile 
- The number of distinct SQL statements with recommended SQL profiles.
- restructure Integer
- The number of distinct SQL statements with restructured SQL recommendations.
- statistics Integer
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- alternatePlan number
- The number of distinct SQL statements with alternative plan recommendations.
- implementedSql numberProfile 
- The number of distinct SQL statements with implemented SQL profiles.
- index number
- The number of distinct SQL statements with index recommendations.
- recommendedSql numberProfile 
- The number of distinct SQL statements with recommended SQL profiles.
- restructure number
- The number of distinct SQL statements with restructured SQL recommendations.
- statistics number
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- alternate_plan int
- The number of distinct SQL statements with alternative plan recommendations.
- implemented_sql_ intprofile 
- The number of distinct SQL statements with implemented SQL profiles.
- index int
- The number of distinct SQL statements with index recommendations.
- recommended_sql_ intprofile 
- The number of distinct SQL statements with recommended SQL profiles.
- restructure int
- The number of distinct SQL statements with restructured SQL recommendations.
- statistics int
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
- alternatePlan Number
- The number of distinct SQL statements with alternative plan recommendations.
- implementedSql NumberProfile 
- The number of distinct SQL statements with implemented SQL profiles.
- index Number
- The number of distinct SQL statements with index recommendations.
- recommendedSql NumberProfile 
- The number of distinct SQL statements with recommended SQL profiles.
- restructure Number
- The number of distinct SQL statements with restructured SQL recommendations.
- statistics Number
- The number of distinct SQL statements with stale or missing optimizer statistics recommendations.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticStatementCount           
- DistinctSql int
- The number of distinct SQL statements.
- ErrorCount int
- The number of distinct SQL statements with errors.
- FindingCount int
- The number of distinct SQL statements with findings.
- TotalSql int
- The total number of SQL statements.
- DistinctSql int
- The number of distinct SQL statements.
- ErrorCount int
- The number of distinct SQL statements with errors.
- FindingCount int
- The number of distinct SQL statements with findings.
- TotalSql int
- The total number of SQL statements.
- distinctSql Integer
- The number of distinct SQL statements.
- errorCount Integer
- The number of distinct SQL statements with errors.
- findingCount Integer
- The number of distinct SQL statements with findings.
- totalSql Integer
- The total number of SQL statements.
- distinctSql number
- The number of distinct SQL statements.
- errorCount number
- The number of distinct SQL statements with errors.
- findingCount number
- The number of distinct SQL statements with findings.
- totalSql number
- The total number of SQL statements.
- distinct_sql int
- The number of distinct SQL statements.
- error_count int
- The number of distinct SQL statements with errors.
- finding_count int
- The number of distinct SQL statements with findings.
- total_sql int
- The total number of SQL statements.
- distinctSql Number
- The number of distinct SQL statements.
- errorCount Number
- The number of distinct SQL statements with errors.
- findingCount Number
- The number of distinct SQL statements with findings.
- totalSql Number
- The total number of SQL statements.
GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfo          
- Description string
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- Id string
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- Name string
- The name of the SQL Tuning Advisor task.
- Owner string
- The owner of the SQL Tuning Advisor task.
- RunningTime int
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- Status string
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- TimeEnded string
- The end time of the task execution.
- TimeStarted string
- The start time of the task execution.
- Description string
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- Id string
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- Name string
- The name of the SQL Tuning Advisor task.
- Owner string
- The owner of the SQL Tuning Advisor task.
- RunningTime int
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- Status string
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- TimeEnded string
- The end time of the task execution.
- TimeStarted string
- The start time of the task execution.
- description String
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- id String
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- name String
- The name of the SQL Tuning Advisor task.
- owner String
- The owner of the SQL Tuning Advisor task.
- runningTime Integer
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- status String
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- timeEnded String
- The end time of the task execution.
- timeStarted String
- The start time of the task execution.
- description string
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- id string
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- name string
- The name of the SQL Tuning Advisor task.
- owner string
- The owner of the SQL Tuning Advisor task.
- runningTime number
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- status string
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- timeEnded string
- The end time of the task execution.
- timeStarted string
- The start time of the task execution.
- description str
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- id str
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- name str
- The name of the SQL Tuning Advisor task.
- owner str
- The owner of the SQL Tuning Advisor task.
- running_time int
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- status str
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- time_ended str
- The end time of the task execution.
- time_started str
- The start time of the task execution.
- description String
- The description of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- id String
- The ID of the SQL Tuning Advisor task. This is not the OCID.
- name String
- The name of the SQL Tuning Advisor task.
- owner String
- The owner of the SQL Tuning Advisor task.
- runningTime Number
- The total running time in seconds. This is not defined for Auto SQL Tuning tasks.
- status String
- The status of the SQL Tuning Advisor task. This is not defined for Auto SQL Tuning tasks.
- timeEnded String
- The end time of the task execution.
- timeStarted String
- The start time of the task execution.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.