Re: vacuum analyze query performance - help me understand - Mailing list pgsql-general

From David G. Johnston
Subject Re: vacuum analyze query performance - help me understand
Date
Msg-id CAKFQuwbhnw7XbSqsCV+zDfDQjzWx0_pXN_WKByGKBpQz9VLYXA@mail.gmail.com
Whole thread Raw
In response to vacuum analyze query performance - help me understand  (Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com>)
List pgsql-general
On Tue, Aug 19, 2025 at 10:37 AM Scot Kreienkamp <Scot.Kreienkamp@la-z-boy.com> wrote:

We ran a (admittedly poorly written) select query against a subset of tables which performed poorly.  Then we ran a vacuum analyze against just those tables involved in that query, then ran the same query again, which performed exponentially better.

Did/can you observe query buffer usage/performance for the two explain analyze executions?

David J.

pgsql-general by date:

Previous
From: Scot Kreienkamp
Date:
Subject: RE: Streaming replica hangs periodically for ~ 1 second - how to diagnose/debug
Next
From: Ertan Küçükoglu
Date:
Subject: Domains vs data types