Analyze on Foreign Data Wrappers - clarification

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: box1805(at)gmail(dot)com
Subject: Analyze on Foreign Data Wrappers - clarification
Date: 2021-10-11 13:49:52
Message-ID: 163396019230.679.3397729038914858773@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/sql-analyze.html
Description:

Foreign tables are analyzed only when explicitly selected.

Nothing wrong just maybe my newness to PG. I don't understand what
"selected" means here:
1. When I select the table in a query
2. When I run the analyze command with the FDW table as a parameter
3. Or something else

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

Thanks,
Leon

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2021-10-11 21:35:36 Re: Analyze on Foreign Data Wrappers - clarification
Previous Message Andrii Cherevko 2021-10-11 12:58:18 Re: 9.17. Sequence Manipulation Functions