Re: BUG #17870: Analyze on remote postgresql_fdw table never finish - Mailing list pgsql-bugs

From Maxim Boguk
Subject Re: BUG #17870: Analyze on remote postgresql_fdw table never finish
Date
Msg-id CAK-MWwQ+V5BTww8B3egQ1y2WTwzxsmw3pJNW3RUxV-bPUQNNkw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #17870: Analyze on remote postgresql_fdw table never finish  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs


On Tue, Mar 28, 2023 at 1:43 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
PG Bug reporting form <noreply@postgresql.org> writes:
> Is it expected that the analyze of foreign table will fetch whole table to
> local size (quite a task for 2TB table)?

Yes.  There's an improvement in the works for v16 (8ad51b5f4).

                        regards, tom lane

Thank you for an explanation.
So using use_remote_estimate only way to work with huge fdw tables atm.
Is this behaviour of analyze over fdw documented somewhere?


--
Maxim Boguk
Senior Postgresql DBA
https://dataegret.com/

Phone UA: +380 99 143 0000
Phone AU: +61  45 218 5678

pgsql-bugs by date:

Previous
From: Maxim Boguk
Date:
Subject: Re: BUG #17871: JIT during postgresql_fdw remote_estimates EXPLAIN have very negatively effect on planning time
Next
From: Amit Regmi
Date:
Subject: Fwd: NEED RPM FILE OF LATEST POSTGRE supported for AIX 7.2