Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Peter Childs
On 28/08/06, Michal Taborsky - Internet Mall <[EMAIL PROTECTED]> wrote: Markus Schaber napsal(a): > Hi, Michal, > > Michal Taborsky - Internet Mall wrote: > >> When using this view, you are interested in tables, which have the >> "bloat" column higher that say 2.0 (in freshly dump/restored/analyz

Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Michal Taborsky - Internet Mall
Markus Schaber napsal(a): Hi, Michal, Michal Taborsky - Internet Mall wrote: When using this view, you are interested in tables, which have the "bloat" column higher that say 2.0 (in freshly dump/restored/analyzed database they should all be around 1.0). I just noticed some columns in pg_cat

Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Markus Schaber
Hi, Michal, Michal Taborsky - Internet Mall wrote: > When using this view, you are interested in tables, which have the > "bloat" column higher that say 2.0 (in freshly dump/restored/analyzed > database they should all be around 1.0). I just noticed some columns in pg_catalog with a bloat value

Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Alvaro Herrera
Brad Nicholson wrote: > On Mon, 2006-08-28 at 16:39 +0200, Michal Taborsky - Internet Mall > wrote: > > I just put together a view, which helps us in indentifying which > > database tables are suffering from space bloat, ie. they take up much > > more space than they actually should. I though thi

Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Michal Taborsky - Internet Mall
Brad Nicholson napsal(a): I just put together a view, which helps us in indentifying which database tables are suffering from space bloat, ie. they take up much Are you sure you haven't reinvented the wheel? Have you checked out contrib/pgstattuple ? Well, I wasn't aware of it, so I guess

Re: [PERFORM] Identifying bloated tables

2006-08-28 Thread Brad Nicholson
On Mon, 2006-08-28 at 16:39 +0200, Michal Taborsky - Internet Mall wrote: > I just put together a view, which helps us in indentifying which > database tables are suffering from space bloat, ie. they take up much > more space than they actually should. I though this might be useful for > some fo

[PERFORM] Identifying bloated tables

2006-08-28 Thread Michal Taborsky - Internet Mall
I just put together a view, which helps us in indentifying which database tables are suffering from space bloat, ie. they take up much more space than they actually should. I though this might be useful for some folk here, because the questions about bloat-related performance degradation are qu