diff options
Diffstat (limited to 'db/docs/detached_partitions.yml')
-rw-r--r-- | db/docs/detached_partitions.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/db/docs/detached_partitions.yml b/db/docs/detached_partitions.yml new file mode 100644 index 00000000000..7563576c996 --- /dev/null +++ b/db/docs/detached_partitions.yml @@ -0,0 +1,17 @@ +--- +table_name: detached_partitions +classes: +- Postgresql::DetachedPartition +feature_categories: +- database +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 +milestone: '14.2' |