RadixTrie-image
PostgreSQL database performance dashboard showing monitoring metrics used to identify storage I/O saturation
Case Studies

How RadixTrie helped stabilise PostgreSQL performance

When Monday morning reporting became slow and unstable, RadixTrie helped uncover the real cause hiding beneath averaged system metrics. By introducing higher resolution monitoring, the team identified storage I/O saturation and helped the customer restore consistent PostgreSQL performance.
Need a hand with this? Talk to a senior database DBA ↓
By RadixTrie3 September 20262 min read
Monday mornings were becoming a problem. A customer’s PostgreSQL environment was not coping with report processing. SQL was running slowly, the system was unstable, and end users were feeling the impact. The challenge was not just the performance issue. It was finding the real cause.

The case at a glance

PlatformPostgreSQL
SymptomSlow SQL and an unstable system during report processing, worst on Monday mornings
Why it stayed hiddenOperating system metrics averaged over 1 to 10 minutes smoothed the spikes away
What changediostat collected every 4 seconds
Root causeSustained I/O saturation on the storage array, worse during VMware backup runs
FixThe workload moved to a higher tier storage array
ResultA stable system, consistent SQL runtimes and better support for the required recovery point objectives

The problem

The customer’s existing operating system metrics were too broad to give a clear answer. The data was averaged over longer intervals, sometimes 1 minute and sometimes up to 10 minutes. That made the environment look healthier than it really was. Important performance spikes were being smoothed out. In other words, the issue was there, but the data was hiding it.

What RadixTrie did

RadixTrie introduced more detailed OS level monitoring. The key change was collecting iostat metrics at a 4 second interval. That gave the team a much clearer view of what was happening during the periods of instability.

What the data revealed

The storage subsystem was under pressure. The finer grained metrics showed sustained I/O saturation on the storage array. The issue became even worse during periodic VMware backup operations. This explained the slow SQL execution, system instability and poor user experience.

Why it mattered

The new data changed the conversation. Instead of guessing, RadixTrie could bring clear evidence to the OS team, storage team and application owners. That created alignment across teams and helped everyone focus on the actual root cause.

The outcome

The customer moved the workload to a higher tier storage array. The result was a more stable PostgreSQL environment, more consistent SQL runtimes and better support for the customer’s required Recovery Point Objectives.

The takeaway

Sometimes the problem is not the database alone. Sometimes the real issue is hidden in the layers around it. With the right monitoring, the right expertise and the right questions, performance problems become much easier to understand and resolve.

Common questions

Can storage cause slow PostgreSQL queries?

Yes. In this case the database was not the bottleneck: the storage array behind it was saturated, and backup operations made it worse. When storage cannot keep up, every query that reads or writes waits, and it looks like a database problem.

Why did the existing monitoring miss the problem?

Its metrics were averaged over intervals of one to ten minutes. Short, severe spikes disappear in an average that long, so the system looked healthier than it was. Collecting iostat every four seconds made the saturation visible.

What should you check when PostgreSQL slows down at the same time every week?

What else runs at that time. Scheduled reports, batch jobs and backups that share the same storage are common causes, and only fine-grained operating system data, collected during the slow period, shows which one.

Need a hand with this?

Tell us what you run today and when it has to move. A senior database DBA will reply directly, usually within one working day. Prefer email or phone? Write to expert@radixtrie.com or call +27 10 143 0304, or use the contact page to book a 30-minute call. We provide DBA services in the United Kingdom, United States, Canada and Australia, as well as South Africa.

By submitting this form you agree to our Privacy Policy and consent to being contacted about your enquiry. Conversations stay confidential and focused on your environment.

TAGSPostgreSQLDatabase PerformancePerformance StabilisationI/O Monitoring, Storage OptimisationDatabase SupportRoot Cause AnalysisRecovery Point ObjectivesManaged Database Services