Re: Limiting setting of hint bits by read-only queries; vacuum_delay

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Limiting setting of hint bits by read-only queries; vacuum_delay
Дата
Msg-id 514FBB88.7070707@2ndQuadrant.com
обсуждение исходный текст
Ответ на Limiting setting of hint bits by read-only queries; vacuum_delay  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Limiting setting of hint bits by read-only queries; vacuum_delay  (Simon Riggs <simon@2ndQuadrant.com>)
Re: Limiting setting of hint bits by read-only queries; vacuum_delay  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 3/24/13 7:14 AM, Simon Riggs wrote:
> Patch to implement is a few hours work. The only complexity is
> deciding how to handle SQL in functions.... to which I would say, as
> simply as possible.

Like the Page replacement ideas, the throttle on how fast something like 
this will get done depends not on development time, but on putting 
together more performance regression tests.  The idea I was thinking 
about is refactoring the background writer's role in hint bit 
maintenance.  If backends could push "this looks dirty" page numbers 
toward the BGW and keep going, it might stream those out to disk under 
its control.

I also have a larger proposal for how to refactor I/O so that both 
queries and CREATE INDEX have similar cost controls to the ones used to 
limit vacuum.  And two more based on collecting extra data for high cost 
queries before they run.

But right now I keep biting my tongue about the design on all these, and 
return to working on one of the patches already in the CF queue instead.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: [PATCH] Exorcise "zero-dimensional" arrays (Was: Re: Should array_length() Return NULL)
Следующее
От: Darren Duncan
Дата:
Сообщение: adding support for zero-attribute unique/etc keys