JusDB

JusDB

Uncompromised database reliability engineered by experts. Trusted by startups to enterprises worldwide.

Services

  • Remote DBA
  • Database SRE
  • Performance Tuning
  • Security Audits
  • All Services

Company

  • About Us
  • Careers
  • Contact
  • Blog

Community

Join database engineers sharing tips, troubleshooting, and best practices.

Join Slack

Contact

  • contact@jusdb.com
  • +91-9994791055
  • Trichy, Tamil Nadu, India

© 2026 JusDB, Inc. All rights reserved.

Privacy PolicyTerms of UseCookies PolicySecurity
  1. Home
  2. Blog
Expert Database Knowledge

Database Insights

Expert insights on database management, performance optimization, and reliability engineering from industry professionals

Popular Searches

Topics:
All Articles(59)Database Performance(40)MySQL(25)PostgreSQL(12)Database Engineering(31)Database SRE(24)Cloud Databases(20)Analytics & OLAP(9)NoSQL Databases(30)Database Architecture(18)High Availability(8)

Optimization Articles

← Clear filter

Showing 12 of 59 articles

Demystifying MySQL EXPLAIN FORMAT=TREE: Read Query Plans Like a DBA
Database Performance

Demystifying MySQL EXPLAIN FORMAT=TREE: Read Query Plans Like a DBA

MySQL 8.0 introduced EXPLAIN FORMAT=TREE — a hierarchical, human-readable query plan format that reveals join order, access methods, and cost estimates in a way that the traditional tabular EXPLAIN cannot.

7/27/2023
9 min
1
MySQL
Performance
Read
S
Database SRE

SLO and SLA for Databases: A Practical Framework

Define meaningful SLOs and SLAs for your database tier — latency, availability, durability, and error budgets

7/18/2023
12 min
1
Monitoring
High Availability
Read
pg_stat_statements: Query Performance Analysis in PostgreSQL
Database Performance

pg_stat_statements: Query Performance Analysis in PostgreSQL

How to use pg_stat_statements to identify slow queries, analyze execution stats, and optimize PostgreSQL performance

7/5/2023
12 min
3
PostgreSQL
Performance
Read
Improving Query Performance with Multi-Valued Indexes in MySQL 8.0
Database Performance

Improving Query Performance with Multi-Valued Indexes in MySQL 8.0

MySQL 8.0 introduced multi-valued indexes — allowing you to index individual elements of a JSON array so queries using MEMBER OF or JSON_OVERLAPS can use an index.

6/30/2023
8 min
1
MySQL
Indexing
Read
Zero-Downtime Database Migrations: The Expand-Contract Pattern for MySQL and PostgreSQL
Database Engineering

Zero-Downtime Database Migrations: The Expand-Contract Pattern for MySQL and PostgreSQL

A production guide to zero-downtime database migrations — why ALTER TABLE causes downtime, the Expand-Contract pattern, safe migration patterns for PostgreSQL and MySQL, and tooling with Flyway, Liquibase, pt-osc, and gh-ost.

6/27/2023
14 min
3
Migration
MySQL
Read
MongoDB Aggregation Pipeline: Advanced Patterns and Performance
NoSQL Databases

MongoDB Aggregation Pipeline: Advanced Patterns and Performance

Master MongoDB aggregation pipeline stages — $lookup, $group, $facet, explain plans, and index optimization

6/20/2023
12 min
1
MongoDB
NoSQL
Read
Query Plan Regression: Detecting and Fixing Bad PostgreSQL Plans
Database Performance

Query Plan Regression: Detecting and Fixing Bad PostgreSQL Plans

Detect query plan regressions in PostgreSQL using auto_explain, pg_hint_plan, and plan baseline management

5/30/2023
12 min
PostgreSQL
Performance
Read
pg_upgrade: Major PostgreSQL Version Upgrades with Minimal Downtime
Database SRE

pg_upgrade: Major PostgreSQL Version Upgrades with Minimal Downtime

Use pg_upgrade to migrate between PostgreSQL major versions — upgrade strategies, pre-checks, and rollback plans

5/10/2023
11 min
1
PostgreSQL
Migration
Read
ProxySQL: The Complete Guide to MySQL Load Balancing and Connection Pooling
MySQL

ProxySQL: The Complete Guide to MySQL Load Balancing and Connection Pooling

ProxySQL pools thousands of application connections into a small backend pool, splits reads to replicas automatically, and lets you change routing without touching application code or restarting MySQL.

5/9/2023
10 min
2
MySQL
Performance
Read
PostgreSQL Index Bloat: Detection and Remediation
Database Performance

PostgreSQL Index Bloat: Detection and Remediation

Identify bloated indexes in PostgreSQL using pgstattuple, REINDEX CONCURRENTLY, and automated monitoring

4/11/2023
11 min
1
PostgreSQL
Indexing
Read
Security Invoker Views in PostgreSQL 15: Fixing a Long-Standing RLS Bypass
PostgreSQL

Security Invoker Views in PostgreSQL 15: Fixing a Long-Standing RLS Bypass

PostgreSQL views historically executed with the owner's privileges, bypassing row-level security policies. PostgreSQL 15 fixed this with security_invoker views — here's why it matters and how to use it in multi-tenant schemas.

3/29/2023
8 min
1
PostgreSQL
Optimization
Read
PostgreSQL Checkpoint and WAL Tuning for High Throughput
Database Performance

PostgreSQL Checkpoint and WAL Tuning for High Throughput

Tune PostgreSQL checkpoint frequency, WAL segment size, and bgwriter to maximize write throughput

3/14/2023
11 min
PostgreSQL
Performance
Read
Previous
12345
Next
Search
Newsletter

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

Categories
Database PerformanceMySQLPostgreSQLDatabase EngineeringDatabase SRECloud DatabasesAnalytics & OLAPNoSQL DatabasesDatabase ArchitectureHigh Availability
Popular Tags
MySQL
Performance
PostgreSQL
Optimization
Architecture
Scaling
Monitoring
Replication
Open Source
NoSQL
Stay Connected

Subscribe to our RSS feed for instant updates.

RSS Feed