Package com.exoscale.sdk.model
Class JsonSchemaPg
- java.lang.Object
-
- com.exoscale.sdk.model.JsonSchemaPg
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class JsonSchemaPg extends Object
JsonSchemaPg
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonSchemaPg.DefaultToastCompressionEnum
Specifies the default TOAST compression method for values of compressible columns (the default is lz4).static class
JsonSchemaPg.LogErrorVerbosityEnum
Controls the amount of detail written in the server log for each message that is logged.static class
JsonSchemaPg.LogLinePrefixEnum
Choose from one of the available log-formats.static class
JsonSchemaPg.PgStatStatementsTrackEnum
Controls which statements are counted.static class
JsonSchemaPg.TrackCommitTimestampEnum
Record commit time of transactions.static class
JsonSchemaPg.TrackFunctionsEnum
Enables tracking of function call counts and time used.static class
JsonSchemaPg.TrackIoTimingEnum
Enables timing of database I/O calls.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JsonSchemaPg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonSchemaPg
autovacuum(AutovacuumSettings autovacuum)
JsonSchemaPg
bgWriter(BackgroundBGWriterSettings bgWriter)
JsonSchemaPg
deadlockTimeout(Integer deadlockTimeout)
JsonSchemaPg
defaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
boolean
equals(Object o)
Return true if this json-schema-pg object is equal to o.AutovacuumSettings
getAutovacuum()
Get autovacuumBackgroundBGWriterSettings
getBgWriter()
Get bgWriterInteger
getDeadlockTimeout()
This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.JsonSchemaPg.DefaultToastCompressionEnum
getDefaultToastCompression()
Specifies the default TOAST compression method for values of compressible columns (the default is lz4).Integer
getIdleInTransactionSessionTimeout()
Time out sessions with open transactions after this number of milliseconds minimum: 0 maximum: 604800000Boolean
getJit()
Controls system-wide use of Just-in-Time Compilation (JIT).JsonSchemaPg.LogErrorVerbosityEnum
getLogErrorVerbosity()
Controls the amount of detail written in the server log for each message that is logged.JsonSchemaPg.LogLinePrefixEnum
getLogLinePrefix()
Choose from one of the available log-formats.Integer
getLogMinDurationStatement()
Log statements that take more than this number of milliseconds to run, -1 disables minimum: -1 maximum: 86400000Integer
getLogTempFiles()
Log statements for each temporary file created larger than this number of kilobytes, -1 disables minimum: -1 maximum: 2147483647Integer
getMaxFilesPerProcess()
PostgreSQL maximum number of files that can be open per process minimum: 1000 maximum: 4096Integer
getMaxLocksPerTransaction()
PostgreSQL maximum locks per transaction minimum: 64 maximum: 6400Integer
getMaxLogicalReplicationWorkers()
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers) minimum: 4 maximum: 64Integer
getMaxParallelWorkers()
Sets the maximum number of workers that the system can support for parallel queries minimum: 0 maximum: 96Integer
getMaxParallelWorkersPerGather()
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node minimum: 0 maximum: 96Integer
getMaxPredLocksPerTransaction()
PostgreSQL maximum predicate locks per transaction minimum: 64 maximum: 5120Integer
getMaxPreparedTransactions()
PostgreSQL maximum prepared transactions minimum: 0 maximum: 10000Integer
getMaxReplicationSlots()
PostgreSQL maximum replication slots minimum: 8 maximum: 64Integer
getMaxStackDepth()
Maximum depth of the stack in bytes minimum: 2097152 maximum: 6291456Integer
getMaxStandbyArchiveDelay()
Max standby archive delay in milliseconds minimum: 1 maximum: 43200000Integer
getMaxStandbyStreamingDelay()
Max standby streaming delay in milliseconds minimum: 1 maximum: 43200000Integer
getMaxWorkerProcesses()
Sets the maximum number of background processes that the system can support minimum: 8 maximum: 96Integer
getPgPartmanBgwInterval()
Sets the time interval to run pg_partman's scheduled tasks minimum: 3600 maximum: 604800String
getPgPartmanBgwRole()
Controls which role to use for pg_partman's scheduled background tasks.Boolean
getPgStatMonitorPgsmEnableQueryPlan()
Enables or disables query plan monitoringInteger
getPgStatMonitorPgsmMaxBuckets()
Sets the maximum number of buckets minimum: 1 maximum: 10JsonSchemaPg.PgStatStatementsTrackEnum
getPgStatStatementsTrack()
Controls which statements are counted.Integer
getTempFileLimit()
PostgreSQL temporary file limit in KiB, -1 for unlimited minimum: -1 maximum: 2147483647String
getTimezone()
PostgreSQL service timezoneInteger
getTrackActivityQuerySize()
Specifies the number of bytes reserved to track the currently executing command for each active session.JsonSchemaPg.TrackCommitTimestampEnum
getTrackCommitTimestamp()
Record commit time of transactions.JsonSchemaPg.TrackFunctionsEnum
getTrackFunctions()
Enables tracking of function call counts and time used.JsonSchemaPg.TrackIoTimingEnum
getTrackIoTiming()
Enables timing of database I/O calls.WriteAheadLogWALSettings
getWal()
Get walint
hashCode()
JsonSchemaPg
idleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
JsonSchemaPg
jit(Boolean jit)
JsonSchemaPg
logErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
JsonSchemaPg
logLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
JsonSchemaPg
logMinDurationStatement(Integer logMinDurationStatement)
JsonSchemaPg
logTempFiles(Integer logTempFiles)
JsonSchemaPg
maxFilesPerProcess(Integer maxFilesPerProcess)
JsonSchemaPg
maxLocksPerTransaction(Integer maxLocksPerTransaction)
JsonSchemaPg
maxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
JsonSchemaPg
maxParallelWorkers(Integer maxParallelWorkers)
JsonSchemaPg
maxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
JsonSchemaPg
maxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
JsonSchemaPg
maxPreparedTransactions(Integer maxPreparedTransactions)
JsonSchemaPg
maxReplicationSlots(Integer maxReplicationSlots)
JsonSchemaPg
maxStackDepth(Integer maxStackDepth)
JsonSchemaPg
maxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
JsonSchemaPg
maxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
JsonSchemaPg
maxWorkerProcesses(Integer maxWorkerProcesses)
JsonSchemaPg
pgPartmanBgwInterval(Integer pgPartmanBgwInterval)
JsonSchemaPg
pgPartmanBgwRole(String pgPartmanBgwRole)
JsonSchemaPg
pgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
JsonSchemaPg
pgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
JsonSchemaPg
pgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
void
setAutovacuum(AutovacuumSettings autovacuum)
void
setBgWriter(BackgroundBGWriterSettings bgWriter)
void
setDeadlockTimeout(Integer deadlockTimeout)
void
setDefaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
void
setIdleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
void
setJit(Boolean jit)
void
setLogErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
void
setLogLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
void
setLogMinDurationStatement(Integer logMinDurationStatement)
void
setLogTempFiles(Integer logTempFiles)
void
setMaxFilesPerProcess(Integer maxFilesPerProcess)
void
setMaxLocksPerTransaction(Integer maxLocksPerTransaction)
void
setMaxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
void
setMaxParallelWorkers(Integer maxParallelWorkers)
void
setMaxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
void
setMaxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
void
setMaxPreparedTransactions(Integer maxPreparedTransactions)
void
setMaxReplicationSlots(Integer maxReplicationSlots)
void
setMaxStackDepth(Integer maxStackDepth)
void
setMaxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
void
setMaxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
void
setMaxWorkerProcesses(Integer maxWorkerProcesses)
void
setPgPartmanBgwInterval(Integer pgPartmanBgwInterval)
void
setPgPartmanBgwRole(String pgPartmanBgwRole)
void
setPgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
void
setPgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
void
setPgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
void
setTempFileLimit(Integer tempFileLimit)
void
setTimezone(String timezone)
void
setTrackActivityQuerySize(Integer trackActivityQuerySize)
void
setTrackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
void
setTrackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
void
setTrackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
void
setWal(WriteAheadLogWALSettings wal)
JsonSchemaPg
tempFileLimit(Integer tempFileLimit)
JsonSchemaPg
timezone(String timezone)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.JsonSchemaPg
trackActivityQuerySize(Integer trackActivityQuerySize)
JsonSchemaPg
trackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
JsonSchemaPg
trackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
JsonSchemaPg
trackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
JsonSchemaPg
wal(WriteAheadLogWALSettings wal)
-
-
-
Field Detail
-
JSON_PROPERTY_TRACK_ACTIVITY_QUERY_SIZE
public static final String JSON_PROPERTY_TRACK_ACTIVITY_QUERY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMEZONE
public static final String JSON_PROPERTY_TIMEZONE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRACK_IO_TIMING
public static final String JSON_PROPERTY_TRACK_IO_TIMING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_STAT_MONITOR_PGSM_ENABLE_QUERY_PLAN
public static final String JSON_PROPERTY_PG_STAT_MONITOR_PGSM_ENABLE_QUERY_PLAN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_FILES_PER_PROCESS
public static final String JSON_PROPERTY_MAX_FILES_PER_PROCESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_STAT_MONITOR_PGSM_MAX_BUCKETS
public static final String JSON_PROPERTY_PG_STAT_MONITOR_PGSM_MAX_BUCKETS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WAL
public static final String JSON_PROPERTY_WAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_TOAST_COMPRESSION
public static final String JSON_PROPERTY_DEFAULT_TOAST_COMPRESSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEADLOCK_TIMEOUT
public static final String JSON_PROPERTY_DEADLOCK_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_IDLE_IN_TRANSACTION_SESSION_TIMEOUT
public static final String JSON_PROPERTY_IDLE_IN_TRANSACTION_SESSION_TIMEOUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_PRED_LOCKS_PER_TRANSACTION
public static final String JSON_PROPERTY_MAX_PRED_LOCKS_PER_TRANSACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_REPLICATION_SLOTS
public static final String JSON_PROPERTY_MAX_REPLICATION_SLOTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTOVACUUM
public static final String JSON_PROPERTY_AUTOVACUUM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_PARALLEL_WORKERS_PER_GATHER
public static final String JSON_PROPERTY_MAX_PARALLEL_WORKERS_PER_GATHER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_PARTMAN_BGW_INTERVAL
public static final String JSON_PROPERTY_PG_PARTMAN_BGW_INTERVAL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_LINE_PREFIX
public static final String JSON_PROPERTY_LOG_LINE_PREFIX
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_TEMP_FILES
public static final String JSON_PROPERTY_LOG_TEMP_FILES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_LOCKS_PER_TRANSACTION
public static final String JSON_PROPERTY_MAX_LOCKS_PER_TRANSACTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRACK_COMMIT_TIMESTAMP
public static final String JSON_PROPERTY_TRACK_COMMIT_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRACK_FUNCTIONS
public static final String JSON_PROPERTY_TRACK_FUNCTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_STACK_DEPTH
public static final String JSON_PROPERTY_MAX_STACK_DEPTH
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_PARALLEL_WORKERS
public static final String JSON_PROPERTY_MAX_PARALLEL_WORKERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_PARTMAN_BGW_ROLE
public static final String JSON_PROPERTY_PG_PARTMAN_BGW_ROLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_LOGICAL_REPLICATION_WORKERS
public static final String JSON_PROPERTY_MAX_LOGICAL_REPLICATION_WORKERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_PREPARED_TRANSACTIONS
public static final String JSON_PROPERTY_MAX_PREPARED_TRANSACTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_WORKER_PROCESSES
public static final String JSON_PROPERTY_MAX_WORKER_PROCESSES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PG_STAT_STATEMENTS_TRACK
public static final String JSON_PROPERTY_PG_STAT_STATEMENTS_TRACK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TEMP_FILE_LIMIT
public static final String JSON_PROPERTY_TEMP_FILE_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_ERROR_VERBOSITY
public static final String JSON_PROPERTY_LOG_ERROR_VERBOSITY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LOG_MIN_DURATION_STATEMENT
public static final String JSON_PROPERTY_LOG_MIN_DURATION_STATEMENT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_STANDBY_STREAMING_DELAY
public static final String JSON_PROPERTY_MAX_STANDBY_STREAMING_DELAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_JIT
public static final String JSON_PROPERTY_JIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_STANDBY_ARCHIVE_DELAY
public static final String JSON_PROPERTY_MAX_STANDBY_ARCHIVE_DELAY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BG_WRITER
public static final String JSON_PROPERTY_BG_WRITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
trackActivityQuerySize
public JsonSchemaPg trackActivityQuerySize(Integer trackActivityQuerySize)
-
getTrackActivityQuerySize
@Nullable public Integer getTrackActivityQuerySize()
Specifies the number of bytes reserved to track the currently executing command for each active session. minimum: 1024 maximum: 10240- Returns:
- trackActivityQuerySize
-
setTrackActivityQuerySize
public void setTrackActivityQuerySize(Integer trackActivityQuerySize)
-
timezone
public JsonSchemaPg timezone(String timezone)
-
getTimezone
@Nullable public String getTimezone()
PostgreSQL service timezone- Returns:
- timezone
-
setTimezone
public void setTimezone(String timezone)
-
trackIoTiming
public JsonSchemaPg trackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
-
getTrackIoTiming
@Nullable public JsonSchemaPg.TrackIoTimingEnum getTrackIoTiming()
Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms.- Returns:
- trackIoTiming
-
setTrackIoTiming
public void setTrackIoTiming(JsonSchemaPg.TrackIoTimingEnum trackIoTiming)
-
pgStatMonitorPgsmEnableQueryPlan
public JsonSchemaPg pgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
-
getPgStatMonitorPgsmEnableQueryPlan
@Nullable public Boolean getPgStatMonitorPgsmEnableQueryPlan()
Enables or disables query plan monitoring- Returns:
- pgStatMonitorPgsmEnableQueryPlan
-
setPgStatMonitorPgsmEnableQueryPlan
public void setPgStatMonitorPgsmEnableQueryPlan(Boolean pgStatMonitorPgsmEnableQueryPlan)
-
maxFilesPerProcess
public JsonSchemaPg maxFilesPerProcess(Integer maxFilesPerProcess)
-
getMaxFilesPerProcess
@Nullable public Integer getMaxFilesPerProcess()
PostgreSQL maximum number of files that can be open per process minimum: 1000 maximum: 4096- Returns:
- maxFilesPerProcess
-
setMaxFilesPerProcess
public void setMaxFilesPerProcess(Integer maxFilesPerProcess)
-
pgStatMonitorPgsmMaxBuckets
public JsonSchemaPg pgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
-
getPgStatMonitorPgsmMaxBuckets
@Nullable public Integer getPgStatMonitorPgsmMaxBuckets()
Sets the maximum number of buckets minimum: 1 maximum: 10- Returns:
- pgStatMonitorPgsmMaxBuckets
-
setPgStatMonitorPgsmMaxBuckets
public void setPgStatMonitorPgsmMaxBuckets(Integer pgStatMonitorPgsmMaxBuckets)
-
wal
public JsonSchemaPg wal(WriteAheadLogWALSettings wal)
-
getWal
@Nullable public WriteAheadLogWALSettings getWal()
Get wal- Returns:
- wal
-
setWal
public void setWal(WriteAheadLogWALSettings wal)
-
defaultToastCompression
public JsonSchemaPg defaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
-
getDefaultToastCompression
@Nullable public JsonSchemaPg.DefaultToastCompressionEnum getDefaultToastCompression()
Specifies the default TOAST compression method for values of compressible columns (the default is lz4).- Returns:
- defaultToastCompression
-
setDefaultToastCompression
public void setDefaultToastCompression(JsonSchemaPg.DefaultToastCompressionEnum defaultToastCompression)
-
deadlockTimeout
public JsonSchemaPg deadlockTimeout(Integer deadlockTimeout)
-
getDeadlockTimeout
@Nullable public Integer getDeadlockTimeout()
This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. minimum: 500 maximum: 1800000- Returns:
- deadlockTimeout
-
setDeadlockTimeout
public void setDeadlockTimeout(Integer deadlockTimeout)
-
idleInTransactionSessionTimeout
public JsonSchemaPg idleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
-
getIdleInTransactionSessionTimeout
@Nullable public Integer getIdleInTransactionSessionTimeout()
Time out sessions with open transactions after this number of milliseconds minimum: 0 maximum: 604800000- Returns:
- idleInTransactionSessionTimeout
-
setIdleInTransactionSessionTimeout
public void setIdleInTransactionSessionTimeout(Integer idleInTransactionSessionTimeout)
-
maxPredLocksPerTransaction
public JsonSchemaPg maxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
-
getMaxPredLocksPerTransaction
@Nullable public Integer getMaxPredLocksPerTransaction()
PostgreSQL maximum predicate locks per transaction minimum: 64 maximum: 5120- Returns:
- maxPredLocksPerTransaction
-
setMaxPredLocksPerTransaction
public void setMaxPredLocksPerTransaction(Integer maxPredLocksPerTransaction)
-
maxReplicationSlots
public JsonSchemaPg maxReplicationSlots(Integer maxReplicationSlots)
-
getMaxReplicationSlots
@Nullable public Integer getMaxReplicationSlots()
PostgreSQL maximum replication slots minimum: 8 maximum: 64- Returns:
- maxReplicationSlots
-
setMaxReplicationSlots
public void setMaxReplicationSlots(Integer maxReplicationSlots)
-
autovacuum
public JsonSchemaPg autovacuum(AutovacuumSettings autovacuum)
-
getAutovacuum
@Nullable public AutovacuumSettings getAutovacuum()
Get autovacuum- Returns:
- autovacuum
-
setAutovacuum
public void setAutovacuum(AutovacuumSettings autovacuum)
-
maxParallelWorkersPerGather
public JsonSchemaPg maxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
-
getMaxParallelWorkersPerGather
@Nullable public Integer getMaxParallelWorkersPerGather()
Sets the maximum number of workers that can be started by a single Gather or Gather Merge node minimum: 0 maximum: 96- Returns:
- maxParallelWorkersPerGather
-
setMaxParallelWorkersPerGather
public void setMaxParallelWorkersPerGather(Integer maxParallelWorkersPerGather)
-
pgPartmanBgwInterval
public JsonSchemaPg pgPartmanBgwInterval(Integer pgPartmanBgwInterval)
-
getPgPartmanBgwInterval
@Nullable public Integer getPgPartmanBgwInterval()
Sets the time interval to run pg_partman's scheduled tasks minimum: 3600 maximum: 604800- Returns:
- pgPartmanBgwInterval
-
setPgPartmanBgwInterval
public void setPgPartmanBgwInterval(Integer pgPartmanBgwInterval)
-
logLinePrefix
public JsonSchemaPg logLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
-
getLogLinePrefix
@Nullable public JsonSchemaPg.LogLinePrefixEnum getLogLinePrefix()
Choose from one of the available log-formats. These can support popular log analyzers like pgbadger, pganalyze etc.- Returns:
- logLinePrefix
-
setLogLinePrefix
public void setLogLinePrefix(JsonSchemaPg.LogLinePrefixEnum logLinePrefix)
-
logTempFiles
public JsonSchemaPg logTempFiles(Integer logTempFiles)
-
getLogTempFiles
@Nullable public Integer getLogTempFiles()
Log statements for each temporary file created larger than this number of kilobytes, -1 disables minimum: -1 maximum: 2147483647- Returns:
- logTempFiles
-
setLogTempFiles
public void setLogTempFiles(Integer logTempFiles)
-
maxLocksPerTransaction
public JsonSchemaPg maxLocksPerTransaction(Integer maxLocksPerTransaction)
-
getMaxLocksPerTransaction
@Nullable public Integer getMaxLocksPerTransaction()
PostgreSQL maximum locks per transaction minimum: 64 maximum: 6400- Returns:
- maxLocksPerTransaction
-
setMaxLocksPerTransaction
public void setMaxLocksPerTransaction(Integer maxLocksPerTransaction)
-
trackCommitTimestamp
public JsonSchemaPg trackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
-
getTrackCommitTimestamp
@Nullable public JsonSchemaPg.TrackCommitTimestampEnum getTrackCommitTimestamp()
Record commit time of transactions.- Returns:
- trackCommitTimestamp
-
setTrackCommitTimestamp
public void setTrackCommitTimestamp(JsonSchemaPg.TrackCommitTimestampEnum trackCommitTimestamp)
-
trackFunctions
public JsonSchemaPg trackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
-
getTrackFunctions
@Nullable public JsonSchemaPg.TrackFunctionsEnum getTrackFunctions()
Enables tracking of function call counts and time used.- Returns:
- trackFunctions
-
setTrackFunctions
public void setTrackFunctions(JsonSchemaPg.TrackFunctionsEnum trackFunctions)
-
maxStackDepth
public JsonSchemaPg maxStackDepth(Integer maxStackDepth)
-
getMaxStackDepth
@Nullable public Integer getMaxStackDepth()
Maximum depth of the stack in bytes minimum: 2097152 maximum: 6291456- Returns:
- maxStackDepth
-
setMaxStackDepth
public void setMaxStackDepth(Integer maxStackDepth)
-
maxParallelWorkers
public JsonSchemaPg maxParallelWorkers(Integer maxParallelWorkers)
-
getMaxParallelWorkers
@Nullable public Integer getMaxParallelWorkers()
Sets the maximum number of workers that the system can support for parallel queries minimum: 0 maximum: 96- Returns:
- maxParallelWorkers
-
setMaxParallelWorkers
public void setMaxParallelWorkers(Integer maxParallelWorkers)
-
pgPartmanBgwRole
public JsonSchemaPg pgPartmanBgwRole(String pgPartmanBgwRole)
-
getPgPartmanBgwRole
@Nullable public String getPgPartmanBgwRole()
Controls which role to use for pg_partman's scheduled background tasks.- Returns:
- pgPartmanBgwRole
-
setPgPartmanBgwRole
public void setPgPartmanBgwRole(String pgPartmanBgwRole)
-
maxLogicalReplicationWorkers
public JsonSchemaPg maxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
-
getMaxLogicalReplicationWorkers
@Nullable public Integer getMaxLogicalReplicationWorkers()
PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers) minimum: 4 maximum: 64- Returns:
- maxLogicalReplicationWorkers
-
setMaxLogicalReplicationWorkers
public void setMaxLogicalReplicationWorkers(Integer maxLogicalReplicationWorkers)
-
maxPreparedTransactions
public JsonSchemaPg maxPreparedTransactions(Integer maxPreparedTransactions)
-
getMaxPreparedTransactions
@Nullable public Integer getMaxPreparedTransactions()
PostgreSQL maximum prepared transactions minimum: 0 maximum: 10000- Returns:
- maxPreparedTransactions
-
setMaxPreparedTransactions
public void setMaxPreparedTransactions(Integer maxPreparedTransactions)
-
maxWorkerProcesses
public JsonSchemaPg maxWorkerProcesses(Integer maxWorkerProcesses)
-
getMaxWorkerProcesses
@Nullable public Integer getMaxWorkerProcesses()
Sets the maximum number of background processes that the system can support minimum: 8 maximum: 96- Returns:
- maxWorkerProcesses
-
setMaxWorkerProcesses
public void setMaxWorkerProcesses(Integer maxWorkerProcesses)
-
pgStatStatementsTrack
public JsonSchemaPg pgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
-
getPgStatStatementsTrack
@Nullable public JsonSchemaPg.PgStatStatementsTrackEnum getPgStatStatementsTrack()
Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top.- Returns:
- pgStatStatementsTrack
-
setPgStatStatementsTrack
public void setPgStatStatementsTrack(JsonSchemaPg.PgStatStatementsTrackEnum pgStatStatementsTrack)
-
tempFileLimit
public JsonSchemaPg tempFileLimit(Integer tempFileLimit)
-
getTempFileLimit
@Nullable public Integer getTempFileLimit()
PostgreSQL temporary file limit in KiB, -1 for unlimited minimum: -1 maximum: 2147483647- Returns:
- tempFileLimit
-
setTempFileLimit
public void setTempFileLimit(Integer tempFileLimit)
-
logErrorVerbosity
public JsonSchemaPg logErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
-
getLogErrorVerbosity
@Nullable public JsonSchemaPg.LogErrorVerbosityEnum getLogErrorVerbosity()
Controls the amount of detail written in the server log for each message that is logged.- Returns:
- logErrorVerbosity
-
setLogErrorVerbosity
public void setLogErrorVerbosity(JsonSchemaPg.LogErrorVerbosityEnum logErrorVerbosity)
-
logMinDurationStatement
public JsonSchemaPg logMinDurationStatement(Integer logMinDurationStatement)
-
getLogMinDurationStatement
@Nullable public Integer getLogMinDurationStatement()
Log statements that take more than this number of milliseconds to run, -1 disables minimum: -1 maximum: 86400000- Returns:
- logMinDurationStatement
-
setLogMinDurationStatement
public void setLogMinDurationStatement(Integer logMinDurationStatement)
-
maxStandbyStreamingDelay
public JsonSchemaPg maxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
-
getMaxStandbyStreamingDelay
@Nullable public Integer getMaxStandbyStreamingDelay()
Max standby streaming delay in milliseconds minimum: 1 maximum: 43200000- Returns:
- maxStandbyStreamingDelay
-
setMaxStandbyStreamingDelay
public void setMaxStandbyStreamingDelay(Integer maxStandbyStreamingDelay)
-
jit
public JsonSchemaPg jit(Boolean jit)
-
getJit
@Nullable public Boolean getJit()
Controls system-wide use of Just-in-Time Compilation (JIT).- Returns:
- jit
-
setJit
public void setJit(Boolean jit)
-
maxStandbyArchiveDelay
public JsonSchemaPg maxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
-
getMaxStandbyArchiveDelay
@Nullable public Integer getMaxStandbyArchiveDelay()
Max standby archive delay in milliseconds minimum: 1 maximum: 43200000- Returns:
- maxStandbyArchiveDelay
-
setMaxStandbyArchiveDelay
public void setMaxStandbyArchiveDelay(Integer maxStandbyArchiveDelay)
-
bgWriter
public JsonSchemaPg bgWriter(BackgroundBGWriterSettings bgWriter)
-
getBgWriter
@Nullable public BackgroundBGWriterSettings getBgWriter()
Get bgWriter- Returns:
- bgWriter
-
setBgWriter
public void setBgWriter(BackgroundBGWriterSettings bgWriter)
-
equals
public boolean equals(Object o)
Return true if this json-schema-pg object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-