From: auxsvr <auxsvr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: FDW, too long to run explain
Date: Sun, 17 Feb 2019 21:43:05 +0200
Message-ID: <2614341.vqdVxeSBeF@localhost.localdomain> (raw)
In-Reply-To: <CAMkU=1zokhfktj6KMtyHirjjD15VCab5=e=3uQYkHJuTp15K_A@mail.gmail.com>
References: <CAE7uO5hVKdUGJHsBbV8KKXfEWJQ4SCynRMbgG3vgwjQh+HTz7A@mail.gmail.com>
<CAMkU=1yh30=cC-Xx=_gWdf1TKqPY-oQWLFm61LnCQjG8RKierA@mail.gmail.com>
<CAMkU=1zokhfktj6KMtyHirjjD15VCab5=e=3uQYkHJuTp15K_A@mail.gmail.com>
On Sunday, 17 February 2019 20:58:47 EET Jeff Janes wrote:
> A question for the PostgreSQL hackers would be, Is it necessary and
> desirable that the EXPLAIN be issued in the same transaction as the
> eventual DECLARE and FETCHes? I don't think it is. I guess if the foreign
> side table definition got changed between EXPLAIN and DECLARE it would
> cause problems, but changing the foreign side definition out of sync with
> the local side can cause problems anyway, so is that important to preserve?
Won't separate transactions cause issues if the statistics of the table change in the meantime in a way that affects the plan?
> Cheers,
>
> Jeff
--
Regards,
Peter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: auxsvr@gmail.com
Subject: Re: FDW, too long to run explain
In-Reply-To: <2614341.vqdVxeSBeF@localhost.localdomain>
References: <CAE7uO5hVKdUGJHsBbV8KKXfEWJQ4SCynRMbgG3vgwjQh+HTz7A@mail.gmail.com> <CAMkU=1yh30=cC-Xx=_gWdf1TKqPY-oQWLFm61LnCQjG8RKierA@mail.gmail.com> <CAMkU=1zokhfktj6KMtyHirjjD15VCab5=e=3uQYkHJuTp15K_A@mail.gmail.com> <2614341.vqdVxeSBeF@localhost.localdomain>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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