
Case Studies
How RadixTrie helped a client decommission unused Postgres databases
RadixTrie helped a client identify and decommission unused Postgres databases and hosts that were still consuming CPU, storage and memory. By following a controlled eight day decommissioning process, the team reduced waste, improved estate control and freed up resources safely.
Need a hand with this? Talk to a senior database DBA ↓By RadixTrie3 September 20264 min read
One big thing
RadixTrie was asked to help a client identify unused Postgres databases and hosts. After a sharp increase in virtualisation costs, these unused databases were creating unnecessary spend across CPU, storage and memory.
By identifying what was not being used and taking on the decommissioning process, RadixTrie helped the client remove waste and reduce cost in a controlled way.
The project at a glance
| Trigger | A sharp increase in virtualisation costs |
| Expected host layout | One primary, two replicas and two high availability proxy hosts |
| What was found | Databases, hosts and instances with little or no activity, and hosts not used according to the layout |
| Process per change | Eight days: the cluster stopped for seven so teams could flag a host still in use, decommissioned on the eighth |
| Clean-up | Configuration items updated, backups retired and hosts removed from the password safe |
| Savings | Storage, memory, CPU, backups and operational overhead |
Why it matters
Unused databases still use resources.
They take up storage.
They use memory.
They consume CPU.
They add backup and access management work.
When the estate is large, this adds up quickly. Even if a database is not actively used, it can still carry cost across the environment.
The client context
The client had a large Postgres environment with a defined structure for hosts. The expected setup included one primary, two replicas and two high availability proxy hosts.
RadixTrie was asked to identify databases, hosts and instances that showed little to no activity over a certain period. In some cases, hosts also had multiple instances or were not being used according to the correct structure.
By finding these unused or incorrectly used hosts, the client could reduce cost through multiple channels, including CPU, storage and memory.
The challenge
The work was not only about finding unused databases. The decommissioning also had to be done properly.
The process required change tickets, approvals from different team members, affected configuration items, backup retirement and privileged access updates.
At the start of the project, RadixTrie identified the hosts and instances that needed to be decommissioned and the people needed to start the process.
To speed things up, RadixTrie decided to take on the decomms directly instead of only identifying the unused hosts.
What RadixTrie did
RadixTrie followed a clear eight day decommissioning process:
1. Verify the hosts to be decommissioned
2. Log a change to decommission the identified hosts and capture all affected configuration items
3. Set the change duration to eight days to allow for stopping the cluster and completing the decommissioning
4. Stop the cluster for seven days using the API, giving teams time to flag if the host was still needed
5. Execute the decommissioning procedure through the API on the eighth day
6. Support the deployment and confirm that the host was successfully decommissioned and updated in the service management system
7. Work with the backup team to retire the related backups
8. Add a task for privileged access support to remove the hosts from the password safe
After this, RadixTrie updated the team, updated the change ticket and made sure the other teams completed their tasks.
The impact
Once the decommissioning was completed, the client could immediately start seeing savings across:
• Storage
• Memory
• CPU
• Backups
• Operational overhead
The work also helped clean up the Postgres estate. There were fewer unused hosts to monitor, support, back up and manage.
The result was a more efficient environment with less waste and better control.
Final thought
Cost reduction does not always need a major migration or new platform.
Sometimes the value comes from identifying what is already in the environment, checking what is no longer needed, and removing it safely.
For this client, RadixTrie helped turn unused Postgres databases and hosts into direct resource savings.
Less waste.
Less complexity.
Better use of the estate.
Common questions
Do unused databases still cost money?
Yes. They take storage, use memory and CPU, and add backup and access management work. Across a large estate that adds up quickly even when nobody is using them.
How do you know a database is safe to decommission?
Look for little or no activity over a set period, then stop it before removing it. Here each cluster was stopped for seven days through the API, giving teams time to flag a host they still needed, and only decommissioned on the eighth day.
What does decommissioning a database properly involve?
A change ticket with all affected configuration items and approvals, the decommission itself, an update to the service management system, retiring the related backups with the backup team, and removing the hosts from privileged access tooling.
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.
TAGSpostgresdatabase optimisationcost reductiondatabase decommisioninginfrastructure efficiencycloud cost managementdatabase support
