[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-bugs
Subject:    Re: BUG #17870: Analyze on remote postgresql_fdw table never finish
From:       Maxim Boguk <maxim.boguk () gmail ! com>
Date:       2023-03-28 6:34:32
Message-ID: CAK-MWwQ+V5BTww8B3egQ1y2WTwzxsmw3pJNW3RUxV-bPUQNNkw () mail ! gmail ! com
[Download RAW message or body]

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

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr"><div class="gmail_default" \
style="font-family:monospace,monospace;font-size:large"><br></div></div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 28, 2023 at \
1:43 AM Tom Lane &lt;<a href="mailto:tgl@sss.pgh.pa.us">tgl@sss.pgh.pa.us</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">PG Bug reporting form \
&lt;<a href="mailto:noreply@postgresql.org" \
target="_blank">noreply@postgresql.org</a>&gt; writes:<br> &gt; Is it expected that \
the analyze of foreign table will fetch whole table to<br> &gt; local size (quite a \
task for 2TB table)?<br> <br>
Yes.   There&#39;s an improvement in the works for v16 (8ad51b5f4).<br>
<br>
                                    regards, tom lane<br>
</blockquote></div><br clear="all"><div><div \
style="font-family:monospace,monospace;font-size:large" class="gmail_default">Thank \
you for an explanation.</div><div \
style="font-family:monospace,monospace;font-size:large" class="gmail_default">So \
using use_remote_estimate only way to work with huge fdw tables \
atm.</div></div><div><div style="font-family:monospace,monospace;font-size:large" \
class="gmail_default">Is this behaviour of analyze over fdw documented \
somewhere?</div><br></div><div><br></div><span class="gmail_signature_prefix">-- \
</span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div \
dir="ltr"><div><div dir="ltr"><span style="font-family:monospace,monospace">Maxim \
Boguk<br>Senior Postgresql DBA<br><a href="https://dataegret.com/" \
target="_blank">https://dataegret.com/</a><br><br>Phone UA: +380 99 143 0000<br>Phone \
AU: +61   45 218 5678<br></span><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic