Re: plain inserts and deletes very slow
От
David Mitchell
Тема
Re: plain inserts and deletes very slow
Дата
Msg-id
42C887DC.40308@telogis.com
Ответ на
Re: plain inserts and deletes very slow (Enrico Weigelt)
Список
Дерево обсуждения
plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow David Mitchell <david.mitchell@telogis.com>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow David Mitchell <david.mitchell@telogis.com>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow Alvaro Herrera <alvherre@surnet.cl>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow Alvaro Herrera <alvherre@surnet.cl>
Re: plain inserts and deletes very slow David Mitchell <david.mitchell@telogis.com>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow Klint Gore <kg@kgb.une.edu.au>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
Re: plain inserts and deletes very slow "Steinar H. Gunderson" <sgunderson@bigfoot.com>
Re: plain inserts and deletes very slow Enrico Weigelt <weigelt@metux.de>
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. If you vacuum (normal) regularly, then the number of dead tuples will stay down, as they are regularly marked for reuse. David Enrico Weigelt wrote: > * Enrico Weigelt wrote: > > forgot to mention: > > + linux-2.6.9 > + postgres-7.4.6 > + intel celeron 2ghz > + intel ultra ata controller > + 768mb ram > > > cu -- David Mitchell Software Engineer Telogis NOTICE: This message (including any attachments) contains CONFIDENTIAL INFORMATION intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
В списке pgsql-performance по дате отправления