⭐ SuperAllen
Home Posts Tags About

🏷️ database

15 posts

July 20, 2022

PostgreSQL Performance Tuning - From 500ms to 20ms Queries

Practical PostgreSQL performance tuning techniques that reduced query times from 500ms to 20ms, including indexing strategies, query optimization, and configuration tuning.

May 30, 2022

MongoDB Schema Design Patterns for High Performance

MongoDB schema design patterns and anti-patterns learned from managing a 500GB database with 100M+ documents.

September 15, 2021

MongoDB Aggregation Pipeline - Complex Queries Made Simple

Mastering MongoDB aggregation pipeline for complex data transformations, analytics, and reporting with real-world examples.

March 12, 2021

PostgreSQL JSON Performance - Optimizing JSONB Queries

Optimizing PostgreSQL JSONB queries from 2 seconds to 50ms using indexes, query planning, and schema design.

November 25, 2020

MongoDB Aggregation Pipeline: Complex Queries Made Simple

Optimized MongoDB queries with aggregation pipeline - query time 30s → 2s (93% faster), complex analytics now possible

October 5, 2020

PostgreSQL 13: Performance Improvements That Matter

Upgraded to PostgreSQL 13 - B-tree deduplication, parallel vacuum, incremental sort. Query performance improved by 40%, vacuum 2x faster

May 15, 2020

Redis 6.0: ACL Security and SSL/TLS Support

Upgraded to Redis 6.0 - implemented ACL for multi-tenant security, SSL/TLS encryption. Eliminated security vulnerabilities, zero breaches

February 20, 2020

MySQL 8.0 Performance Tuning: From 1K to 10K QPS

Optimized MySQL 8.0 with new features - query performance 10x, instant DDL, invisible indexes. QPS 1K → 10K

August 30, 2019

Zero-Downtime Database Migrations: Strategies for Production Systems

Migrating databases without downtime - backward-compatible changes, dual-write pattern, and migrating 500GB database with zero user impact

June 10, 2018

Kubernetes Persistent Volumes: Stateful Applications Done Right

Managing persistent storage in Kubernetes - PV, PVC, StorageClass, dynamic provisioning, and running databases in production

March 28, 2018

PostgreSQL Backup and Recovery: Lessons from a 3AM Data Loss Incident

Implementing robust PostgreSQL backup strategies - pg_dump, pg_basebackup, PITR, and the disaster recovery plan that saved our business

March 22, 2017

MySQL Master-Slave Replication: High Availability Setup

Setting up MySQL replication for read scaling and failover - master-slave configuration, monitoring lag, and handling failures

December 10, 2016

Redis Persistence: RDB vs AOF in Production

Choosing the right Redis persistence strategy - RDB snapshots, AOF logs, and hybrid approach for our caching layer

November 7, 2016

PostgreSQL Query Optimization: From 5s to 50ms

How I optimized slow database queries using indexes, query analysis, and caching strategies

June 15, 2016

PostgreSQL Index Optimization: From 12s to 80ms

Optimizing slow queries with proper indexing strategies - B-tree, partial indexes, and covering indexes in production

← View all tags

© 2025 SuperAllen. All rights reserved.