Re: Commit Latency - Mailing list pgsql-general

From Tomas Vondra
Subject Re: Commit Latency
Date
Msg-id 637513a7-04b8-4ae1-aece-052106beeeee@vondra.me
Whole thread Raw
List pgsql-general
I think the first thing you should do is verify the performance of the
storage, particularly how long it takes to do fsync. You didn't explain
what kind of storage or filesystem you're using, so hard to say.

It's not clear to me what "resource usage" means exactly, but the fsync
may be slow even when nothing else competes for I/O.

regards
Tomas

On 2/5/25 11:18, Ramakrishna m wrote:
> HI  Team,
> I have a system handling *300 TPS*, with resource usage *below 10%*.
> However, I’m noticing *commit latency of around 200ms* for *1% of
> transactions*, occasionally spiking to *1 second*. Since there is no
> significant *I/O pressure*, I’m trying to identify what else might be
> causing this in *PostgreSQL 16*.  
> 
> Below are the parameters, Version and OS details.
> 
> image.png
> 
> Regards,
> Ram.

-- 
Tomas Vondra




pgsql-general by date:

Previous
From: Michał Kłeczek
Date:
Subject: Re: Lookup tables
Next
From: Laurenz Albe
Date:
Subject: Re: Commit Latency