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.

50 canonical articlesBrowse the complete archive

Popular Searches

Monitoring Articles

← Clear filter

Showing 12 of 50 articles

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

PostgreSQL12 minJan 1, 2026
Read

PostgreSQL WAL File Retention: Understanding wal_keep_size and Replication Slots

PostgreSQL WAL retention is a balancing act — too little and standbys fall behind; too much and you risk disk exhaustion. Here's how to configure wal_keep_size and manage replication slots safely.

PostgreSQL9 minDec 20, 2025
Read

Reduce MySQL RDS Audit Log Costs: Export to S3 and Cut Your AWS Bill

RDS MySQL audit logs stored in CloudWatch cost significantly more than S3 — and most teams don't need real-time log access. Here's how to export audit logs to S3 and cut your AWS bill.

MySQL8 minDec 11, 2025
Read

The 2026 Database Apocalypse: Why Your Database Might Explode (And How to Save It)

In 2026, more database versions are hitting end-of-life than any year in recent history.

8 minNov 18, 2025
Read

PostgreSQL Extensions Guide: pg_stat_statements, pg_trgm, pg_cron, and More

Survey essential PostgreSQL extensions: pg_stat_statements for query analysis, pg_trgm for fuzzy search, pg_cron for scheduled jobs, pg_buffercache for cache inspection.

PostgreSQL1 minNov 6, 2025
Read

MySQL 8.4 Audit Log Filter: Selective Logging for Compliance

MySQL 8.4's audit log filter system lets you capture exactly the events your compliance framework requires — filtering by user, schema, event class, and severity to reduce audit log volume.

MySQL8 minOct 13, 2025
Read

PostgreSQL Database Hardening: A Security Best Practices Guide

A practical guide to hardening PostgreSQL: configure SSL/TLS, tighten pg_hba.conf, implement least-privilege roles, enable row-level security, and set up audit logging.

PostgreSQL10 minOct 6, 2025
Read

Mastering PostgreSQL Log Management: Configuration, Analysis, and Alerting

PostgreSQL's logging system is powerful but requires careful configuration to be useful in production. Learn how to capture slow queries, connection events, and DDL changes without drowning in noise.

PostgreSQL9 minSep 26, 2025
Read

Database Observability: Metrics, Logs, Traces, and Prometheus Alerting

Build a complete database observability stack with Prometheus metrics, slow query logs, and OpenTelemetry distributed traces. Includes alert rules for replication lag and cache hit rate.

PostgreSQL8 minSep 10, 2025
Read

sysbench MySQL Benchmarking: OLTP Workloads and Performance Baselines

Benchmark MySQL with sysbench OLTP workloads. Covers setup, read/write and read-only suites, interpreting TPS and 95th percentile latency, and comparing before/after changes.

MySQL1 minAug 13, 2025
Read

pgbench: PostgreSQL Benchmarking for Configuration Validation

Use pgbench to benchmark PostgreSQL before and after configuration changes. Covers scale factor selection, TPC-B and read-only workloads, custom SQL scripts, and latency percentiles.

PostgreSQL1 minAug 11, 2025
Read

ETL Pipeline Monitoring: Freshness Checks, Row Reconciliation, and dbt Tests

Monitor ETL pipelines with data freshness checks, row count reconciliation, dbt data quality tests, and Slack alerting. Detect silent failures before users do.

5 minJul 11, 2025
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