Re: lots of updates on small table
От | Alvaro Herrera |
---|---|
Тема | Re: lots of updates on small table |
Дата | |
Msg-id | 20050714162114.GA19778@alvh.no-ip.org обсуждение исходный текст |
Ответ на | lots of updates on small table (alison@mirrabooka.com (Alison Winters)) |
Ответы |
Re: lots of updates on small table
|
Список | pgsql-performance |
On Thu, Jul 14, 2005 at 03:08:30PM +1000, Alison Winters wrote: > Hi, > > Our application requires a number of processes to select and update rows > from a very small (<10 rows) Postgres table on a regular and frequent > basis. These processes often run for weeks at a time, but over the > space of a few days we find that updates start getting painfully slow. > We are running a full vacuum/analyze and reindex on the table every day, Full vacuum, eh? I wonder if what you really need is very frequent non-full vacuum. Say, once in 15 minutes (exact rate depending on dead tuple rate.) -- Alvaro Herrera (<alvherre[a]alvh.no-ip.org>) "World domination is proceeding according to plan" (Andrew Morton)
В списке pgsql-performance по дате отправления: