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) boolean
Return 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.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.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.int
hashCode()
logAutovacuumMinDuration
(Integer logAutovacuumMinDuration) void
setAutovacuumAnalyzeScaleFactor
(BigDecimal autovacuumAnalyzeScaleFactor) void
setAutovacuumAnalyzeThreshold
(Integer autovacuumAnalyzeThreshold) void
setAutovacuumFreezeMaxAge
(Integer autovacuumFreezeMaxAge) void
setAutovacuumMaxWorkers
(Integer autovacuumMaxWorkers) void
setAutovacuumNaptime
(Integer autovacuumNaptime) void
setAutovacuumVacuumCostDelay
(Integer autovacuumVacuumCostDelay) void
setAutovacuumVacuumCostLimit
(Integer autovacuumVacuumCostLimit) void
setAutovacuumVacuumScaleFactor
(BigDecimal autovacuumVacuumScaleFactor) void
setAutovacuumVacuumThreshold
(Integer autovacuumVacuumThreshold) void
setLogAutovacuumMinDuration
(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 (the default) disables logging autovacuum actions. 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 (which is the default), the regular vacuum_cost_limit value will be used. 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 three. This parameter can only be set at server start. 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 tuples 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, and the default is one minute 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. The default is 0.2 (20% of table size) 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 value is 20 milliseconds 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. The default is 0.2 (20% of table size) 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 tuples. 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. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. 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
-