Re: ECPG FETCH readahead
От | Michael Meskes |
---|---|
Тема | Re: ECPG FETCH readahead |
Дата | |
Msg-id | 20120417044819.GA9043@feivel.credativ.lan обсуждение исходный текст |
Ответ на | Re: ECPG FETCH readahead (Boszormenyi Zoltan <zb@cybertec.at>) |
Ответы |
Re: ECPG FETCH readahead
|
Список | pgsql-hackers |
On Tue, Apr 17, 2012 at 06:02:34AM +0200, Boszormenyi Zoltan wrote: > I listed two scenarios. > 1. occasional bump of the readahead window for large requests, > for smaller requests it uses the originally set size > 2. permanent bump of the readahead window for large requests > (larger than previously seen), all subsequent requests use > the new size > > Both can be implemented easily, which one do you prefer? > If you always use very large requests, 1) behaves like 2) I'd say let's go for #2. #1 is probably more efficient but not what the programmer asked us to do. After all it's easy to increase the window size accordingly if you want so as a programmer. Michael -- Michael Meskes Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org) Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org Jabber: michael.meskes at googlemail dot com VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
В списке pgsql-hackers по дате отправления: