Re: Database Stalls - Mailing list pgsql-performance

From Justin Pryzby
Subject Re: Database Stalls
Date
Msg-id 20230130175118.GE22427@telsasoft.com
Whole thread Raw
In response to Database Stalls  (Mok <gurmokh@gmail.com>)
Responses Re: Database Stalls  (José Arthur Benetasso Villanova <jose.arthur@gmail.com>)
List pgsql-performance
On Mon, Jan 30, 2023 at 05:47:49PM +0000, Mok wrote:
> Hi,
> 
> We've started to observe instances of one of our databases stalling for a
> few seconds.
> 
> We see a spike in wal write locks then nothing for a few seconds. After
> which we have spike latency as processes waiting to get to the db can do
> so.
> 
> There is nothing in the postgres logs that give us any clues to what could
> be happening, no locks, unusually high/long running transactions, just a
> pause and resume.
> 
> Could anyone give me any advice as to what to look for when it comes to
> checking the underlying disk that the db is on?

What version postgres?  What settings have non-default values ?
                                           
 
What OS/version?  What environment/hardware?  VM/image/provider/...
                                           
 

Have you enabled logging for vacuum/checkpoints/locks ?

https://wiki.postgresql.org/wiki/Slow_Query_Questions



pgsql-performance by date:

Previous
From: Mok
Date:
Subject: Database Stalls
Next
From: José Arthur Benetasso Villanova
Date:
Subject: Re: Database Stalls