Vacuum takes more than 1 hr

Поиск
Список
Период
Сортировка
От Postgres
Тема Vacuum takes more than 1 hr
Дата
Msg-id 001001bf1ed7$01dc9b20$9befaace@usedcars.com
обсуждение исходный текст
Ответ на Re: [SQL] Limit doesn't work with select unions  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: [SQL] Vacuum takes more than 1 hr  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I have a table with about 30 columns and 200K rows. When I perform a vacuum
on it (no analyze) it takes usually a little more than 1 hour. Since I do it
everyday, for me, this basically means my database, which is now getting
about a million queries a month, is down for an hour every day, since all
selects to that table wait until the vacuum is done. I have smaller tables,
10 columns, 5K rows, which see, to be very quick with vacuum. Any ideas on
how to speed vacuum up?
Thanks,
Rich



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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: [SQL] Limit doesn't work with select unions
Следующее
От: "KC"
Дата:
Сообщение: modifying query results with a regex?