From 96a7737319818110c97330de0c73ea1a4c538bb4 Mon Sep 17 00:00:00 2001 From: vsharma6855 Date: Wed, 13 Nov 2024 20:52:44 +0530 Subject: [PATCH] Add Missing Database Configs for Postgresql and MYSQL (#755) * Added Missing Database Configs for Postgresql and MYSQL * Update databases.go Co-authored-by: Anna Lushnikova * max_failover_replication_time_lag is changed from uint64 to int64 * update the configs --------- Co-authored-by: v.sharma Co-authored-by: Anna Lushnikova --- databases.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/databases.go b/databases.go index 276fb4a6..e2a7d567 100644 --- a/databases.go +++ b/databases.go @@ -589,6 +589,9 @@ type PostgreSQLConfig struct { BackupMinute *int `json:"backup_minute,omitempty"` WorkMem *int `json:"work_mem,omitempty"` TimeScaleDB *PostgreSQLTimeScaleDBConfig `json:"timescaledb,omitempty"` + SynchronousReplication *string `json:"synchronous_replication,omitempty"` + StatMonitorEnable *bool `json:"stat_monitor_enable,omitempty"` + MaxFailoverReplicationTimeLag *int64 `json:"max_failover_replication_time_lag,omitempty"` } // PostgreSQLBouncerConfig configuration @@ -653,6 +656,13 @@ type MySQLConfig struct { BackupHour *int `json:"backup_hour,omitempty"` BackupMinute *int `json:"backup_minute,omitempty"` BinlogRetentionPeriod *int `json:"binlog_retention_period,omitempty"` + InnodbChangeBufferMaxSize *int `json:"innodb_change_buffer_max_size,omitempty"` + InnodbFlushNeighbors *int `json:"innodb_flush_neighbors,omitempty"` + InnodbReadIoThreads *int `json:"innodb_read_io_threads,omitempty"` + InnodbThreadConcurrency *int `json:"innodb_thread_concurrency,omitempty"` + InnodbWriteIoThreads *int `json:"innodb_write_io_threads,omitempty"` + NetBufferLength *int `json:"net_buffer_length,omitempty"` + LogOutput *string `json:"log_output,omitempty"` } // MongoDBConfig holds advanced configurations for MongoDB database clusters.