Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1veKxA-00C3IY-1a for pgsql-performance@arkaria.postgresql.org; Fri, 09 Jan 2026 22:27:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1veKx8-008vyO-3A for pgsql-performance@arkaria.postgresql.org; Fri, 09 Jan 2026 22:27:31 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1veKx8-008vyF-22 for pgsql-performance@lists.postgresql.org; Fri, 09 Jan 2026 22:27:31 +0000 Received: from mail-dl1-x122a.google.com ([2607:f8b0:4864:20::122a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1veKx7-0058mC-2O for pgsql-performance@lists.postgresql.org; Fri, 09 Jan 2026 22:27:30 +0000 Received: by mail-dl1-x122a.google.com with SMTP id a92af1059eb24-11beb0a7bd6so2518319c88.1 for ; Fri, 09 Jan 2026 14:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postgres.ai; s=google; t=1767997648; x=1768602448; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=LXyY6uPC/FVkmbn2Q0aQ6O7g199Kmsnr0iYQaUOX4os=; b=SV/AihLC/fwsMvOySOynl8DRheVLCy9CTBlbrO2/ZDdfAMsdVFwj/RC8/QfKwVGYuW J8N1XD5i2lPmj5X4YVJtuYXZT66EoiscwLClavdJeTISBK+PqJk2qUunEvR6HNx+EzZ2 +S2fv4qUlwSGnOYyeX1gM7Tef5tGYrLrmpM/StawK5sC/OZfxJFCfYuGU7th4WWjHmo+ 4HvHsoyrjhXXN2ySbpzPSBsPKklBfVhqSVcNSCFfoP6mUk6wHt1vWUwamoKjmuXIXgdc FzjYjWNXa53Nlwgj2pIaIlt2HiaAsYpFOYSfnUgL4DcD4UwuB8hrJn/xwNoSbq+amwou tMow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767997648; x=1768602448; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LXyY6uPC/FVkmbn2Q0aQ6O7g199Kmsnr0iYQaUOX4os=; b=SH3FUp3bgalnwj/d1HKagPRcWVbi/swC7wLA5yNrRErKD4p5rdye4m2yLzS7oVoHaD Efgx1s2wBkfL+cdQRQkIMNGaKHvol2re7UHXerNVodmTrdrWTwk7oYzOWgi8/gr9pjog KK45iURvwbT02zPkb+gh7UQKmoihU+rDiCaGKSd9vhSPUajbS4ZJXGLsapyDiSkIACBW odYDR1ugDgHXsW8W9K7xljLekmD+KbCf6jWxbE51Q0Mkbpny/iQoQiSsqn78VDQaFD+D /SJNFFEzyep/Yavro4x946NtQN7B8Cnjd5Py3ycT4fWANx9w77HS1CyTKRACtgakeeP+ X5IQ== X-Gm-Message-State: AOJu0YwHddFnVJUZgL9rFIkfyYkUIxKnMoa9Ejl8uTb9Jzyx4qVpDk/D 3ykjmKc33xpZpV0qYRqwGf9qanOZ0E73t1v9KEV/N8l1ilAfEKaHt9kqJ0Q0fDDXK/brc5oqjMs v7x/2CTBlvv91FYVNPkYZCm3tdt7qTFdearDKgGxHLQ== X-Gm-Gg: AY/fxX4zRnxTG0qNBNNM5kuGmKpO9xxtvciPTQN6iZr9VEEnUmvAU7d2uhqBDnYhao0 Md7KBTmcze/kXNHQ8tlSXWLoR/9nzWOQUJ4hXIx0nELgF7oUvYyXUNwbC4B/Mj00QzC8igUdpFT +ErIP930yF4vyZdUhRlJLsu3PxVLQrG+qoEMA36EQRhEz8fKz8RJQ3wck0Rb4vsH8Gz5UHB7SAC GbDpky/F9xdTXyoPtZGcZCCgsSPjeuUkkCEpvC1+m7d/2DOncaYVzJkJ+iVGkrh4gBW3BO1 X-Google-Smtp-Source: AGHT+IGuyoKvVs4LCfyV/dpGwUC+m2SwnX/IQ+X/EfvcH7d1N1PWbPwyuwdQfvnPbJXZujRdPyWUeIGbOlEB4zSe+2U= X-Received: by 2002:a05:7022:fe0b:b0:119:e569:f85d with SMTP id a92af1059eb24-121f1b453ecmr13642992c88.20.1767997648368; Fri, 09 Jan 2026 14:27:28 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nikolay Samokhvalov Date: Fri, 9 Jan 2026 14:27:17 -0800 X-Gm-Features: AQt7F2oHNxh67sLV4dYZh4kVrPi0eCf_HLGM1xRJJdzvZ4Dp735HZOKovWcfUZ4 Message-ID: Subject: Re: Troubleshooting a brief spike in active sessions To: "Dirschel, Steve-CW" Cc: "pgsql-performance@lists.postgresql.org" Content-Type: multipart/alternative; boundary="000000000000cb84c20647fc0745" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000cb84c20647fc0745 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 9, 2026 at 1:41=E2=80=AFPM Dirschel, Steve-CW < Steve.Dirschel@bestbuy.com> 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 --000000000000cb84c20647fc0745 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jan 9, 2026 at 1:41=E2=80=AFPM Dirschel, Steve-CW = <Steve.Dirschel@bestbuy.co= m> wrote:
>
> Aurora Postgres version 17.4
>
&g= t; ...
>
> The app sessions will show as wait_event_type and wa= it_event as null which I understand means they are on CPU
>
> .= ..


Not necessarily. It also might be an uninstrumented wait even= t.

Do the spikes of "CPU" AAS (I prefer to call them "= ;CPU*") correspond well to the spikes of high usage?

If you hav= e 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 ov= erall CPU load far from 100%, then we should suspect some missing wait even= t.

Nik
--000000000000cb84c20647fc0745--