PostgreSQL
15 articles tagged PostgreSQL.
pg_pinecone vs pgvector: Open-Source Vector Search in Postgres Compared
What pg_pinecone is, how its native index differs from pgvector HNSW, what Pinecone's own benchmarks show, and how to test it on your data before you switch.
ManageEngine PAM360 High Availability: Architecture, Setup Steps and Port Requirements
Choose the right PAM360 high availability model, follow the documented PostgreSQL and SQL Server setup steps, open the correct ports and confirm in the console that HA is alive.
SQL Server vs PostgreSQL: Licensing and Cost for a Small Company
Compare SQL Server Standard and Express licensing with free PostgreSQL for a new line-of-business app: license models, core minimums, Express limits and a cost worksheet.
MySQL vs PostgreSQL: Which Database Should You Choose for a New App?
Compare MySQL and PostgreSQL on licensing, release and support policy, JSON handling, storage engine and operations so you can pick the right database for a new application.
PostgreSQL EXPLAIN ANALYZE: How to Read Query Plans and Fix Slow SQL
Read a PostgreSQL execution plan node by node, compare estimated and actual rows, spot sequential scans, spilling sorts and loops, and choose the right fix.
Idempotent API Design: Keys, Storage and Retention for Payment-Style Calls
Design POST endpoints that clients can safely retry: the Idempotency-Key header, a PostgreSQL key table, request fingerprints, concurrent retries, status codes and how long to keep keys.
PgBouncer Setup: Connection Pooling Modes and Config for PostgreSQL
Install and configure PgBouncer for PostgreSQL, choose between session, transaction and statement pooling, size the pools, and monitor them from the admin console.
pgvector on PostgreSQL: Setup, HNSW vs IVFFlat and Tuning
Set up pgvector on PostgreSQL, create HNSW and IVFFlat indexes, choose between them, tune ef_search and probes, fix filtered queries and confirm index use.
Self-Host n8n with Docker: Setup, Persistence and Updates
Run n8n on a Linux server with Docker Compose, Traefik for HTTPS, PostgreSQL for the database and persistent volumes, and learn how to update it safely.
Transactional Outbox Pattern: Publish Events Reliably from a Database
Stop losing events between your database and message broker. Implement the transactional outbox with PostgreSQL and Azure Service Bus: outbox table, polling relay, SKIP LOCKED and idempotent consumers.
Fix PostgreSQL 'sorry, too many clients already' with Limits and Pooling
Find what is holding PostgreSQL connections, free slots safely, cap roles and databases, add PgBouncer pooling and size max_connections, including Azure Database for PostgreSQL.
PostgreSQL Autovacuum Tuning: Fix Table Bloat and XID Wraparound Risk
Measure bloat and transaction ID age, remove what blocks vacuum, and tune autovacuum thresholds, cost limits and per-table settings so large, busy PostgreSQL tables stay healthy.
PostgreSQL Backups with pgBackRest: Full, Differential and PITR Restore
Set up pgBackRest for PostgreSQL on Linux: WAL archiving, encrypted repositories, full and differential schedules, retention, an Azure Blob copy, and point-in-time recovery you have actually tested.
PostgreSQL Logical Replication: Set Up, Monitor and Fix Slot Errors
Configure PostgreSQL logical replication with publications and subscriptions, monitor slots and apply workers, and resolve conflicts, WAL build-up and invalidated slots.
PostgreSQL High Availability: A Production Manual for Patroni, etcd v3, HAProxy and PgBouncer
How to build a PostgreSQL HA cluster with automatic failover and synchronous replication using Patroni, an etcd DCS, HAProxy health-check routing and PgBouncer connection pooling.