public static class SqlInsightThresholds.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SqlInsightThresholds |
build() |
SqlInsightThresholds.Builder |
copy(SqlInsightThresholds model) |
SqlInsightThresholds.Builder |
degradationInPct(Integer degradationInPct)
Degradation Percent Threshold is used to derive degrading SQLs.
|
SqlInsightThresholds.Builder |
improvedInPct(Integer improvedInPct)
Improved Percent Threshold is used to derive improving SQLs.
|
SqlInsightThresholds.Builder |
increaseInCPUInPct(Integer increaseInCPUInPct)
PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or variant or
inefficient.
|
SqlInsightThresholds.Builder |
increaseInInefficientWaitInPct(Integer increaseInInefficientWaitInPct)
PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or
inefficient.
|
SqlInsightThresholds.Builder |
increaseInIOInPct(Integer increaseInIOInPct)
PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or
inefficient.
|
SqlInsightThresholds.Builder |
inefficiencyInPct(Integer inefficiencyInPct)
Inefficiency Percent Threshold is used to derive inefficient SQLs.
|
SqlInsightThresholds.Builder |
variability(Float variability)
Variability Percent Threshold is used to derive variant SQLs.
|
public SqlInsightThresholds.Builder degradationInPct(Integer degradationInPct)
Degradation Percent Threshold is used to derive degrading SQLs.
degradationInPct
- the value to setpublic SqlInsightThresholds.Builder variability(Float variability)
Variability Percent Threshold is used to derive variant SQLs.
variability
- the value to setpublic SqlInsightThresholds.Builder inefficiencyInPct(Integer inefficiencyInPct)
Inefficiency Percent Threshold is used to derive inefficient SQLs.
inefficiencyInPct
- the value to setpublic SqlInsightThresholds.Builder increaseInIOInPct(Integer increaseInIOInPct)
PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in IO Time beyond threshold. Insights are derived using linear regression.
increaseInIOInPct
- the value to setpublic SqlInsightThresholds.Builder increaseInCPUInPct(Integer increaseInCPUInPct)
PctIncreaseInCPU is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in CPU Time beyond threshold. Insights are derived using linear regression.
increaseInCPUInPct
- the value to setpublic SqlInsightThresholds.Builder increaseInInefficientWaitInPct(Integer increaseInInefficientWaitInPct)
PctIncreaseInIO is used for deriving insights for SQLs which are degrading or variant or inefficient. And these SQLs should also have increasing change in Other Wait Time beyond threshold. Insights are derived using linear regression.
increaseInInefficientWaitInPct
- the value to setpublic SqlInsightThresholds.Builder improvedInPct(Integer improvedInPct)
Improved Percent Threshold is used to derive improving SQLs.
improvedInPct
- the value to setpublic SqlInsightThresholds build()
public SqlInsightThresholds.Builder copy(SqlInsightThresholds model)
Copyright © 2016–2024. All rights reserved.