Skip site navigation (1) Skip section navigation (2)

Re: Scrollable cursors and Sort performance

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Scrollable cursors and Sort performance
Date: 2006-02-27 17:44:48
Message-ID: 1141062288.27729.32.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
On Mon, 2006-02-27 at 10:07 -0500, Tom Lane wrote:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> > On Sun, 2006-02-26 at 19:26 -0500, Tom Lane wrote:
> >> After looking at my old notes about Materialize,
> >> I am thinking that we should add a "int flags" parameter to the InitNode
> >> calls along with ExecutorStart and probably PortalStart.
> > Design-wise I was looking at putting a named struc in there, so it would
> > be easily expandible in the future to carry anything else that needs to
> > be passed down through the nodes like this.
> That would be the hard way, primarily because it would require copying
> and modifying the struct at each level of recursion --- which'd turn
> what should be a nearly zero-cost patch into something with possibly
> nontrivial cost.

Yeh, didn't take me long to see the costs; I just gave that idea up
prior to reading your post. I won't go into *why* I was trying that,
especially since I've stopped...

Following your recipe pretty close as of now.

Best Regards, Simon Riggs

In response to

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2006-02-27 17:53:07
Subject: Dead Space Map
Previous:From: Richard HuxtonDate: 2006-02-27 17:24:19
Subject: Re: Any conclusion on the Xeon context-switching issue?

pgsql-patches by date

Next:From: Jim C. NasbyDate: 2006-02-27 22:55:31
Subject: Re: Scrollable cursors and Sort performance
Previous:From: Tom LaneDate: 2006-02-27 15:07:24
Subject: Re: Scrollable cursors and Sort performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group