Re: Cursors and different settings for default_statistics_target

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hell, Robert" <Robert(dot)Hell(at)fabasoft(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Cursors and different settings for default_statistics_target
Date: 2008-04-01 16:42:03
Message-ID: 9999.1207068123@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Hell, Robert" <Robert(dot)Hell(at)fabasoft(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Steinar H. Gunderson 2008-04-01 19:57:44 Re: Cursors and different settings for default_statistics_target
Previous Message Hell, Robert 2008-04-01 16:33:19 Re: Cursors and different settings for default_statistics_target