We are splitting our database into Main and CI
Jun 2, 2022Fabian Zimmer

Summary
This post details the planned split of GitLab.com's single PostgreSQL database into two distinct clusters: 'main' for general features and 'ci' for Continuous Integration-related features. This functional decomposition aims to increase database capacity by approximately 2x, improve performance through independent tuning, and enhance stability by reducing database saturation. The post outlines the background, impact, preparation steps, and the planned execution process, including a scheduled downtime.
More from the Database Migration Debugging and Cross-Database Compatibility trail
- Seamlessly migrate from Jira to GitLab with Jira2Lab at scale
- We are upgrading the operating system on our Postgres database clusters
- Decomposing the GitLab backend database, Part 1: Designing and planning
- GitLab database decomposition: Final migration and results
- Decomposing the GitLab backend database, Part 3: Challenges and surprises