Really slow even after vacuum

Поиск
Список
Период
Сортировка
От Jeroen Baekelandt
Тема Really slow even after vacuum
Дата
Msg-id 1074677650.2060.26.camel@jbaekelandt.dev.kiala.com
обсуждение исходный текст
Ответы Re: Really slow even after vacuum  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-performance
Hi,

I must have missed something, because I get really slow performance from
PG 7.3.4-RH. This is my situation: I have a table (jms_messages), which
contains 500.000 records. select count(*) from jms_messages is
understandable quite slow. Then I delete all of the records and add 1000
new ones. I run vacuumdb on this database and run select count(*) from
jms_messages again. It takes 80 seconds!?! While before, with 1000
records, it took only a fraction of a second.

Thanks for any tips,

Jeroen Baekelandt


В списке pgsql-performance по дате отправления:

Предыдущее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: database profiling
Следующее
От: Thierry Missimilly
Дата:
Сообщение: Re: PostgreSQL vs. Oracle disk space usage