@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class SqlPlanBaselineConfiguration extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The configuration details of SQL plan baselines. The details include:
- whether automatic initial plan capture is enabled or disabled - whether use of SQL plan
baselines is enabled or disabled - whether Automatic SPM Evolve Advisor task is enabled or
disabled - whether high-frequency Automatic SPM Evolve Advisor task is enabled or disabled -
filters for the automatic initial plan capture - parameters for the Automatic SPM Evolve Advisor
task - plan retention and allocated space for the plan baselines
Note: Objects should always be created or deserialized using the SqlPlanBaselineConfiguration.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the SqlPlanBaselineConfiguration.Builder
, which maintain a
set of all explicitly set fields called SqlPlanBaselineConfiguration.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
SqlPlanBaselineConfiguration.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
SqlPlanBaselineConfiguration(Boolean isAutomaticInitialPlanCaptureEnabled,
Boolean isSqlPlanBaselinesUsageEnabled,
Boolean isAutoSpmEvolveTaskEnabled,
Boolean isHighFrequencyAutoSpmEvolveTaskEnabled,
Integer planRetentionWeeks,
Float spaceBudgetPercent,
Float spaceBudgetMB,
Float spaceUsedMB,
List<AutomaticCaptureFilter> autoCaptureFilters,
SpmEvolveTaskParameters autoSpmEvolveTaskParameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SqlPlanBaselineConfiguration.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<AutomaticCaptureFilter> |
getAutoCaptureFilters()
The capture filters used in automatic initial plan capture.
|
SpmEvolveTaskParameters |
getAutoSpmEvolveTaskParameters() |
Boolean |
getIsAutomaticInitialPlanCaptureEnabled()
Indicates whether the automatic capture of SQL plan baselines is enabled (
true ) or
not (false ). |
Boolean |
getIsAutoSpmEvolveTaskEnabled()
Indicates whether the Automatic SPM Evolve Advisor task is enabled (
true ) or not
(false ). |
Boolean |
getIsHighFrequencyAutoSpmEvolveTaskEnabled()
Indicates whether the high frequency Automatic SPM Evolve Advisor task is enabled (
true ) or not (false ). |
Boolean |
getIsSqlPlanBaselinesUsageEnabled()
Indicates whether the database uses SQL plan baselines (
true ) or not (false ). |
Integer |
getPlanRetentionWeeks()
The number of weeks to retain unused plans before they are purged.
|
Float |
getSpaceBudgetMB()
The maximum
SYSAUX space that can be used for SQL Management Base in MB. |
Float |
getSpaceBudgetPercent()
The maximum percent of
SYSAUX space that can be used for SQL Management Base. |
Float |
getSpaceUsedMB()
The space used by SQL Management Base in MB.
|
int |
hashCode() |
SqlPlanBaselineConfiguration.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"isAutomaticInitialPlanCaptureEnabled","isSqlPlanBaselinesUsageEnabled","isAutoSpmEvolveTaskEnabled","isHighFrequencyAutoSpmEvolveTaskEnabled","planRetentionWeeks","spaceBudgetPercent","spaceBudgetMB","spaceUsedMB","autoCaptureFilters","autoSpmEvolveTaskParameters"}) public SqlPlanBaselineConfiguration(Boolean isAutomaticInitialPlanCaptureEnabled, Boolean isSqlPlanBaselinesUsageEnabled, Boolean isAutoSpmEvolveTaskEnabled, Boolean isHighFrequencyAutoSpmEvolveTaskEnabled, Integer planRetentionWeeks, Float spaceBudgetPercent, Float spaceBudgetMB, Float spaceUsedMB, List<AutomaticCaptureFilter> autoCaptureFilters, SpmEvolveTaskParameters autoSpmEvolveTaskParameters)
public static SqlPlanBaselineConfiguration.Builder builder()
Create a new builder.
public SqlPlanBaselineConfiguration.Builder toBuilder()
public Boolean getIsAutomaticInitialPlanCaptureEnabled()
Indicates whether the automatic capture of SQL plan baselines is enabled (true
) or
not (false
).
public Boolean getIsSqlPlanBaselinesUsageEnabled()
Indicates whether the database uses SQL plan baselines (true
) or not (false
).
public Boolean getIsAutoSpmEvolveTaskEnabled()
Indicates whether the Automatic SPM Evolve Advisor task is enabled (true
) or not
(false
).
public Boolean getIsHighFrequencyAutoSpmEvolveTaskEnabled()
Indicates whether the high frequency Automatic SPM Evolve Advisor task is enabled (true
) or not (false
).
public Integer getPlanRetentionWeeks()
The number of weeks to retain unused plans before they are purged.
public Float getSpaceBudgetPercent()
The maximum percent of SYSAUX
space that can be used for SQL Management Base.
public Float getSpaceBudgetMB()
The maximum SYSAUX
space that can be used for SQL Management Base in MB.
public Float getSpaceUsedMB()
The space used by SQL Management Base in MB.
public List<AutomaticCaptureFilter> getAutoCaptureFilters()
The capture filters used in automatic initial plan capture.
public SpmEvolveTaskParameters getAutoSpmEvolveTaskParameters()
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.