Re: Analyze on Foreign Data Wrappers - clarification - Mailing list pgsql-docs

From David G. Johnston
Subject Re: Analyze on Foreign Data Wrappers - clarification
Date
Msg-id CAKFQuwas2wXEVUyH3or3vFAZ0AMhnYpV9Aqr2M+1et+NrePPWg@mail.gmail.com
Whole thread Raw
In response to Analyze on Foreign Data Wrappers - clarification  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
On Monday, October 11, 2021, PG Doc comments form <noreply@postgresql.org> wrote:

Foreign tables are analyzed only when explicitly selected. 

2. When I run the analyze command with the FDW table as a parameter


That


Also, I am not clear if analyze is run on FDW tables when Automvacuum runs;
does it run analyze on FDW tables by default.

Based on the prior item I would expect no.  It would usually have insufficient data to do otherwise.

I didn’t look hard but aside from this comment about analyze working on foreign tables, if asked, I find no relevant “why” discussion regarding the interaction of analyze and foreign tables in the documentation.  Frankly, I’m unsure why it even needs to work at all.

David J.


pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Analyze on Foreign Data Wrappers - clarification
Next
From: Pavel Luzanov
Date:
Subject: Correction for vacuum_multixact_failsafe_age