Identify root-cause for intermittent spikes - Mailing list pgsql-performance

From Sengottaiyan T
Subject Identify root-cause for intermittent spikes
Date
Msg-id CADjQTvLARNBi0zSSAXFyQJdd8+o0tSX2mPfdAOA9rcNfhD5Axw@mail.gmail.com
Whole thread Raw
Responses Re: Identify root-cause for intermittent spikes  (MichaelDBA <MichaelDBA@sqlexec.com>)
Re: Identify root-cause for intermittent spikes  (Rick Otten <rottenwindfish@gmail.com>)
Re: Identify root-cause for intermittent spikes  (SAMEER KUMAR <sameer.kasi200x@gmail.com>)
List pgsql-performance
Hi All,

I'm looking for suggestions:

Environment: AWS PostgreSQL RDS instance - Version 14.3
Operations support gets intermittent alerts from the monitoring tool through AWS cloud watch metrics on Disk Queue Depth, CPU burst-credit & CPU Utilization.
I would like to understand what is causing the spike - is the number of logon's increased, (or) number of transactions per second increased, (or) SQL execution picked wrong plan and the long running (I/O, CPU or memory intensive) SQL is increasing load on server (cause and effect scenario) etc.,

Due to the reactive nature of the issues, we rely on the metrics gathered in the AWS cloud watch monitoring (for the underlying OS stats), Performance Insights (for the DB performance) and correlate SQL queries with pg_Stat_Statements view. But the data in the view is an aggregated stats. And, I'm looking to see the deltas compared to normal runs.
How should I approach and get to the root-cause?

AppDynamics is already configured for the RDS instance. Are there any open source monitoring tools available which would help to capture and visualize the deltas?    

Thanks,
Senko

pgsql-performance by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Milions of views - performance, stability
Next
From: MichaelDBA
Date:
Subject: Re: Identify root-cause for intermittent spikes