Scaling the GitLab database An in-depth look at the challenges faced when scaling the GitLab database and the solutions we applied to help solve the problems with our database setup. For a long time GitLab.com used a single PostgreSQL database server and a single replica for disaster recovery purposes. This worked reasonably well for the first few years of GitLab.com's existence, but over time we
![Scaling the GitLab database | GitLab](https://cdn-ak-scissors.b.st-hatena.com/image/square/a63ac37b2eddfaaeda2439857268a8e09988b2e6/height=288;version=1;width=512/https%3A%2F%2Fabout.gitlab.com%2Fimages%2Ftweets%2Fscaling-gitlab-database-tweet.png)