Re: Cursors and different settings for default_statistics_target - Mailing list pgsql-performance

From Tom Lane
Subject Re: Cursors and different settings for default_statistics_target
Date
Msg-id 9999.1207068123@sss.pgh.pa.us
Whole thread Raw
In response to Re: Cursors and different settings for default_statistics_target  ("Hell, Robert" <Robert.Hell@fabasoft.com>)
Responses Re: Cursors and different settings for default_statistics_target
Re: Cursors and different settings for default_statistics_target
List pgsql-performance
"Hell, Robert" <Robert.Hell@fabasoft.com> writes:
> That's CURSOR_OPT_FAST_PLAN and isn't it? Our application reads the full
> results of most cursors.

Just out of curiosity, why use a cursor at all then?  But anyway, you
might want to consider running a custom build with a higher setting for
tuple_fraction for OPT_FAST_PLAN (look into planner.c).  I've
occasionally thought about exposing that as a GUC parameter, but
never gotten motivated to do it.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Hell, Robert"
Date:
Subject: Re: Cursors and different settings for default_statistics_target
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: Cursors and different settings for default_statistics_target