Re: pgBadger and postgres_fdw - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pgBadger and postgres_fdw
Date
Msg-id 31af308b-1689-44e8-ab88-f6a72722b38b@aklaver.com
Whole thread Raw
In response to pgBadger and postgres_fdw  ("Colin 't Hart" <colinthart@gmail.com>)
Responses Re: pgBadger and postgres_fdw
List pgsql-general
On 1/21/26 00:18, Colin 't Hart wrote:
> Hi,
> 
> One of my clients makes extensive use of postgres_fdw. After a migration 
> performance isn't great. pgBadger reports show the slowest queries all 
> being `fetch 100 from c2`.
> 
> Anyone have any tricks for being able to associate those fetches with 
> the queries that were used when declaring the server-side cursor?

This is going to need a lot more information. To start:

1) Migration of what and from what version to what version?

2) Where are the Postgres databases relative to each other on the network?

3) What versions of Postgres if not covered in 1.

4) If Postgres was what was being updated was an analyze done on the 
instances?

5) Show a complete query using EXPLAIN ANALYZE.

6) Define slow.

> 
> Thanks,
> 
> Colin


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Erik Wienhold
Date:
Subject: Re: pg_trgm upgrade to 1.6 led to load average increase
Next
From: "Colin 't Hart"
Date:
Subject: Re: pgBadger and postgres_fdw