Re: ECPG FETCH readahead
От
Boszormenyi Zoltan
Тема
Re: ECPG FETCH readahead
Дата
Msg-id
4F8B9F19.3040403@cybertec.at
Ответ на
Re: ECPG FETCH readahead (Michael Meskes)
Список
Дерево обсуждения
ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Bruce Momjian <bruce@momjian.us>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Böszörményi Zoltán <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead PostgreSQL - Hans-Jürgen Schönig<postgres@cybertec.at>
Re: ECPG FETCH readahead Böszörményi Zoltán <zb@cybertec.at>
Re: ECPG FETCH readahead Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Robert Haas <robertmhaas@gmail.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Robert Haas <robertmhaas@gmail.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
New ECPG idea, was: Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Proposal: UPDATE/DELETE ... WHERE OFFSET n OF cursor_name, was: Re:
New ECPG idea, was: Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Peter Eisentraut <peter_e@gmx.net>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Peter Eisentraut <peter_e@gmx.net>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
ECPG fixes, was: Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Modify the DECLARE CURSOR command tag depending on the scrollable
flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on the scrollable flag Tom Lane <tgl@sss.pgh.pa.us>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on the scrollable flag Tom Lane <tgl@sss.pgh.pa.us>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on the scrollable flag Tom Lane <tgl@sss.pgh.pa.us>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Peter Eisentraut <peter_e@gmx.net>
Re: Modify the DECLARE CURSOR command tag depending on the scrollable flag Tom Lane <tgl@sss.pgh.pa.us>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Peter Eisentraut <peter_e@gmx.net>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on the
scrollable flag Michael Meskes <meskes@postgresql.org>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
Re: Modify the DECLARE CURSOR command tag depending on the
scrollable flag Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Peter Eisentraut <peter_e@gmx.net>
Re: Modify the DECLARE CURSOR command tag depending on
the scrollable flag Boszormenyi Zoltan <zb@cybertec.at>
ECPG infrastructure changes part 1, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG infrastructure changes part 1, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Review: ECPG infrastructure changes part 1, was: Re: ECPG
fixes Antonin Houska <antonin.houska@gmail.com>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Boszormenyi Zoltan <zboszor@pr.hu>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Antonin Houska <antonin.houska@gmail.com>
Re: Review: ECPG infrastructure changes part 1, was: Re:
ECPG fixes Peter Eisentraut <peter_e@gmx.net>
ECPG infrastructure changes, part 2, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
ECPG infrastructure changes, part 3, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
ECPG infrastructure changes, part 4, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
ECPG infrastructure changes, part 5, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Followup patches for ECPG readahead, was: Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Peter Eisentraut <peter_e@gmx.net>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Alvaro Herrera <alvherre@2ndquadrant.com>
Re: ECPG FETCH readahead, was: Re: ECPG fixes Boszormenyi Zoltan <zboszor@pr.hu>
ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Review: ECPG FETCH readahead Antonin Houska <antonin.houska@gmail.com>
Re: Review: ECPG FETCH readahead Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Review: ECPG FETCH readahead Antonin Houska <antonin.houska@gmail.com>
Re: Review: ECPG FETCH readahead Noah Misch <noah@leadboat.com>
Re: Review: ECPG FETCH readahead Michael Meskes <meskes@postgresql.org>
Re: Review: ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Re: Review: ECPG FETCH readahead Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Review: ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Re: Review: ECPG FETCH readahead Boszormenyi Zoltan <zboszor@pr.hu>
Re: Review: ECPG FETCH readahead Antonin Houska <antonin.houska@gmail.com>
Re: ECPG FETCH readahead Boszormenyi Zoltan <zb@cybertec.at>
Re: ECPG FETCH readahead Böszörményi Zoltán <zb@cybertec.at>
2012-04-16 04:46 keltezéssel, Michael Meskes írta: > On Tue, Apr 10, 2012 at 07:56:35PM +0200, Boszormenyi Zoltan wrote: >> With the above, it would be possible to use a comma separated list of "-r" >> suboptions, e.g. "-r prepare,questionmarks,readahead=16" in one option. > Yes, that sounds like a good plan. But of course it's outside the scope of this > patch, so we can add this later on. > >> - Also added a note to the documentation about a possible performance trap >> if a previously written ECPG application uses its own custom readahead via >> multi-row FETCH statements. > I didn't know that before you send this patch. Noah, did you? > > Frankly, I don't like this at all. If I got it right that means a FETCH N is > essantially computed as N times FETCH 1 unless you either add a non-standard > option to the DECLARE statement or you add a command-line option to ecpg. Did I > get that right? Yes, just like when the readahead window set to 256, FETCH 1024 will iterate through 4 windows or FETCH 64 iterates through the same window 4 times. This is the idea behind the "readahead window". > If so we would deliberately make ecpglib work incorrectly and remove > performance. Why is that? I'm interested in what others think, but to me that > sounds like a show-stopper. How about allowing the readahead window to be resized for the non-decorated case if the runtime encounters FETCH N and N is greater than the previous window? > > Michael > -- ---------------------------------- Zoltán Böszörményi Cybertec Schönig& Schönig GmbH Gröhrmühlgasse 26 A-2700 Wiener Neustadt, Austria Web: http://www.postgresql-support.de http://www.postgresql.at/
В списке pgsql-hackers по дате отправления