Title: PostgreSQL performance warning: 948,750 dead tuples after upgrading to Nextcloud 35.0.2 (AIO 15.0.2 Beta)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- postgresql
調査の方向性
Start by locating the pg.dead_tuples check and the code that generates its PostgreSQL configuration snippet; compare their behavior with related issue #1219. The report does not identify a specific incorrect result, so first establish whether the reported dead-tuple count or recommendation is wrong for an AIO-managed database. Done means the check and its recommendations accurately communicate the state and appropriate next steps.
索引モデルが issue の本文から書いたものです。
説明
Bug description
After successfully upgrading my Nextcloud AIO installation to 15.0.2 Beta, which includes Nextcloud Hub 26 Summer (35.0.2), I noticed a PostgreSQL performance warning in the system administration interface.
The upgrade itself completed successfully, and Nextcloud is running normally.
However, under Administration settings → System → Database → Performance, the following check is marked as failing:
Dead tuples in user tables
Warning · pg.dead_tuples
At least one user table has accumulated many dead tuples
— autovacuum may not be keeping up.
Largest table has 948750 dead tuples.
Tune autovacuum_naptime / autovacuum_vacuum_scale_factor,
or run VACUUM ANALYZE on the worst tables.
The interface also provides the following configuration snippet:
# postgresql.conf
autovacuum_naptime = 30
Since PostgreSQL is managed by Nextcloud AIO, I am unsure whether this setting should be modified manually or whether the warning indicates an issue with the database health check or its recommendations.
The displayed snippet also does not indicate the current value of autovacuum_naptime.
Steps to reproduce
- Run Nextcloud AIO 15.0.2 Beta with Nextcloud 35.0.2.
- Open Administration settings → System.
- Navigate to the database performance section.
- Observe the failing
pg.dead_tuplescheck. - Click Show config snippet to display the recommended PostgreSQL configuration.
Expected behavior
The database performance check should accurately reflect the database state and provide actionable recommendations appropriate for a managed PostgreSQL environment such as Nextcloud AIO.
Actual behavior
The check reports 948,750 dead tuples and recommends adjusting PostgreSQL autovacuum parameters or running VACUUM ANALYZE.
It is unclear whether this represents an actual database maintenance problem requiring intervention or whether the check or its recommendation needs adjustment.
Environment
- Nextcloud: 35.0.2 – Hub 26 Summer
- Nextcloud AIO: 15.0.2 Beta
- Deployment: Docker / Nextcloud AIO
- Host OS: Ubuntu 24.04 LTS (VM)
- Database: PostgreSQL (AIO-managed container)
- Affected check:
pg.dead_tuples - Reported value: 948,750 dead tuples
- Suggested configuration:
autovacuum_naptime = 30
Additional context
I was referred to the Serverinfo repository by the Nextcloud AIO maintainer.
I also found a potentially related report, [nextcloud/serverinfo#1219](https://github.com/nextcloud/serverinfo/issues/1219), which mentions the same suggested autovacuum_naptime = 30 setting.
I would appreciate some guidance on whether this warning requires action in an AIO-managed PostgreSQL installation and, if so, what the appropriate approach would be.
Screenshots of the performance warning and the suggested configuration snippet are attached.
- 主要言語
- JavaScript
- スター
- 133
- フォーク
- 67
- 平均マージ
- 21時間 28分
- マージ済み PR(30日)
- 53
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nextcloud/serverinfo のほかの issue
-
0. Needs triage bug
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
nextcloud/serverinfo#1265 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a checkオープン0. Needs triage bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
nextcloud/serverinfo#1231 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/serverinfo#1248 ·
メンテナーはふだん 1 日以内に返信
-
1. to develop bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
nextcloud/serverinfo#1224 · コメント 6 件 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
0. Needs triage bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
nextcloud/serverinfo#1223 ·
メンテナーはふだん 1 日以内に返信
nextcloud/serverinfo の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
area:docs good first issue help wanted priority:medium type:chore
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
mahmutmft/courses-mcp#51 ·
メンテナーはふだん 1 日以内に返信
-
good first issue roadmap ux
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
AhmedNavaz/throughline#100 ·
-
good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
samiromer2/Ruby-Consent-Portal#26 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
django-helpdesk/django-helpdesk#1496 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信