Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DatabaseManagement.getManagedDatabaseSqlPlanBaselines
Explore with Pulumi AI
This data source provides the list of Managed Database Sql Plan Baselines in Oracle Cloud Infrastructure Database Management service.
Lists the SQL plan baselines for the specified Managed Database.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
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.GetManagedDatabaseSqlPlanBaselinesArgs;
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 testManagedDatabaseSqlPlanBaselines = DatabaseManagementFunctions.getManagedDatabaseSqlPlanBaselines(GetManagedDatabaseSqlPlanBaselinesArgs.builder()
.managedDatabaseId(testManagedDatabase.id())
.isAccepted(managedDatabaseSqlPlanBaselineIsAccepted)
.isAdaptive(managedDatabaseSqlPlanBaselineIsAdaptive)
.isAutoPurged(managedDatabaseSqlPlanBaselineIsAutoPurged)
.isEnabled(managedDatabaseSqlPlanBaselineIsEnabled)
.isFixed(managedDatabaseSqlPlanBaselineIsFixed)
.isNeverExecuted(managedDatabaseSqlPlanBaselineIsNeverExecuted)
.isReproduced(managedDatabaseSqlPlanBaselineIsReproduced)
.opcNamedCredentialId(managedDatabaseSqlPlanBaselineOpcNamedCredentialId)
.origin(managedDatabaseSqlPlanBaselineOrigin)
.planName(managedDatabaseSqlPlanBaselinePlanName)
.sqlHandle(managedDatabaseSqlPlanBaselineSqlHandle)
.sqlText(managedDatabaseSqlPlanBaselineSqlText)
.timeLastExecutedGreaterThan(managedDatabaseSqlPlanBaselineTimeLastExecutedGreaterThan)
.timeLastExecutedLessThan(managedDatabaseSqlPlanBaselineTimeLastExecutedLessThan)
.build());
}
}
variables:
testManagedDatabaseSqlPlanBaselines:
fn::invoke:
Function: oci:DatabaseManagement:getManagedDatabaseSqlPlanBaselines
Arguments:
managedDatabaseId: ${testManagedDatabase.id}
isAccepted: ${managedDatabaseSqlPlanBaselineIsAccepted}
isAdaptive: ${managedDatabaseSqlPlanBaselineIsAdaptive}
isAutoPurged: ${managedDatabaseSqlPlanBaselineIsAutoPurged}
isEnabled: ${managedDatabaseSqlPlanBaselineIsEnabled}
isFixed: ${managedDatabaseSqlPlanBaselineIsFixed}
isNeverExecuted: ${managedDatabaseSqlPlanBaselineIsNeverExecuted}
isReproduced: ${managedDatabaseSqlPlanBaselineIsReproduced}
opcNamedCredentialId: ${managedDatabaseSqlPlanBaselineOpcNamedCredentialId}
origin: ${managedDatabaseSqlPlanBaselineOrigin}
planName: ${managedDatabaseSqlPlanBaselinePlanName}
sqlHandle: ${managedDatabaseSqlPlanBaselineSqlHandle}
sqlText: ${managedDatabaseSqlPlanBaselineSqlText}
timeLastExecutedGreaterThan: ${managedDatabaseSqlPlanBaselineTimeLastExecutedGreaterThan}
timeLastExecutedLessThan: ${managedDatabaseSqlPlanBaselineTimeLastExecutedLessThan}
Using getManagedDatabaseSqlPlanBaselines
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 getManagedDatabaseSqlPlanBaselines(args: GetManagedDatabaseSqlPlanBaselinesArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseSqlPlanBaselinesResult>
function getManagedDatabaseSqlPlanBaselinesOutput(args: GetManagedDatabaseSqlPlanBaselinesOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseSqlPlanBaselinesResult>
def get_managed_database_sql_plan_baselines(filters: Optional[Sequence[_databasemanagement.GetManagedDatabaseSqlPlanBaselinesFilter]] = None,
is_accepted: Optional[bool] = None,
is_adaptive: Optional[bool] = None,
is_auto_purged: Optional[bool] = None,
is_enabled: Optional[bool] = None,
is_fixed: Optional[bool] = None,
is_never_executed: Optional[bool] = None,
is_reproduced: Optional[bool] = None,
limit: Optional[int] = None,
managed_database_id: Optional[str] = None,
opc_named_credential_id: Optional[str] = None,
origin: Optional[str] = None,
plan_name: Optional[str] = None,
sql_handle: Optional[str] = None,
sql_text: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseSqlPlanBaselinesResult
def get_managed_database_sql_plan_baselines_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetManagedDatabaseSqlPlanBaselinesFilterArgs]]]] = None,
is_accepted: Optional[pulumi.Input[bool]] = None,
is_adaptive: Optional[pulumi.Input[bool]] = None,
is_auto_purged: Optional[pulumi.Input[bool]] = None,
is_enabled: Optional[pulumi.Input[bool]] = None,
is_fixed: Optional[pulumi.Input[bool]] = None,
is_never_executed: Optional[pulumi.Input[bool]] = None,
is_reproduced: Optional[pulumi.Input[bool]] = None,
limit: Optional[pulumi.Input[int]] = None,
managed_database_id: Optional[pulumi.Input[str]] = None,
opc_named_credential_id: Optional[pulumi.Input[str]] = None,
origin: Optional[pulumi.Input[str]] = None,
plan_name: Optional[pulumi.Input[str]] = None,
sql_handle: Optional[pulumi.Input[str]] = None,
sql_text: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseSqlPlanBaselinesResult]
func GetManagedDatabaseSqlPlanBaselines(ctx *Context, args *GetManagedDatabaseSqlPlanBaselinesArgs, opts ...InvokeOption) (*GetManagedDatabaseSqlPlanBaselinesResult, error)
func GetManagedDatabaseSqlPlanBaselinesOutput(ctx *Context, args *GetManagedDatabaseSqlPlanBaselinesOutputArgs, opts ...InvokeOption) GetManagedDatabaseSqlPlanBaselinesResultOutput
> Note: This function is named GetManagedDatabaseSqlPlanBaselines
in the Go SDK.
public static class GetManagedDatabaseSqlPlanBaselines
{
public static Task<GetManagedDatabaseSqlPlanBaselinesResult> InvokeAsync(GetManagedDatabaseSqlPlanBaselinesArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseSqlPlanBaselinesResult> Invoke(GetManagedDatabaseSqlPlanBaselinesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseSqlPlanBaselinesResult> getManagedDatabaseSqlPlanBaselines(GetManagedDatabaseSqlPlanBaselinesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseManagement/getManagedDatabaseSqlPlanBaselines:getManagedDatabaseSqlPlanBaselines
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Database stringId - The OCID of the Managed Database.
- Filters
List<Get
Managed Database Sql Plan Baselines Filter> - Is
Accepted bool - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- Is
Adaptive bool - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- Is
Auto boolPurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- Is
Enabled bool - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- Is
Fixed bool - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- Is
Never boolExecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- Is
Reproduced bool - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- Limit int
- Opc
Named stringCredential Id - The OCID of the Named Credential.
- Origin string
- A filter to return all the SQL plan baselines that match the origin.
- Plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- Sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- Sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- Managed
Database stringId - The OCID of the Managed Database.
- Filters
[]Get
Managed Database Sql Plan Baselines Filter - Is
Accepted bool - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- Is
Adaptive bool - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- Is
Auto boolPurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- Is
Enabled bool - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- Is
Fixed bool - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- Is
Never boolExecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- Is
Reproduced bool - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- Limit int
- Opc
Named stringCredential Id - The OCID of the Named Credential.
- Origin string
- A filter to return all the SQL plan baselines that match the origin.
- Plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- Sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- Sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- managed
Database StringId - The OCID of the Managed Database.
- filters
List<Get
Managed Database Sql Plan Baselines Filter> - is
Accepted Boolean - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- is
Adaptive Boolean - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- is
Auto BooleanPurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- is
Enabled Boolean - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- is
Fixed Boolean - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- is
Never BooleanExecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- is
Reproduced Boolean - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- limit Integer
- opc
Named StringCredential Id - The OCID of the Named Credential.
- origin String
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name String - A filter to return only SQL plan baselines that match the plan name.
- sql
Handle String - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text String - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- managed
Database stringId - The OCID of the Managed Database.
- filters
Get
Managed Database Sql Plan Baselines Filter[] - is
Accepted boolean - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- is
Adaptive boolean - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- is
Auto booleanPurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- is
Enabled boolean - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- is
Fixed boolean - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- is
Never booleanExecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- is
Reproduced boolean - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- limit number
- opc
Named stringCredential Id - The OCID of the Named Credential.
- origin string
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- managed_
database_ strid - The OCID of the Managed Database.
- filters
Sequence[databasemanagement.
Get Managed Database Sql Plan Baselines Filter] - is_
accepted bool - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- is_
adaptive bool - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- is_
auto_ boolpurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- is_
enabled bool - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- is_
fixed bool - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- is_
never_ boolexecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- is_
reproduced bool - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- limit int
- opc_
named_ strcredential_ id - The OCID of the Named Credential.
- origin str
- A filter to return all the SQL plan baselines that match the origin.
- plan_
name str - A filter to return only SQL plan baselines that match the plan name.
- sql_
handle str - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql_
text str - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- managed
Database StringId - The OCID of the Managed Database.
- filters List<Property Map>
- is
Accepted Boolean - A filter to return only SQL plan baselines that are either accepted or not accepted. By default, all SQL plan baselines are returned.
- is
Adaptive Boolean - A filter to return only SQL plan baselines that are either adaptive or not adaptive. By default, all SQL plan baselines are returned.
- is
Auto BooleanPurged - A filter to return only SQL plan baselines that are either auto-purged or not auto-purged. By default, all SQL plan baselines are returned.
- is
Enabled Boolean - A filter to return only SQL plan baselines that are either enabled or not enabled. By default, all SQL plan baselines are returned.
- is
Fixed Boolean - A filter to return only SQL plan baselines that are either fixed or not fixed. By default, all SQL plan baselines are returned.
- is
Never BooleanExecuted - A filter to return only SQL plan baselines that are not executed till now. By default, all SQL plan baselines are returned.
- is
Reproduced Boolean - A filter to return only SQL plan baselines that were either reproduced or not reproduced by the optimizer. By default, all SQL plan baselines are returned.
- limit Number
- opc
Named StringCredential Id - The OCID of the Named Credential.
- origin String
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name String - A filter to return only SQL plan baselines that match the plan name.
- sql
Handle String - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text String - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
getManagedDatabaseSqlPlanBaselines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Database stringId - Sql
Plan List<GetBaseline Collections Managed Database Sql Plan Baselines Sql Plan Baseline Collection> - The list of sql_plan_baseline_collection.
- Filters
List<Get
Managed Database Sql Plan Baselines Filter> - Is
Accepted bool - Is
Adaptive bool - Is
Auto boolPurged - Is
Enabled bool - Is
Fixed bool - Is
Never boolExecuted - Is
Reproduced bool - Limit int
- Opc
Named stringCredential Id - Origin string
- The origin of the SQL plan baseline.
- Plan
Name string - The unique plan identifier.
- Sql
Handle string - The unique SQL identifier.
- Sql
Text string - The SQL text.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Database stringId - Sql
Plan []GetBaseline Collections Managed Database Sql Plan Baselines Sql Plan Baseline Collection - The list of sql_plan_baseline_collection.
- Filters
[]Get
Managed Database Sql Plan Baselines Filter - Is
Accepted bool - Is
Adaptive bool - Is
Auto boolPurged - Is
Enabled bool - Is
Fixed bool - Is
Never boolExecuted - Is
Reproduced bool - Limit int
- Opc
Named stringCredential Id - Origin string
- The origin of the SQL plan baseline.
- Plan
Name string - The unique plan identifier.
- Sql
Handle string - The unique SQL identifier.
- Sql
Text string - The SQL text.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Database StringId - sql
Plan List<GetBaseline Collections Managed Database Sql Plan Baselines Sql Plan Baseline Collection> - The list of sql_plan_baseline_collection.
- filters
List<Get
Managed Database Sql Plan Baselines Filter> - is
Accepted Boolean - is
Adaptive Boolean - is
Auto BooleanPurged - is
Enabled Boolean - is
Fixed Boolean - is
Never BooleanExecuted - is
Reproduced Boolean - limit Integer
- opc
Named StringCredential Id - origin String
- The origin of the SQL plan baseline.
- plan
Name String - The unique plan identifier.
- sql
Handle String - The unique SQL identifier.
- sql
Text String - The SQL text.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Database stringId - sql
Plan GetBaseline Collections Managed Database Sql Plan Baselines Sql Plan Baseline Collection[] - The list of sql_plan_baseline_collection.
- filters
Get
Managed Database Sql Plan Baselines Filter[] - is
Accepted boolean - is
Adaptive boolean - is
Auto booleanPurged - is
Enabled boolean - is
Fixed boolean - is
Never booleanExecuted - is
Reproduced boolean - limit number
- opc
Named stringCredential Id - origin string
- The origin of the SQL plan baseline.
- plan
Name string - The unique plan identifier.
- sql
Handle string - The unique SQL identifier.
- sql
Text string - The SQL text.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
database_ strid - sql_
plan_ Sequence[databasemanagement.baseline_ collections Get Managed Database Sql Plan Baselines Sql Plan Baseline Collection] - The list of sql_plan_baseline_collection.
- filters
Sequence[databasemanagement.
Get Managed Database Sql Plan Baselines Filter] - is_
accepted bool - is_
adaptive bool - is_
auto_ boolpurged - is_
enabled bool - is_
fixed bool - is_
never_ boolexecuted - is_
reproduced bool - limit int
- opc_
named_ strcredential_ id - origin str
- The origin of the SQL plan baseline.
- plan_
name str - The unique plan identifier.
- sql_
handle str - The unique SQL identifier.
- sql_
text str - The SQL text.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Database StringId - sql
Plan List<Property Map>Baseline Collections - The list of sql_plan_baseline_collection.
- filters List<Property Map>
- is
Accepted Boolean - is
Adaptive Boolean - is
Auto BooleanPurged - is
Enabled Boolean - is
Fixed Boolean - is
Never BooleanExecuted - is
Reproduced Boolean - limit Number
- opc
Named StringCredential Id - origin String
- The origin of the SQL plan baseline.
- plan
Name String - The unique plan identifier.
- sql
Handle String - The unique SQL identifier.
- sql
Text String - The SQL text.
Supporting Types
GetManagedDatabaseSqlPlanBaselinesFilter
GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollection
GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionItem
- Accepted string
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - Action string
- The application action.
- Adaptive string
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- Auto
Purge string - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - Enabled string
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - Execution
Plan string - The execution plan for the SQL statement.
- Fixed string
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - Module string
- The application module name.
- Origin string
- A filter to return all the SQL plan baselines that match the origin.
- Plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- Reproduced string
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - Sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- Sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- Time
Created string - The date and time when the plan baseline was created.
- Time
Last stringExecuted - The date and time when the plan baseline was last executed.
- Time
Last stringModified - The date and time when the plan baseline was last modified.
- Accepted string
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - Action string
- The application action.
- Adaptive string
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- Auto
Purge string - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - Enabled string
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - Execution
Plan string - The execution plan for the SQL statement.
- Fixed string
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - Module string
- The application module name.
- Origin string
- A filter to return all the SQL plan baselines that match the origin.
- Plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- Reproduced string
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - Sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- Sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- Time
Created string - The date and time when the plan baseline was created.
- Time
Last stringExecuted - The date and time when the plan baseline was last executed.
- Time
Last stringModified - The date and time when the plan baseline was last modified.
- accepted String
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - action String
- The application action.
- adaptive String
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- auto
Purge String - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - enabled String
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - execution
Plan String - The execution plan for the SQL statement.
- fixed String
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - module String
- The application module name.
- origin String
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name String - A filter to return only SQL plan baselines that match the plan name.
- reproduced String
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - sql
Handle String - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text String - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- time
Created String - The date and time when the plan baseline was created.
- time
Last StringExecuted - The date and time when the plan baseline was last executed.
- time
Last StringModified - The date and time when the plan baseline was last modified.
- accepted string
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - action string
- The application action.
- adaptive string
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- auto
Purge string - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - enabled string
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - execution
Plan string - The execution plan for the SQL statement.
- fixed string
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - module string
- The application module name.
- origin string
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name string - A filter to return only SQL plan baselines that match the plan name.
- reproduced string
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - sql
Handle string - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text string - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- time
Created string - The date and time when the plan baseline was created.
- time
Last stringExecuted - The date and time when the plan baseline was last executed.
- time
Last stringModified - The date and time when the plan baseline was last modified.
- accepted str
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - action str
- The application action.
- adaptive str
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- auto_
purge str - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - enabled str
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - execution_
plan str - The execution plan for the SQL statement.
- fixed str
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - module str
- The application module name.
- origin str
- A filter to return all the SQL plan baselines that match the origin.
- plan_
name str - A filter to return only SQL plan baselines that match the plan name.
- reproduced str
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - sql_
handle str - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql_
text str - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- time_
created str - The date and time when the plan baseline was created.
- time_
last_ strexecuted - The date and time when the plan baseline was last executed.
- time_
last_ strmodified - The date and time when the plan baseline was last modified.
- accepted String
- Indicates whether the plan baseline is accepted (
YES
) or not (NO
). - action String
- The application action.
- adaptive String
- Indicates whether a plan that is automatically captured by SQL plan management is marked adaptive or not.
- auto
Purge String - Indicates whether the plan baseline is auto-purged (
YES
) or not (NO
). - enabled String
- Indicates whether the plan baseline is enabled (
YES
) or disabled (NO
). - execution
Plan String - The execution plan for the SQL statement.
- fixed String
- Indicates whether the plan baseline is fixed (
YES
) or not (NO
). - module String
- The application module name.
- origin String
- A filter to return all the SQL plan baselines that match the origin.
- plan
Name String - A filter to return only SQL plan baselines that match the plan name.
- reproduced String
- Indicates whether the optimizer was able to reproduce the plan (
YES
) or not (NO
). The value is set toYES
when a plan is initially added to the plan baseline. - sql
Handle String - A filter to return all the SQL plan baselines for the specified SQL handle.
- sql
Text String - A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard.
- time
Created String - The date and time when the plan baseline was created.
- time
Last StringExecuted - The date and time when the plan baseline was last executed.
- time
Last StringModified - The date and time when the plan baseline was last modified.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.