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?