Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
49856fb0
Commit
49856fb0
authored
Apr 18, 2022
by
Simon Tomlinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document the detached_partitions table
parent
ed8b030b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
db/docs/detached_partitions.yml
db/docs/detached_partitions.yml
+9
-1
No files found.
db/docs/detached_partitions.yml
View file @
49856fb0
...
@@ -4,6 +4,14 @@ classes:
...
@@ -4,6 +4,14 @@ classes:
-
Postgresql::DetachedPartition
-
Postgresql::DetachedPartition
feature_categories
:
feature_categories
:
-
database
-
database
description
:
TODO
description
:
>
The detached_partitions table stores information about partitions in the gitlab_partitions_dynamic schema that
have been scheduled for drop, but not yet dropped.
These partitions were created by the Gitlab::Database::Partitioning::PartitionManager, and then detached from their
parent tables and added to this table when no longer part of the active partition set. Partitions are scheduled for
deletion one week after detachment.
Rows in this table are processed by Database::DropDetachedPartitionsWorker, which runs once a day.
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67056
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67056
milestone
:
'
14.2'
milestone
:
'
14.2'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment