Alexander Novikov
  • |
  • Ru
  • All posts
  • Topics

Top 10 Tips for Database Optimization

In November, I attended the Highload++ conference, which I covered in detail in a telegram post. There were many great insights on working with databases, and one of the talks presented a top-10 list. Below is an expanded breakdown of each recommendation: what the speaker actually meant and how to apply it in real-world production work. 1️⃣ Connections are a limited resource Idea: A database connection is not just a TCP socket.➤ Read more...

November 15, 2025 · Alexander Novikov
db optimization tips

A 50% Performance Boost for Database Explained How

When working with PostgreSQL, query optimization is a crucial skill for maintaining performance in high-load systems. In this post, I’ll show how I optimized a slow query by 50% using a composite index—leveraging PostgreSQL’s EXPLAIN and EXPLAIN ANALYZE commands to diagnose performance bottlenecks and improve efficiency. Why EXPLAIN Matters PostgreSQL provides the EXPLAIN command to analyze query execution plans before execution. It helps developers understand: ✅ How PostgreSQL plans to execute the query➤ Read more...

March 10, 2025 · Alexander Novikov
db postgres sql optimization
© 2025 Alexander Novikov · Powered by Hugo & PaperMod