Title: PostgreSQL performance warning: 948,750 dead tuples after upgrading to Nextcloud 35.0.2 (AIO 15.0.2 Beta)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- postgresql
- Ambito
- databases, observability
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- JavaScript
- Stelle
- 134
- Fork
- 68
- Merge medio
- 21h 28m
- PR unite (30g)
- 53
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di nextcloud/serverinfo
-
0. Needs triage bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
nextcloud/serverinfo#1265 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a checkAperta0. Needs triage bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
nextcloud/serverinfo#1231 ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
nextcloud/serverinfo#1248 ·
I maintainer di solito rispondono entro 1 giorno
-
1. to develop bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
nextcloud/serverinfo#1224 · 6 commenti · 2 reazioni ·
I maintainer di solito rispondono entro 1 giorno
-
0. Needs triage bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
nextcloud/serverinfo#1223 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di nextcloud/serverinfo
Issue simili
-
curriculum documentation quality
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
githubnext/gh-aw-workshop#5367 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
HeyPuter/everything#187 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Animal Planet BGApertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
I maintainer di solito rispondono entro 4 giorni
-
beginner blocked
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hiero-ledger/hiero-sdk-js#4670 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 61/100
I maintainer di solito rispondono entro 1 giorno