Re: checkpointer continuous flushing
От | Jim Nasby |
---|---|
Тема | Re: checkpointer continuous flushing |
Дата | |
Msg-id | 5589BF45.2030306@BlueTreble.com обсуждение исходный текст |
Ответ на | Re: checkpointer continuous flushing (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: checkpointer continuous flushing
|
Список | pgsql-hackers |
On 6/22/15 11:59 PM, Fabien COELHO wrote: >> which might not be helpful for cases when checkpoint could have >> flushed soon-to-be-recycled buffers. I think flushing the sorted >> buffers w.r.t tablespaces is a good idea, but not giving any >> preference to clock-sweep point seems to me that we would loose in >> some cases by this new change. > > I do not see how to do both, as these two orders seem more or less > unrelated? The traditionnal assumption is that the I/O are very slow > and they are to be optimized first, so going for buffer ordering to be > nice to the disk looks like the priority. The point is that it's already expensive for backends to advance the clock; if they then have to wait on IO as well it gets REALLY expensive. So we want to avoid that. Other than that though, it is pretty orthogonal, so perhaps another indication that the clock should be handled separately from both backends and bgwriter... -- Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX Data in Trouble? Get it in Treble! http://BlueTreble.com
В списке pgsql-hackers по дате отправления: