You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/settings/database.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -712,8 +712,10 @@ this.
712
712
713
713
InGitLab16.0, GitLab defaults to using two database connections that point to the same PostgreSQL database.
714
714
715
-
Prior to upgrading to GitLab16.0, you can check that PostgreSQL`max_connections` is high enough
716
-
(using more than 50% of the available max connections).
715
+
Before upgrading to GitLab16.0, check that the PostgreSQL`max_connections` setting is high enough so that more than 50% of available connections show as being unused.
716
+
For example, if`max_connections` is set to 100and you see 75 connections in use, you must increase `max_connections` to at least 150 before upgrading because after
717
+
upgrading, the in-use connections will double to 150.
718
+
717
719
You can verify this by running the following Raketask:
0 commit comments