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(136)Database Performance(63)MySQL(52)PostgreSQL(44)Database Engineering(40)Database SRE(34)Cloud Databases(29)Analytics & OLAP(16)NoSQL Databases(44)Database Architecture(25)High Availability(19)

PostgreSQL Articles

← Clear filter

Showing 12 of 136 articles

Database Connection Pool Sizing: The Formula, the Variables, and the Common Mistakes
Database Performance

Database Connection Pool Sizing: The Formula, the Variables, and the Common Mistakes

How to size your database connection pool correctly — the HikariCP formula, the variables that determine optimal pool size, and the mistakes that cause connection exhaustion or underutilization.

8/7/2023
9 min
119
Performance
PostgreSQL
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
137
PostgreSQL
Optimization
Read
UUIDs as Primary Keys: How We Destroyed Database Performance
Database Engineering

UUIDs as Primary Keys: How We Destroyed Database Performance

UUIDs as primary keys can destroy database performance. Learn why 50M rows went from 0.5ms to 2.3ms inserts, and how to fix it with hybrid approaches.

6/6/2023
10 min
279
Performance
PostgreSQL
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
123
Performance
PostgreSQL
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
90
PostgreSQL
Optimization
Read
PostgreSQL Row Level Security (RLS): Multi-Tenant Access Control in Practice
Database Engineering

PostgreSQL Row Level Security (RLS): Multi-Tenant Access Control in Practice

A production guide to PostgreSQL Row Level Security — policy creation, USING vs WITH CHECK clauses, performance implications with indexes, and multi-tenant SaaS patterns with real schema examples.

5/8/2023
11 min
147
PostgreSQL
Schema Design
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
94
Performance
PostgreSQL
Read
Mastering AWS RDS Max Connections for MySQL & PostgreSQL
Cloud Databases

Mastering AWS RDS Max Connections for MySQL & PostgreSQL

Master AWS RDS connection limits for MySQL and PostgreSQL. Learn max_connections calculation, connection pooling strategies, and optimization techniques.

4/11/2023
15 min
768
PostgreSQL
RDS
Read
Debezium and Change Data Capture: Stream MySQL and PostgreSQL to Kafka
Database Engineering

Debezium and Change Data Capture: Stream MySQL and PostgreSQL to Kafka

Debezium reads MySQL binary logs and PostgreSQL WAL to stream every row-level change as a Kafka event in near real-time — replacing nightly batch ETL with sub-second data propagation.

4/3/2023
11 min
139
PostgreSQL
Architecture
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
112
PostgreSQL
Optimization
Read
Citus: Distributed PostgreSQL for Multi-Tenant and Analytics Workloads
Database Architecture

Citus: Distributed PostgreSQL for Multi-Tenant and Analytics Workloads

A production guide to Citus — distributed PostgreSQL for horizontal sharding. Hypertable setup, distribution column selection, colocation for local joins, reference tables, and Citus vs native PostgreSQL partitioning.

3/22/2023
12 min
92
PostgreSQL
Architecture
Read
PostgreSQL Table Partitioning with pg_partman: Complete Guide
Database Performance

PostgreSQL Table Partitioning with pg_partman: Complete Guide

pg_partman automates PostgreSQL partition lifecycle. This guide covers create_parent(), retention policies, partition pruning, and migrating existing tables without downtime.

3/21/2023
10 min
86
Performance
PostgreSQL
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
PostgreSQL
MySQL
Optimization
Performance
High Availability
Monitoring
Scaling
Replication
Architecture
NoSQL
Stay Connected

Subscribe to our RSS feed for instant updates.

RSS Feed