Re: EXPLAIN output explanation requested - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: EXPLAIN output explanation requested
Date
Msg-id 20080603182839.GB14479@a-kretschmer.de
Whole thread Raw
In response to Re: EXPLAIN output explanation requested  (Ron Arts <ron.arts@neonova.nl>)
Responses Re: EXPLAIN output explanation requested  (Ron Arts <ron.arts@neonova.nl>)
List pgsql-novice
am  Tue, dem 03.06.2008, um 19:51:05 +0200 mailte Ron Arts folgendes:
> A. Kretschmer schreef:
> >am  Tue, dem 03.06.2008, um 12:35:34 +0200 mailte A. Kretschmer folgendes:
> >>I guess, you have much insert/delete or update - operations on this
> >>table and no recent vacuum.
> >>
> >>Try to run a 'vacuum full;' and re-run your query. And, run a 'explain
> >>analyse <your query>' to see the estimated costs and the real costs.
> >
> >Btw, run 'select relpages, reltuples from pg_class where relname='phone';
> >before and after the 'vacuum full' and show us the result.
> >
> >
> >Andreas
>
> I did a vacuum without success, but `vacuum full` did the trick:

vacuum: tags dead tuples for reuse
vacuum full: recover the space occopied by dead tuples


Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-novice by date:

Previous
From: "A. Kretschmer"
Date:
Subject: Re: EXPLAIN output explanation requested
Next
From: Ron Arts
Date:
Subject: Re: EXPLAIN output explanation requested