Better Database Performance with Google Cloud SQL Insights

Google Cloud launched an advanced database performance tool (Cloud SQL Insights), allowing you to closely monitor the database performance and identify potential performance issues. Many Google Cloud SQL users have waited for it for a long time, as both AWS and Azure already offer similar products for a while. AWS RDS Performance Insights is available… Continue reading Better Database Performance with Google Cloud SQL Insights

How to enable slow query log in PostgreSQL [2021]

PostgreSQL allows logging slow queries to a file, with a configured query duration threshold. Parsing the slow log with tools such as EverSQL Query Optimizer will allow you to quickly locate the most common and slowest SQL queries in the database. You can optimize these queries automatically using EverSQL Query Optimizer. Enabling PostgreSQL Slow Query Log… Continue reading How to enable slow query log in PostgreSQL [2021]

How to Fix MySQL High CPU Usage?

So you thought your database is in good shape, but suddenly your CPU usage spiked and reached 100% at 2AM. How would you go about tracking the root cause and fix it? 1. Locate the root cause If you are using CloudWatch or any infrastructure monitoring solution, you can start your investigation there. To understand… Continue reading How to Fix MySQL High CPU Usage?

Hibernate ORM 5 – Pros, Cons, and how to fix performance problems [2021 review]

Background Hibernate is an open-source project sponsored by RedHat. One of its commonly used components is the Hibernate Object-relational mapping (ORM) which helps developers access databases using an object-oriented approach. Hibernate is helping developers achieve consistency and persistence in their application, using the data language and objects the developers are already familiar with. Hibernate ORM… Continue reading Hibernate ORM 5 – Pros, Cons, and how to fix performance problems [2021 review]