Ridho Kurnia Putra

2025Akasha Wira International

Query and Index Tuning

Cut database CPU by around 80% at peak by caching Odoo read paths in Redis and rebuilding the indexes behind the slowest queries.

The problem

At peak sales force traffic the database server ran hot enough to threaten everything else on it. The instinct in that situation is to add hardware, which buys time without answering why the load exists.

Approach

Find the queries responsible, then remove the reason they were expensive.

Outcome

Database CPU and query load dropped by roughly 80% at peak, on the same hardware.

All work