Commit 8931be02 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'docs-post-merge-review-dev-guidelines-multi-dbs' into 'master'

Docs: Post-merge review multiple DB doc

See merge request gitlab-org/gitlab!71275
parents 7e5bf4ea 82fa1d58
...@@ -6,16 +6,14 @@ info: To determine the technical writer assigned to the Stage/Group associated w ...@@ -6,16 +6,14 @@ info: To determine the technical writer assigned to the Stage/Group associated w
# Multiple Databases # Multiple Databases
In order to scale GitLab, the GitLab application database To scale GitLab, the we are
will be [decomposed into multiple [decomposing the GitLab application database into multiple databases](https://gitlab.com/groups/gitlab-org/-/epics/6168).
databases](https://gitlab.com/groups/gitlab-org/-/epics/6168).
## CI Database ## CI/CD Database
Support for configuring the GitLab Rails application to use a distinct > Support for configuring the GitLab Rails application to use a distinct
database for CI tables was added in [GitLab database for CI/CD tables was [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64289)
14.1](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64289). This in GitLab 14.1. This feature is still under development, and is not ready for production use.
feature is still under development, and is not ready for production use.
By default, GitLab is configured to use only one main database. To By default, GitLab is configured to use only one main database. To
opt-in to use a main database, and CI database, modify the opt-in to use a main database, and CI database, modify the
...@@ -92,8 +90,8 @@ test: &test ...@@ -92,8 +90,8 @@ test: &test
### Migrations ### Migrations
Any migrations that affect `Ci::CiDatabaseRecord` models Place any migrations that affect `Ci::CiDatabaseRecord` models
and their tables must be placed in two directories for now: and their tables in two directories:
- `db/migrate` - `db/migrate`
- `db/ci_migrate` - `db/ci_migrate`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment