Welcome to mirror list, hosted at ThFree Co, Russian Federation.

detached_partitions.yml « docs « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dbd77d472b3488e3c827fd8f80d92a2203a5d88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
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'
gitlab_schema: gitlab_shared