From 1b90d0e67d0ac2d6f9e592209fa4023a87af5d58 Mon Sep 17 00:00:00 2001 From: Amador Pahim Date: Wed, 5 Aug 2020 08:23:46 +0100 Subject: [PATCH] Adding db.t3.small max_connections Amazon RDS Instance: - Model: db.t3.small - Mem(GiB): 2 RDS / Parameter groups / default.postgres11: - max_connections: LEAST({DBInstanceClassMemory/9531392},5000) Calculations: - 2 GiB = 2147483648 bytes - 2147483648/9531392 = 225.30 Setting "db.t3.small" max_connections to 225. Signed-off-by: Amador Pahim --- rds.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rds.go b/rds.go index acbd317..71ce42b 100644 --- a/rds.go +++ b/rds.go @@ -27,6 +27,12 @@ var DBMaxConnections = map[string]map[string]int64{ "default.postgres10": 112, "default.postgres11": 112, }, + "db.t3.small": map[string]int64{ + "default": 225, + "default.postgres10": 225, + "default.postgres11": 225, + "default.postgres12": 225, + }, "db.m3.medium": map[string]int64{ "default": 392, },