| From: | Enrico Weigelt <weigelt(at)metux(dot)de> |
|---|---|
| To: | postgresql performance list <pgsql-performance(at)postgresql(dot)org> |
| Subject: | Re: plain inserts and deletes very slow |
| Date: | 2005-07-04 00:01:57 |
| Message-ID: | 20050704000157.GD9777@nibiru.borg.metux.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
* David Mitchell <david(dot)mitchell(at)telogis(dot)com> wrote:
> Did you vacuum full?
>
> When you do lots of inserts and deletes, dead tuples get left behind.
> When you vacuum, postgres will reuse those dead tuples, but if you don't
> vacuum for a long time these tuples will build up lots. Even when you
> vacuum in this case, the dead tuples are still there, although they are
> marked for reuse. Vacuuming full actually removes the dead tuples.
I'm doing a VACUUM ANALYZE every 6 hours.
vacuum'ing manually doesnt seem to have any effect on that.
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT service
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: contact(at)metux(dot)de
---------------------------------------------------------------------
Realtime Forex/Stock Exchange trading powered by postgresSQL :))
http://www.fxignal.net/
---------------------------------------------------------------------
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Enrico Weigelt | 2005-07-04 00:17:47 | Re: plain inserts and deletes very slow |
| Previous Message | Steinar H. Gunderson | 2005-07-03 23:54:24 | Re: plain inserts and deletes very slow |