Package com.exoscale.sdk.model
Class AutovacuumSettings
java.lang.Object
com.exoscale.sdk.model.AutovacuumSettings
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.4.0")
public class AutovacuumSettings
extends Object
AutovacuumSettings
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor) autovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold) autovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge) autovacuumMaxWorkers(Integer autovacuumMaxWorkers) autovacuumNaptime(Integer autovacuumNaptime) autovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay) autovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit) autovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor) autovacuumVacuumThreshold(Integer autovacuumVacuumThreshold) booleanReturn true if this Autovacuum_settings object is equal to o.Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g.Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table.Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table.Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time.Specifies the minimum delay between autovacuum runs on any given database.Specifies the cost delay value that will be used in automatic VACUUM operations.Specifies the cost limit value that will be used in automatic VACUUM operations.Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g.Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table.Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds.inthashCode()logAutovacuumMinDuration(Integer logAutovacuumMinDuration) voidsetAutovacuumAnalyzeScaleFactor(BigDecimal autovacuumAnalyzeScaleFactor) voidsetAutovacuumAnalyzeThreshold(Integer autovacuumAnalyzeThreshold) voidsetAutovacuumFreezeMaxAge(Integer autovacuumFreezeMaxAge) voidsetAutovacuumMaxWorkers(Integer autovacuumMaxWorkers) voidsetAutovacuumNaptime(Integer autovacuumNaptime) voidsetAutovacuumVacuumCostDelay(Integer autovacuumVacuumCostDelay) voidsetAutovacuumVacuumCostLimit(Integer autovacuumVacuumCostLimit) voidsetAutovacuumVacuumScaleFactor(BigDecimal autovacuumVacuumScaleFactor) voidsetAutovacuumVacuumThreshold(Integer autovacuumVacuumThreshold) voidsetLogAutovacuumMinDuration(Integer logAutovacuumMinDuration) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.
-
Field Details
-
JSON_PROPERTY_LOG_AUTOVACUUM_MIN_DURATION
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_LIMIT
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_MAX_WORKERS
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_THRESHOLD
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_NAPTIME
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_SCALE_FACTOR
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_VACUUM_COST_DELAY
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_ANALYZE_SCALE_FACTOR
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_ANALYZE_THRESHOLD
- See Also:
-
JSON_PROPERTY_AUTOVACUUM_FREEZE_MAX_AGE
- See Also:
-
-
Constructor Details
-
AutovacuumSettings
public AutovacuumSettings()
-
-
Method Details
-
logAutovacuumMinDuration
-
getLogAutovacuumMinDuration
Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one disables logging autovacuum actions. The default is `1000`. minimum: -1 maximum: 2147483647- Returns:
- logAutovacuumMinDuration
-
setLogAutovacuumMinDuration
-
autovacuumVacuumCostLimit
-
getAutovacuumVacuumCostLimit
Specifies the cost limit value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuum_cost_limit value will be used. The default is `-1` (upstream default). minimum: -1 maximum: 10000- Returns:
- autovacuumVacuumCostLimit
-
setAutovacuumVacuumCostLimit
-
autovacuumMaxWorkers
-
getAutovacuumMaxWorkers
Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is `3`. Changing this parameter causes a service restart. minimum: 1 maximum: 20- Returns:
- autovacuumMaxWorkers
-
setAutovacuumMaxWorkers
-
autovacuumVacuumThreshold
-
getAutovacuumVacuumThreshold
Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is `50`. minimum: 0 maximum: 2147483647- Returns:
- autovacuumVacuumThreshold
-
setAutovacuumVacuumThreshold
-
autovacuumNaptime
-
getAutovacuumNaptime
Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds. The default is `60`. minimum: 1 maximum: 86400- Returns:
- autovacuumNaptime
-
setAutovacuumNaptime
-
autovacuumVacuumScaleFactor
-
getAutovacuumVacuumScaleFactor
Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM (e.g. `0.2` for 20% of the table size). The default is `0.2`. minimum: 0.0 maximum: 1.0- Returns:
- autovacuumVacuumScaleFactor
-
setAutovacuumVacuumScaleFactor
-
autovacuumVacuumCostDelay
-
getAutovacuumVacuumCostDelay
Specifies the cost delay value that will be used in automatic VACUUM operations. If `-1` is specified, the regular vacuum_cost_delay value will be used. The default is `2` (upstream default). minimum: -1 maximum: 100- Returns:
- autovacuumVacuumCostDelay
-
setAutovacuumVacuumCostDelay
-
autovacuumAnalyzeScaleFactor
-
getAutovacuumAnalyzeScaleFactor
Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE (e.g. `0.2` for 20% of the table size). The default is `0.2`. minimum: 0.0 maximum: 1.0- Returns:
- autovacuumAnalyzeScaleFactor
-
setAutovacuumAnalyzeScaleFactor
-
autovacuumAnalyzeThreshold
-
getAutovacuumAnalyzeThreshold
Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is `50`. minimum: 0 maximum: 2147483647- Returns:
- autovacuumAnalyzeThreshold
-
setAutovacuumAnalyzeThreshold
-
autovacuumFreezeMaxAge
-
getAutovacuumFreezeMaxAge
Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. The system launches autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. Changing this parameter causes a service restart. minimum: 200000000 maximum: 1500000000- Returns:
- autovacuumFreezeMaxAge
-
setAutovacuumFreezeMaxAge
-
equals
Return true if this Autovacuum_settings object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-