The JusDB Database Engineering Blog

Deep dives on PostgreSQL, MySQL, MongoDB and more — performance tuning, high availability, migrations and production war stories from our DBAs.

82 canonical articlesBrowse the complete archive

Popular Searches

Performance Articles

← Clear filter

Showing 10 of 82 articles

Descending Indexes in MySQL 8.0: When and How to Use Them

MySQL 8.0 finally supports true descending indexes — eliminating the filesort that MySQL 5.7 required when sorting results in descending order. Here's how descending indexes work and when to add them.

MySQL7 minJul 15, 2022
Read

PostgreSQL Performance Tuning: shared_buffers, work_mem, and Memory Configuration

A complete guide to PostgreSQL memory configuration and performance tuning, covering shared_buffers, work_mem, effective_cache_size, checkpoint tuning, and autovacuum settings that matter in production.

PostgreSQL12 minJul 12, 2022
Read

Data Types and Constraints Selection for Scalable Database Schemas

Optimize database performance by choosing the right data types and constraints. Learn about VARCHAR vs TEXT, INT sizes, ENUM optimization, and constraint best practices.

13 minJul 5, 2022
Read

Top 10 MySQL Configuration Mistakes That Kill Performance

Avoid these common MySQL configuration mistakes that cripple performance. Learn proper buffer pool sizing, connection limits, and InnoDB settings for production workloads.

MySQL3 minJun 21, 2022
Read

PostgreSQL VACUUM Tuning: A Comprehensive Guide

Master PostgreSQL VACUUM and autovacuum configuration for optimal database health. Learn dead tuple management, bloat prevention, and vacuum optimization strategies.

PostgreSQL6 minJun 7, 2022
Read

MySQL Performance Optimization for AWS RDS

A comprehensive guide to optimizing AWS RDS MySQL performance through infrastructure tuning, parameter configuration, and query optimization

MySQL16 minMay 10, 2022
Read

ProxySQL Read/Write Splitting for MySQL Replication: Complete Setup Guide

ProxySQL's read/write splitting routes SELECT queries to replicas and writes to the primary automatically — but getting the configuration right requires understanding hostgroups, query rules, and lag-aware routing.

MySQL9 minFeb 20, 2022
Read

Monitoring MySQL Using ProxySQL: Query Stats, Connection Metrics, and Alerting

ProxySQL maintains a rich internal stats schema that most teams never fully explore. Here's how to use ProxySQL's built-in monitoring to track query latency, backend health, and connection pool utilization.

MySQL8 minJan 30, 2022
Read

PgPool-II for PostgreSQL: Installation, Configuration, and Connection Pooling

PgPool-II provides connection pooling, read/write splitting, and automatic failover for PostgreSQL — but its extensive configuration can be overwhelming. Here's a practical guide to getting PgPool-II running in production.

PostgreSQL15 minJan 20, 2022
Read

Battle of Memory Allocators: A Deep Dive

Discover how jemalloc, tcmalloc, and mimalloc can dramatically improve MySQL memory management. Real benchmarks showing 2-4x performance improvements and memory leak prevention.

10 minJan 18, 2022
Read
Newsletter

Get the latest database insights and expert tips delivered to your inbox.

Stay Connected

Subscribe to our RSS feed for instant updates.

RSS Feed