sysadmin:postgresql
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
sysadmin:postgresql [2014/09/12 15:06] – cambiata query per monitorare l'utilizzo degli indici letti | sysadmin:postgresql [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | * Performance Tuning: http:// | ||
- | * Ottimo articolo segnalato da AndreaF http:// | ||
- | |||
- | ===== Query comode x debug ===== | ||
- | |||
- | * Processi attivi: '' | ||
- | * Indici presenti: '' | ||
- | * Utilizzo degli indici: '' | ||
- | * Utilizzo delle tabelle: '' | ||
- | * Lock da https:// | ||
- | |||
- | |||
- | SELECT a.datname, | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | FROM pg_stat_activity a | ||
- | JOIN pg_locks | ||
- | JOIN pg_class | ||
- | WHERE mode=' | ||
- | |||
- | ===== Avvio manuale di postgres ===== | ||
- | |||
- | se service postgresql start offre poca flessibilità usare | ||
- | |||
- | pg_ctlcluster 8.4 main start -- -w | ||
- | | ||
- | o ancora più a basso livello, da utente '' | ||
- | |||
- | / | ||