> 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
--
Andreas Kretschmer
Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA
--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice
No comments:
Post a Comment