Re: Advice needed: query performance deteriorates by 2000% within 1 minute - Mailing list pgsql-performance

From Michael Lewis
Subject Re: Advice needed: query performance deteriorates by 2000% within 1 minute
Date
Msg-id CAHOFxGrhHE055kjkRaj2xcFQRH=vXHRW9XVM=RN0Tj8scL8=7w@mail.gmail.com
Whole thread Raw
In response to Re: Advice needed: query performance deteriorates by 2000% within 1 minute  (Michael Lewis <mlewis@entrata.com>)
List pgsql-performance
And I would absolutely crank up autovacuum and analyze settings. Turn up the cost limits, turn down the cost delays, decrease the scale factor. Whatever you need to do such that autovacuum runs often. No need to schedule a manual vacuum at all. Just don't wait until 20% of the table is dead before an autovacuum is triggered like the default behavior. The cost to gather new stats and do garbage collection is rather minimal compared to the benefit to queries that rely on the data in many cases.

pgsql-performance by date:

Previous
From: Michael Lewis
Date:
Subject: Re: Advice needed: query performance deteriorates by 2000% within 1 minute
Next
From: "Michel SALAIS"
Date:
Subject: RE: Simple task with partitioning which I can't realize