Display basic table bloat monitoring information in the admin UI

Aperta
#614 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
postgresql, python
Ambito
backend, database

Direzione di ricerca

Start by reading how CollectOSS manages its database and renders the admin UI; the issue does not name specific files or tests. Identify how table bloat and deleted tuples can be reported for PostgreSQL tables, then define which tables need maintenance and how the UI should present that information. Done means the admin UI shows useful bloat monitoring information; the issue leaves the details and any documentation or free-space warnings open.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

While CollectOSS generally assumes responsibility for managing the database, theres one thing it can't really easily self-manage: running VACUUM FULL to clean out table bloat/deleted tuples to free up space.

This is likely to become relevant during some of the larger data migrations such as those that fix issues like #232

It would be nice to have UI display the information about which tables could use this kind of maintenance the most (and maybe some docs with instructions on how to do it).

This could also pair really well with #611, so that CollectOSS can know the full size of each table and show a warning next to the tables where a VACUUM FULL is not possible due to low free space (assuming CollectOSS knows what filesystem postgres is installed on)

Lingua principale
Python
Stelle
18
Fork
33
Merge medio
2g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.