Slow SQL and execution plans
Identify expensive and frequently executed statements. Review row estimates, scans, joins and buffer usage under representative conditions, then connect the findings to application workflows.
Services for existing applications
Slow SQL, blocked transactions and connection pressure can hold back a working product. We connect database bottlenecks to customer workflows, investigate the workload and agree which changes to make first.
Identify expensive and frequently executed statements. Review row estimates, scans, joins and buffer usage under representative conditions, then connect the findings to application workflows.
Review query patterns, index selectivity and write costs. Investigate blocking transactions and long-running updates before proposing changes.
Review application pools, worker concurrency and active sessions. Distinguish database saturation from slow application work before adding capacity.
Agree the affected workflow and representative workload. Record query timings, plans and relevant workload conditions, then prioritize findings by impact, effort and risk.
Agree diagnosis-only or implementation scope. Compare delivered changes under the same workload, check correctness and document rollout, rollback and monitoring steps.
Agree database access and handling of sensitive data before starting. Use anonymized queries or a representative environment when appropriate; agree production investigation steps with your team.
Client work and engineering evidence
We moved expensive Ruby-side processing into SQL to make slow pages usable again. The published processing benchmark shows 79.74× higher throughput; the article separately reports page loading falling from over 30 seconds to 300ms. These are distinct measurements, not Core Web Vitals results.
Read the Kajabi Experts case studyAn engineering article about using SQL to understand and improve Rails applications.
Read the engineering articleA practical demonstration of PostgreSQL queries for financial planning, illustrating database-specific SQL techniques.
Read the PostgreSQL articleExperience you can inspect
Our open-source tool tracks migrations and helps keep local Rails databases aligned across Git branches.
Explore the migration toolOur migration tooling and SQL articles show how we approach database changes. Performance results for a specific workload are documented separately in the Kajabi case study.
Explore testable data migrationsRead the original sources for our community mentions, published book, recorded talk, and open-source work.
See the evidence and sourcesExplore the next step
Explore focused services for your application and the technical experience behind our work.
Related service
Investigate requests, queues, memory and database access together when the bottleneck crosses application boundaries.
Explore the serviceRelated service
Restore an unreliable application and document recovery steps.
Explore the serviceTell us about your application, the current problem and your priorities. We will agree on the scope, access needed and a practical first step.