All topics and tags

PostgreSQL

15 articles tagged PostgreSQL.

  1. 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.

    Databases & HA11 min read
  2. 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.

  3. 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.

    Databases & HA10 min read
  4. 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.

    Databases & HA8 min read
  5. 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.

    Databases & HA12 min read
  6. 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.

    Architecture9 min read
  7. 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.

    Databases & HA9 min read
  8. 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.

    AI engineering9 min read
  9. 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.

    AI & automation8 min read
  10. 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.

    Architecture9 min read
  11. 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.

    Databases & HA14 min read
  12. 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.

    Databases & HA12 min read
  13. 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.

    Databases & HA13 min read
  14. 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.

    Databases & HA13 min read
  15. 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.

    Databases & HA9 min read