Re: reducing statistics write overhead

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: reducing statistics write overhead
Дата
Msg-id 20080906180217.GA4051@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: reducing statistics write overhead  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: reducing statistics write overhead
Re: reducing statistics write overhead
Re: reducing statistics write overhead
Список pgsql-hackers
Tom Lane escribió:

> (In fact, maybe this patch ought to include some sort of maximum update
> rate tunable?  The worst case behavior could actually be WORSE than now.)

Some sort of "if stats were requested in the last 500 ms, just tell the
requester to read the existing file".

Things that come to mind:

- autovacuum could use a more frequent stats update in certain cases

- Maybe we oughta have separate files, one for each database?  That way
we'd reduce unnecessary I/O traffic for both the reader and the writer.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: reducing statistics write overhead
Следующее
От: Tom Lane
Дата:
Сообщение: Re: reducing statistics write overhead