Data Source: oci_database_management_managed_database_optimizer_statistics_advisor_executions

This data source provides the list of Managed Database Optimizer Statistics Advisor Executions in Oracle Cloud Infrastructure Database Management service.

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.

Example Usage

data "oci_database_management_managed_database_optimizer_statistics_advisor_executions" "test_managed_database_optimizer_statistics_advisor_executions" {
    #Required
    managed_database_id = oci_database_management_managed_database.test_managed_database.id

    #Optional
    end_time_less_than_or_equal_to = var.managed_database_optimizer_statistics_advisor_execution_end_time_less_than_or_equal_to
    start_time_greater_than_or_equal_to = var.managed_database_optimizer_statistics_advisor_execution_start_time_greater_than_or_equal_to
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

ManagedDatabaseOptimizerStatisticsAdvisorExecution Reference

The following attributes are exported: