public static class SqlPlanBaselineConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlPlanBaselineConfiguration.Builder |
autoCaptureFilters(List<AutomaticCaptureFilter> autoCaptureFilters)
The capture filters used in automatic initial plan capture.
|
SqlPlanBaselineConfiguration.Builder |
autoSpmEvolveTaskParameters(SpmEvolveTaskParameters autoSpmEvolveTaskParameters) |
SqlPlanBaselineConfiguration |
build() |
SqlPlanBaselineConfiguration.Builder |
copy(SqlPlanBaselineConfiguration model) |
SqlPlanBaselineConfiguration.Builder |
isAutomaticInitialPlanCaptureEnabled(Boolean isAutomaticInitialPlanCaptureEnabled)
Indicates whether the automatic capture of SQL plan baselines is enabled (
true )
or not (false ). |
SqlPlanBaselineConfiguration.Builder |
isAutoSpmEvolveTaskEnabled(Boolean isAutoSpmEvolveTaskEnabled)
Indicates whether the Automatic SPM Evolve Advisor task is enabled (
true ) or not
(false ). |
SqlPlanBaselineConfiguration.Builder |
isHighFrequencyAutoSpmEvolveTaskEnabled(Boolean isHighFrequencyAutoSpmEvolveTaskEnabled)
Indicates whether the high frequency Automatic SPM Evolve Advisor task is enabled (
true ) or not (false ). |
SqlPlanBaselineConfiguration.Builder |
isSqlPlanBaselinesUsageEnabled(Boolean isSqlPlanBaselinesUsageEnabled)
Indicates whether the database uses SQL plan baselines (
true ) or not (false ). |
SqlPlanBaselineConfiguration.Builder |
planRetentionWeeks(Integer planRetentionWeeks)
The number of weeks to retain unused plans before they are purged.
|
SqlPlanBaselineConfiguration.Builder |
spaceBudgetMB(Float spaceBudgetMB)
The maximum
SYSAUX space that can be used for SQL Management Base in MB. |
SqlPlanBaselineConfiguration.Builder |
spaceBudgetPercent(Float spaceBudgetPercent)
The maximum percent of
SYSAUX space that can be used for SQL Management Base. |
SqlPlanBaselineConfiguration.Builder |
spaceUsedMB(Float spaceUsedMB)
The space used by SQL Management Base in MB.
|
public SqlPlanBaselineConfiguration.Builder isAutomaticInitialPlanCaptureEnabled(Boolean isAutomaticInitialPlanCaptureEnabled)
Indicates whether the automatic capture of SQL plan baselines is enabled (true
)
or not (false
).
isAutomaticInitialPlanCaptureEnabled
- the value to setpublic SqlPlanBaselineConfiguration.Builder isSqlPlanBaselinesUsageEnabled(Boolean isSqlPlanBaselinesUsageEnabled)
Indicates whether the database uses SQL plan baselines (true
) or not (false
).
isSqlPlanBaselinesUsageEnabled
- the value to setpublic SqlPlanBaselineConfiguration.Builder isAutoSpmEvolveTaskEnabled(Boolean isAutoSpmEvolveTaskEnabled)
Indicates whether the Automatic SPM Evolve Advisor task is enabled (true
) or not
(false
).
isAutoSpmEvolveTaskEnabled
- the value to setpublic SqlPlanBaselineConfiguration.Builder isHighFrequencyAutoSpmEvolveTaskEnabled(Boolean isHighFrequencyAutoSpmEvolveTaskEnabled)
Indicates whether the high frequency Automatic SPM Evolve Advisor task is enabled (true
) or not (false
).
isHighFrequencyAutoSpmEvolveTaskEnabled
- the value to setpublic SqlPlanBaselineConfiguration.Builder planRetentionWeeks(Integer planRetentionWeeks)
The number of weeks to retain unused plans before they are purged.
planRetentionWeeks
- the value to setpublic SqlPlanBaselineConfiguration.Builder spaceBudgetPercent(Float spaceBudgetPercent)
The maximum percent of SYSAUX
space that can be used for SQL Management Base.
spaceBudgetPercent
- the value to setpublic SqlPlanBaselineConfiguration.Builder spaceBudgetMB(Float spaceBudgetMB)
The maximum SYSAUX
space that can be used for SQL Management Base in MB.
spaceBudgetMB
- the value to setpublic SqlPlanBaselineConfiguration.Builder spaceUsedMB(Float spaceUsedMB)
The space used by SQL Management Base in MB.
spaceUsedMB
- the value to setpublic SqlPlanBaselineConfiguration.Builder autoCaptureFilters(List<AutomaticCaptureFilter> autoCaptureFilters)
The capture filters used in automatic initial plan capture.
autoCaptureFilters
- the value to setpublic SqlPlanBaselineConfiguration.Builder autoSpmEvolveTaskParameters(SpmEvolveTaskParameters autoSpmEvolveTaskParameters)
public SqlPlanBaselineConfiguration build()
public SqlPlanBaselineConfiguration.Builder copy(SqlPlanBaselineConfiguration model)
Copyright © 2016–2024. All rights reserved.