Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Postgres partition management

未关闭
#249 1 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@alexluong 已经在做这个了。

开始于 2025年3月11日。

评估

这个 Issue 还没有评估数据。

描述

enhancement

The current PG implementation supports table partitioning for events and deliveries table but there's no partition management yet.

I'm not 100% sure if we can instruct users to manage the partition themselves with pg_partman or something similar.

To simplify operation for users, it may make sense for us to include a simple workflow around table partition + data retention policy. My thinking is on api service startup, we'll run 2 logic check:

1: create enough partition to the end of the following year. So if it's 2025, make sure there's partition for 2026. If it's 2026, make sure 2027 partitions are created.
2: drop stale partition, depending on user's data retention policy from their configuration

主要语言
Go
星标
1.1k
派生
70
平均合并
1 天 19 小时
30 天内合并 PR
54

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

hookdeck/outpost 的其他 Issue

查看 hookdeck/outpost 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。