2022-04-01 17:09:24 -04:00
|
|
|
---
|
|
|
|
table_name: detached_partitions
|
|
|
|
classes:
|
|
|
|
- Postgresql::DetachedPartition
|
2022-04-15 20:09:28 -04:00
|
|
|
feature_categories:
|
2022-04-01 17:09:24 -04:00
|
|
|
- database
|
2022-04-18 20:08:51 -04:00
|
|
|
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.
|
2022-04-15 20:09:28 -04:00
|
|
|
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67056
|
|
|
|
milestone: '14.2'
|