Re: slow query

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: slow query
Дата
Msg-id 20070405133316.GC6464@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: slow query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
On Thu, Apr 05, 2007 at 01:47:03AM -0400, Tom Lane wrote:
> [ shrug... ]  If the damage is already done, lazy VACUUM won't fix it.
> 

Also, if there are enough open transactions at any one time and
sufficient churn in the table, lazy VACUUM may not be able to keep
up.  (We had that experience with a table that was updated _very
very_ often.  The answer turned out to be to update less often. 
Aggregating queries that could use an index over a large number of
"expired" rows worked better than seqscans over large numbers of dead
tuples.)

A
-- 
Andrew Sullivan  | ajs@crankycanuck.ca
Information security isn't a technological problem.  It's an economics
problem.    --Bruce Schneier


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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: Insert only if not found
Следующее
От:
Дата:
Сообщение: LOG: unexpected EOF on client connection