public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikolay Samokhvalov <[email protected]>
To: Dirschel, Steve-CW <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Troubleshooting a brief spike in active sessions
Date: Fri, 9 Jan 2026 14:29:20 -0800
Message-ID: <CAM527d-y5aQ2Qu0Dp8Ns8pK6Zpm0HdCk5NKn2M+JtFwqo_L4ow@mail.gmail.com> (raw)
In-Reply-To: <CAM527d-Udxg5NSg_kEsEuTm-gB5GJ8z=84znpTQQT-tu2VQW_A@mail.gmail.com>
References: <BL0PR06MB5009A7B383ACA34CD3603B058A82A@BL0PR06MB5009.namprd06.prod.outlook.com>
	<CAM527d-Udxg5NSg_kEsEuTm-gB5GJ8z=84znpTQQT-tu2VQW_A@mail.gmail.com>

BTW, what are you logging settings for slow queries?
(log_min_duration_statement, auto_explain.log_min_duration)

On Fri, Jan 9, 2026 at 2:27 PM Nikolay Samokhvalov <[email protected]> wrote:

> On Fri, Jan 9, 2026 at 1:41 PM Dirschel, Steve-CW <
> [email protected]> wrote:
> >
> > Aurora Postgres version 17.4
> >
> > ...
> >
> > The app sessions will show as wait_event_type and wait_event as null
> which I understand means they are on CPU
> >
> > ...
>
>
> Not necessarily. It also might be an uninstrumented wait event.
>
> Do the spikes of "CPU" AAS (I prefer to call them "CPU*") correspond well
> to the spikes of high usage?
>
> If you have N active sessions marked as CPU in ASH, does it match to the
> CPU load of similar scale?
>
> If the VM has much less than 400 vCPUs and you see overall CPU load far
> from 100%, then we should suspect some missing wait event.
>
> Nik
>


view thread (4+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Troubleshooting a brief spike in active sessions
  In-Reply-To: <CAM527d-y5aQ2Qu0Dp8Ns8pK6Zpm0HdCk5NKn2M+JtFwqo_L4ow@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox