Re: BUG #17870: Analyze on remote postgresql_fdw table never finish
Maxim Boguk <maxim.boguk@gmail.com>
From: Maxim Boguk <maxim.boguk@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2023-03-28T06:34:32Z
Lists: 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