pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedFDW and remote cursor_tuple_fraction
2+ messages / 2 participants
[nested] [flat]
* FDW and remote cursor_tuple_fraction
@ 2019-03-03 17:38 auxsvr <auxsvr@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: auxsvr @ 2019-03-03 17:38 UTC (permalink / raw)
To: pgsql-general@lists.postgresql.org
Hi,
One reason the remote plans via FDW are different than the plans of queries running directly on the remote server is that a cursor is used, which is optimized for low number of rows according to cursor_tuple_fraction. Is there any way to set parameters that affect the queries on the remote via FDW? If not, is there any plan to introduce such setting?
--
Regards,
Peter
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: FDW and remote cursor_tuple_fraction
@ 2019-03-03 18:59 Jeff Janes <jeff.janes@gmail.com>
parent: auxsvr <auxsvr@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Janes @ 2019-03-03 18:59 UTC (permalink / raw)
To: auxsvr <auxsvr@gmail.com>; +Cc: pgsql-general@lists.postgresql.org
On Sun, Mar 3, 2019 at 12:38 PM auxsvr <auxsvr@gmail.com> wrote:
> Hi,
>
> One reason the remote plans via FDW are different than the plans of
> queries running directly on the remote server is that a cursor is used,
> which is optimized for low number of rows according to
> cursor_tuple_fraction. Is there any way to set parameters that affect the
> queries on the remote via FDW? If not, is there any plan to introduce such
> setting?
>
It is a bit ugly, but there is this:
alter server foo options (options '-c cursor_tuple_fraction=1.0');
Cheers,
Jeff
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-03-03 18:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-03-03 17:38 FDW and remote cursor_tuple_fraction auxsvr <auxsvr@gmail.com>
2019-03-03 18:59 ` Jeff Janes <jeff.janes@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox