Re: FDW and remote cursor_tuple_fraction

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: auxsvr <auxsvr(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: FDW and remote cursor_tuple_fraction
Date: 2019-03-03 18:59:42
Message-ID: CAMkU=1yneEpGdukaLoRw=YjHg26Y7XuVjzsTgf2GEzsoXJZYuw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Mar 3, 2019 at 12:38 PM auxsvr <auxsvr(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michel Pelletier 2019-03-03 20:18:30 Re: support for JSON Web Token
Previous Message auxsvr 2019-03-03 17:38:29 FDW and remote cursor_tuple_fraction