---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?per=96&tag=postgres"
---

# Posts

Filtered by topics: PostgreSQL.

Posts 1–96 of 627, page 1 of 7, newest first.

## 2026-11-28

- [The Postgres mistakes we all still make](https://swe.quest/articles/the-postgres-mistakes-we-all-still-make-63314d194ac77b85.md): Neon · 2026-11-28 · Medium · 15 min read · PostgreSQL, Performance engineering, Databases
  Five common Postgres mistakes all eventually show up as connection pressure: opening a connection per request, appending to JSONB columns, holding transactions open across external API calls, nightly bulk DELETEs, and unused indexes.

## 2026-11-25

- [Hints and hazards: pg\_plan\_advice in PG19](https://swe.quest/articles/hints-and-hazards-pg-plan-advice-in-pg19-94b7939260d49157.md): ClickHouse · 2026-11-25 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, SQL
  Postgres 19 adds two contrib modules for query hints: pg\_plan\_advice, which applies advice per session via SET, and pg\_stash\_advice, which attaches advice to specific query identifiers.
- [Rethinking read replicas for the lakebase architecture](https://swe.quest/articles/rethinking-read-replicas-for-the-lakebase-architecture-35eaea5162536008.md): Neon · 2026-11-25 · Medium · 15 min read · PostgreSQL, Replication, Storage engines, Cloud platforms, Cost optimization
  Lakebase Postgres implements read replicas as additional read-only computes attached to the same disaggregated storage as the primary, rather than as physical clones with their own volumes.
- [Every app needs an MCP server, and you can build it with Neon](https://swe.quest/articles/every-app-needs-an-mcp-server-and-you-can-build-it-with-neon-1a5ce4eab0583eca.md): Neon · 2026-11-25 · Easy · 11 min read · AI agents, Identity & auth, Serverless, PostgreSQL
  An MCP server lets users drive an app from AI assistants like ChatGPT, Claude and Cursor through tools the app defines, which keeps authorization and validation in app code instead of exposing the UI or raw database access.
- [One Postgres, a database per user, or both?](https://swe.quest/articles/one-postgres-a-database-per-user-or-both-3df8849f282fa457.md): Turso · 2026-11-25 · Easy · 10 min read · Multi-tenancy, Local-first & sync, System design, SQLite, PostgreSQL
  Choosing between one Postgres database, a Turso database per user, or both comes down to where data must live, who owns it, and how many features need to read across users.

## 2026-11-24

- [Durable and auditable workflows with DBOS and ClickHouse Managed Postgres](https://swe.quest/articles/durable-and-auditable-workflows-with-dbos-and-clickhouse-managed-postgres-84b2cf91df44a544.md): ClickHouse · 2026-11-24 · Medium · 6 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Scheduling, Python
  DBOS, an open-source Postgres-native durable execution library, stores workflow and step checkpoints, queues and schedules in Postgres so crashed processes resume from the last completed step without a separate orchestrator.
- [The side quest that freed 10% of our database](https://swe.quest/articles/the-side-quest-that-freed-10-of-our-database-649662623bb94a1e.md): incident.io · 2026-11-24 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, SQL
  A single lateral-join query answering "who's on call for this rotation layer right now" consumed 34% of incident.io's Postgres replica CPU.
- [PostgreSQL 19 on ClickHouse Managed Postgres, from day one](https://swe.quest/articles/postgresql-19-on-clickhouse-managed-postgres-from-day-one-f842fb2eaa8035d3.md): ClickHouse · 2026-11-24 · Medium · 12 min read · PostgreSQL, Replication, Deployment, Databases
  PostgreSQL 19 has been generally available on ClickHouse Managed Postgres since its November 2026 release day.

## 2026-11-23

- [Tracing Cache Inconsistencies to Their Root Cause](https://swe.quest/articles/tracing-cache-inconsistencies-to-their-root-cause-0cc21b10b814cb9e.md): Nextdoor Engineering · 2026-11-23 · Medium · 7 min read · Caching, Consistency models, Observability, PostgreSQL, Debugging
  Nextdoor extended its versioned Valkey ORM cache so every conditional write also atomically stores a short-lived verification key (receipt) recording the operation (fill\_on\_write or fill\_on\_miss), writer service, trace ID and replaced version, colocated via a hash tag in the same cluster slot.
- [Add files to your branches](https://swe.quest/articles/add-files-to-your-branches-c605b42373f4bac8.md): Neon · 2026-11-23 · Medium · 6 min read · Storage systems, Serverless, PostgreSQL, Cloud platforms
  Neon Object Storage is an S3-compatible store whose buckets belong to database branches: child branches inherit buckets and objects via the same copy-on-write model as Neon Postgres, so previews get isolated, unbilled-until-diverged copies of production files.
- [Why you shouldn't do application-level sharding](https://swe.quest/articles/why-you-shouldn-t-do-application-level-sharding-4fe6249c12df9221.md): PlanetScale · 2026-11-23 · Medium · 21 min read · Distributed databases, Scaling, Consistency models, Schema migrations, PostgreSQL
  Application-level sharding of an OLTP database looks simple on day one (a \`shard\_for(user\_id % N)\` function) but accumulates serious engineering burdens as a system grows.

## 2026-11-19

- [What's new in clickhousectl v0.6.0](https://swe.quest/articles/what-s-new-in-clickhousectl-v0-6-0-b37bf0a4f688f37d.md): ClickHouse · 2026-11-19 · Medium · 21 min read · Developer tools, Databases, Cloud platforms, PostgreSQL
  clickhousectl v0.6.0 makes local projects work like Git: any directory containing \`.clickhouse/\` is a project root discovered from subdirectories, \`CLICKHOUSECTL\_PROJECT\_DIR\` pins the root, and layered \`config.d\` directories let teams check server config into the repo.
- [The Neon Terraform provider is now official](https://swe.quest/articles/the-neon-terraform-provider-is-now-official-4ae08277dc5bc338.md): Neon · 2026-11-19 · Medium · 8 min read · Infrastructure as code, PostgreSQL, Open source
  Neon has adopted the community kislerdm/neon Terraform provider as its official neondatabase/neon provider, now in beta (v0.19.0-beta.4) with v1 expected within weeks.
- [pg\_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown](https://swe.quest/articles/pg-clickhouse-0-11-1-now-with-pgvector-update-delete-pushdown-a96a06584d05c765.md): ClickHouse · 2026-11-19 · Medium · 7 min read · PostgreSQL, Analytics & OLAP, Vector search, Query engines
  pg\_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns.
- [Postgres 19 is out: try it on Neon](https://swe.quest/articles/postgres-19-is-out-try-it-on-neon-e6c41c3a4f2e92c9.md): Neon · 2026-11-19 · Medium · 12 min read · PostgreSQL, Replication, Query engines, Databases
  Postgres 19 is an operations-focused release that adds REPACK (CONCURRENTLY) for online table rebuilding and clustering via logical decoding, pg\_plan\_advice/pg\_stash\_advice for stabilizing bad plans by query ID, parallel autovacuum with priority scoring, WAIT FOR LSN for read-your-writes on replicas, and logical replication sequence sync.
- [Query your WorkOS users in Neon with the WorkOS Sync Engine](https://swe.quest/articles/query-your-workos-users-in-neon-with-the-workos-sync-engine-384d596099bd77f1.md): Neon · 2026-11-19 · Medium · 7 min read · PostgreSQL, Identity & auth, Data pipelines, Serverless
  WorkOS Sync Engine, open-sourced by WorkOS, mirrors WorkOS identity data (users, organizations, memberships, sessions, auth attempts, events) into a workos schema in Postgres.

## 2026-11-18

- [How to Give Millions of Workflows Quality Sleep](https://swe.quest/articles/how-to-give-millions-of-workflows-quality-sleep-805d64c372b7c24e.md): DBOS · 2026-11-18 · Medium · 4 min read · Scheduling, PostgreSQL, Python
  DBOS workflow suspension lets a durable workflow that is sleeping or waiting for a notification (via \`suspend=True\` on \`DBOS.recv\` or \`DBOS.sleep\`) mark itself SUSPENDED in its database row, record a delay deadline and suspend key, and exit via a special exception, so it holds no thread, memory or queue slot.

## 2026-11-17

- [More load is faster: Tuning Postgres read replicas](https://swe.quest/articles/more-load-is-faster-tuning-postgres-read-replicas-edfe2bbdc0de0a5f.md): ClickHouse · 2026-11-17 · Hard · 9 min read · PostgreSQL, Replication, Performance engineering
  Postgres read replicas fed from archived WAL (rather than streaming replication) show a U-shaped lag curve: idle systems wait up to archive\_timeout (60s) for a 16MB segment to fill, while very high write rates make archive upload fall behind.

## 2026-11-16

- [The agent builds the app, the user claims the database: how Ideavo does it](https://swe.quest/articles/the-agent-builds-the-app-the-user-claims-the-database-how-ideavo-does-it-49c4f0cffa489edd.md): Neon · 2026-11-16 · Easy · 4 min read · PostgreSQL, AI agents, Multi-tenancy, Cloud platforms
  Ideavo, a bring-your-own-key AI app builder, has its agent provision a separate Neon Postgres project for every generated app through the Neon API.
- [How Infinitas Learning uses ClickHouse Managed Postgres to process billions of events for 1.6M unique learners](https://swe.quest/articles/how-infinitas-learning-uses-clickhouse-managed-postgres-to-process-billions-of-eb20c949118daba4.md): ClickHouse · 2026-11-16 · Medium · 9 min read · Analytics & OLAP, PostgreSQL, Performance engineering, Caching, Databases
  Infinitas Learning runs transactional learner-result processing on Postgres, with PL/pgSQL functions serving as the API in place of an earlier Kafka/Flink event-sourced pipeline, and customer-facing analytics on ClickHouse.

## 2026-11-12

- [Mubit + Neon AI Gateway: an agent that cuts its own frontier-model tokens by 73%](https://swe.quest/articles/mubit-neon-ai-gateway-an-agent-that-cuts-its-own-frontier-model-tokens-by-73-358da1147275d399.md): Neon · 2026-11-12 · Medium · 10 min read · AI agents, LLMs, Cost optimization, Inference & serving, PostgreSQL
  Mubit, a proxy placed in front of Neon AI Gateway, records an agent's model calls, groups recurring calls into tasks, and fine-tunes a small open-weight model once a task has at least 25 good replies.
- [A database per agent: how Turso and Neon give different answers](https://swe.quest/articles/a-database-per-agent-how-turso-and-neon-give-different-answers-05d4b7fddc0c2ee5.md): Turso · 2026-11-12 · Easy · 10 min read · Multi-tenancy, Databases, AI agents, SQLite, PostgreSQL
  Neon and Turso both support a database per agent but differ in the unit: Neon gives each agent a Postgres project with its own autoscaling compute that suspends after 5 minutes idle and is billed by CU-hour, while Turso treats each SQLite-compatible database as a file managed by a shared server, billed by rows read/written and storage with unlimited databases on paid plans.

## 2026-11-11

- [How we migrate TBs from Heroku without logical replication](https://swe.quest/articles/how-we-migrate-tbs-from-heroku-without-logical-replication-e0568c616a878849.md): PlanetScale · 2026-11-11 · Medium · 12 min read · PostgreSQL, Schema migrations, Replication, Networking
  PlanetScale's open-source Heroku Migrator moves multi-terabyte Postgres databases off Heroku standard plans, which lack WAL access and logical replication, by using Bucardo trigger-based replication: triggers record changes in delta tables, a one-time COPY loads existing data, and a worker replays the backlog before a controlled switchover with verification.

## 2026-11-09

- [Eventually Consistent: How Do We Know the Systems Eventually Agree?](https://swe.quest/articles/eventually-consistent-how-do-we-know-the-systems-eventually-agree-446e4800453d4b35.md): Kogan.com Dev Blog · 2026-11-09 · Medium · 9 min read · Event-driven architecture, Consistency models, Resilience, PostgreSQL, E-commerce
  Eventually consistent event-driven order systems need a reconciliation job that starts from the authoritative order store, not from received messages, so orders whose events were lost (like a fraud-hold release that never reached SAP) still surface.
- [How a broken release name overloaded our symbolication database](https://swe.quest/articles/how-a-broken-release-name-overloaded-our-symbolication-database-a58ed5f9f475f6d7.md): Sentry · 2026-11-09 · Medium · 7 min read · PostgreSQL, Performance engineering, Incidents & postmortems, Resilience, Debugging
  A handful of customer releases with unexpanded names like \`VERCEL\_GIT\_COMMIT\_SHA\` accumulated tens of millions of URL index rows in Sentry's Postgres 14 files database, and an unbounded source-map URL lookup kept scanning them, timing out and being retried.

## 2026-11-06

- [What I learned from a month with WalShadow on ClickHouse Managed Postgres](https://swe.quest/articles/what-i-learned-from-a-month-with-walshadow-on-clickhouse-managed-postgres-89e5a8963b72573d.md): ClickHouse · 2026-11-06 · Medium · 16 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow, which decodes physical Postgres WAL outside the database and writes blocks directly to ClickHouse, held median replication latency near 0.4 s from 1 to 200,000 rows/s on a 16 vCPU source.

## 2026-11-05

- [Managed Postgres on Railway](https://swe.quest/articles/managed-postgres-on-railway-38376e6923686bbc.md): Railway · 2026-11-05 · Medium · 9 min read · PostgreSQL, Replication, Cloud platforms, AI agents
  Railway's managed Postgres now covers the full database lifecycle: private-by-default services with reference-variable credentials, usage-billed vertical scaling, live volume resizing, and one-click PgBouncer pooling with a separate unpooled URL for migrations.
- [Lakebase Postgres is built on object storage, but 99.99999% of reads never touch it](https://swe.quest/articles/lakebase-postgres-is-built-on-object-storage-but-99-99999-of-reads-never-touch-66e3f7227042e0f9.md): Neon · 2026-11-05 · Medium · 7 min read · PostgreSQL, Storage engines, Caching, Storage systems, Performance engineering
  Lakebase Postgres stores durable history in object storage but keeps it off the read path through tiered caching.
- [Designing a reliable unplanned failover](https://swe.quest/articles/designing-a-reliable-unplanned-failover-ab0dd731f569d08c.md): PlanetScale · 2026-11-05 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Distributed systems, Distributed databases
  Neki, PlanetScale's Postgres sharding system, declares a primary dead only when its control plane (Admin) cannot reach it and at least one reachable replica reports broken replication with none contradicting.

## 2026-11-04

- [Inside a Kylon room, where people and agents build apps on Neon](https://swe.quest/articles/inside-a-kylon-room-where-people-and-agents-build-apps-on-neon-7c02cd9384e86f37.md): Neon · 2026-11-04 · Easy · 5 min read · PostgreSQL, AI agents, Multi-tenancy, Serverless, Schema migrations
  Kylon, a shared workspace where teams and AI agents build internal apps like CRMs and invoice trackers, maps its product directly onto Neon resources: one Neon project per workspace, one database per app, and one branch per draft.
- [Fencing a Postgres primary that might still be alive](https://swe.quest/articles/fencing-a-postgres-primary-that-might-still-be-alive-67043bdd5aea0f6c.md): ClickHouse · 2026-11-04 · Hard · 10 min read · PostgreSQL, Replication, Resilience, Networking, Cloud platforms
  Before promoting a standby, a managed Postgres control plane must fence the old primary, because promotion and DNS changes alone don't stop writes: async standbys, per-session synchronous\_commit overrides, quorum commit with a remaining standby, and canceled commits already in WAL can all let a still-alive primary accept writes.

## 2026-11-03

- [Does your application need local data or faster Postgres?](https://swe.quest/articles/does-your-application-need-local-data-or-faster-postgres-dc8690cbad1e3fc9.md): ClickHouse · 2026-11-03 · Easy · 9 min read · PostgreSQL, Local-first & sync, System design, Replication, AI agents
  Before adding a sync engine or local data copy to speed up an application, check whether the real bottleneck is network-attached storage under managed Postgres.
- [Finding performance wins in our own traces with a coding agent](https://swe.quest/articles/finding-performance-wins-in-our-own-traces-with-a-coding-agent-884170e809905d07.md): Sentry · 2026-11-03 · Medium · 6 min read · Performance engineering, PostgreSQL, AI for coding, Observability, Python
  Pairing a coding agent with the Sentry MCP over Sentry's own production traces surfaced dozens of small backend fixes that together removed hundreds of millions of queries a week.

## 2026-11-02

- [Managed Better Auth is now an OAuth provider, with MCP support](https://swe.quest/articles/managed-better-auth-is-now-an-oauth-provider-with-mcp-support-613f00a7521407ac.md): Neon · 2026-11-02 · Medium · 5 min read · Identity & auth, AI agents, PostgreSQL
  Neon's Managed Better Auth now supports the OAuth Provider plugin, turning an auth instance into an OAuth 2.1 authorization server that both companion apps and MCP clients can use to sign users in.

## 2026-10-30

- [Introducing DBArena: open, reproducible benchmarks for hosted Postgres](https://swe.quest/articles/introducing-dbarena-open-reproducible-benchmarks-for-hosted-postgres-fcea976f1f3d4cee.md): Supabase · 2026-10-30 · Medium · 4 min read · PostgreSQL, Performance engineering, Cloud platforms, Cost optimization
  DBArena publishes open, reproducible benchmarks of hosted Postgres, starting with Supabase Postgres (heap and OrioleDB), Amazon RDS and Google Cloud SQL across up to seven vCPU-matched tiers on Postgres 17 with default configs.

## 2026-10-29

- [What's New in DBOS - October 2026](https://swe.quest/articles/what-s-new-in-dbos-october-2026-0574d68e693cec1d.md): DBOS · 2026-10-29 · Medium · 5 min read · Distributed systems, PostgreSQL, Scaling, Deployment, Scheduling
  DBOS Transact adds workflow rewind to any step, which discards checkpoints from that step onward and re-executes while preserving the workflow ID.
- [Multigres private alpha: automatic failover for Supabase Postgres](https://swe.quest/articles/multigres-private-alpha-automatic-failover-for-supabase-postgres-4c0bac5bc4b5d068.md): Supabase · 2026-10-29 · Easy · 4 min read · PostgreSQL, Replication, Consensus, Distributed databases
  Multigres, an open source Postgres cluster manager from the Vitess team, is now in private alpha on Supabase, running Postgres on three nodes across availability zones with automatic failover and built-in connection pooling behind a single connection string.
- [Designing a planned switchover for minimum disruption](https://swe.quest/articles/designing-a-planned-switchover-for-minimum-disruption-c09f9387b5a40465.md): PlanetScale · 2026-10-29 · Hard · 8 min read · PostgreSQL, Replication, Resilience, Deployment
  Neki performs planned Postgres primary switchovers without stopping the old primary.

## 2026-10-28

- [1M Durable Workflows per Second on Postgres](https://swe.quest/articles/1m-durable-workflows-per-second-on-postgres-8f041571c87c6775.md): DBOS · 2026-10-28 · Medium · 5 min read · PostgreSQL, Distributed databases, Scaling, Resilience, Queues & messaging
  Sharding Postgres with PgDog let DBOS durable workflow throughput scale linearly from 20K workflows/sec on one db.m7i.4xlarge RDS instance to 1M workflows/sec across 50 shards.
- [OrioleDB public beta: a Postgres storage engine for update-heavy tables](https://swe.quest/articles/orioledb-public-beta-a-postgres-storage-engine-for-update-heavy-tables-ae2bdb2a212d7827.md): Supabase · 2026-10-28 · Medium · 5 min read · PostgreSQL, Storage engines, Performance engineering
  OrioleDB, an open-source Postgres storage engine plugged in via the Table Access Method, is now in public beta on all Supabase plans.

## 2026-10-26

- [Building with Stripe Data Pipeline and the Neon backend](https://swe.quest/articles/building-with-stripe-data-pipeline-and-the-neon-backend-d3614e7e4b927058.md): Neon · 2026-10-26 · Medium · 11 min read · Payments & fintech, PostgreSQL, System design, Debugging, Serverless
  Stripe Data Pipeline's real-time sync streams Stripe objects into Postgres tables within seconds, which lets apps drop webhooks entirely: they write to Stripe's API and read charges, prices and promotion codes from synced stripe.\* tables.
- [Neon Docs search is now built on Neon](https://swe.quest/articles/neon-docs-search-is-now-built-on-neon-6358bcc8a0cf6214.md): Neon · 2026-10-26 · Medium · 6 min read · Search, PostgreSQL, Vector search, Caching, AI agents
  Neon's docs search now runs entirely on its own stack: Lakebase Postgres with the lakebase\_vector (pgvector-compatible ANN) and lakebase\_text (BM25) extensions, a Hono API on Neon Functions, and Neon AI Gateway for embeddings and reranking.

## 2026-10-23

- [How Shipsidekick replaced Neon with ClickHouse Managed Postgres for 10x faster queries and better reliability](https://swe.quest/articles/how-shipsidekick-replaced-neon-with-clickhouse-managed-postgres-for-10x-faster-4525525384ac6471.md): ClickHouse · 2026-10-23 · Medium · 8 min read · PostgreSQL, Databases, Performance engineering, Serverless
  Shipsidekick, a logistics platform built on Next.js and Vercel, moved its Postgres database from Neon to ClickHouse Managed Postgres after repeated outages.
- [Shard design doesn't start from your tables](https://swe.quest/articles/shard-design-doesn-t-start-from-your-tables-283c900085b220b2.md): PlanetScale · 2026-10-23 · Medium · 8 min read · Distributed databases, PostgreSQL, System design
  Neki's shard groups co-locate related Postgres tables by hashing a shared shard key (e.g. customer\_id via xxhash) into a 64-bit keyspace split across shards, so joins and transactions for one customer stay on a single shard with full Postgres semantics.

## 2026-10-22

- [Give your Supabase app its own MCP server](https://swe.quest/articles/give-your-supabase-app-its-own-mcp-server-db89f29412fb7983.md): Supabase · 2026-10-22 · Medium · 5 min read · AI agents, Identity & auth, PostgreSQL, Serverless, TypeScript
  Supabase apps can expose their own MCP server so customers use the app from ChatGPT, Claude or other MCP clients, signed in with their existing account.
- [Security Disclosure Recommendation: Rotate PostgreSQL Database Credentials](https://swe.quest/articles/security-disclosure-recommendation-rotate-postgresql-database-credentials-101ad2e32389050e.md): Railway · 2026-10-22 · Medium · 4 min read · PostgreSQL, Security, Identity & auth, Incidents & postmortems
  After Railway's October 21, 2026 security disclosure, PostgreSQL users on the Railway template should regenerate the database password from the Database View, which changes it inside PostgreSQL and updates POSTGRES\_PASSWORD and the variables that reference it in one step.

## 2026-10-21

- [Front-end observability at scale: How OpenReplay captures billions of daily events in real time with ClickHouse](https://swe.quest/articles/front-end-observability-at-scale-how-openreplay-captures-billions-of-daily-b210d948927bb0e9.md): ClickHouse · 2026-10-21 · Easy · 8 min read · Analytics & OLAP, Observability, Data pipelines, PostgreSQL, Scaling
  OpenReplay, a self-hosted session replay and product analytics platform, moved behavioral event storage from Postgres to ClickHouse.
- [I don't trust ON DELETE CASCADE](https://swe.quest/articles/i-don-t-trust-on-delete-cascade-44280f7ae72c78f6.md): PlanetScale · 2026-10-21 · Medium · 5 min read · PostgreSQL, Schema migrations, Replication, Databases
  Postgres ON DELETE CASCADE turns a single-row delete into an unbounded transaction that can cause outages at scale.

## 2026-10-20

- [Operate with confidence: check production with your coding agent](https://swe.quest/articles/operate-with-confidence-check-production-with-your-coding-agent-2d12eed022759488.md): Supabase · 2026-10-20 · Medium · 4 min read · AI agents, Observability, PostgreSQL, Developer tools
  Supabase now ships Agent prompts that let a coding agent (Claude, Codex, Cursor) check a production project on a schedule for error spikes, security findings, slow queries and resource growth, reporting only new or worsening issues with the measured value, threshold and a next step.

## 2026-10-15

- [Production Postgres on Railway: From First Deploy to High Availability](https://swe.quest/articles/production-postgres-on-railway-from-first-deploy-to-high-availability-70a3bcba84354fc9.md): Railway · 2026-10-15 · Medium · 13 min read · PostgreSQL, Replication, Resilience, Cloud platforms
  Railway Postgres can grow from a single private-networked database to a production setup with volume backups, point-in-time recovery, PgBouncer connection pooling and Patroni-based high availability, demonstrated with an orders API that uses idempotency keys so retries stay safe.
- [OLTP is expensive, you can ClickHouse it.](https://swe.quest/articles/oltp-is-expensive-you-can-clickhouse-it-cd5e8f20ed5b5b0f.md): ClickHouse · 2026-10-15 · Easy · 6 min read · PostgreSQL, Analytics & OLAP, Cost optimization, Storage engines, Event-driven architecture
  Data that has stopped changing doesn't need Postgres's ACID machinery, so it can be offloaded to ClickHouse for roughly an order of magnitude better unit economics.
- [Neon now has realtime](https://swe.quest/articles/neon-now-has-realtime-b9ed3cc150e396ae.md): Neon · 2026-10-15 · Medium · 10 min read · Real-time systems, PostgreSQL, TypeScript, React, AI for coding
  Neon Realtime, now in free public beta, turns any read-only deterministic SQL query (joins, aggregates, window functions, subqueries) into a live query whose result stays updated as data changes, running inside Postgres rather than as a separate realtime service.
- [Faster config, migrations and functions on branches](https://swe.quest/articles/faster-config-migrations-and-functions-on-branches-f64718202c9feaa6.md): Supabase · 2026-10-15 · Medium · 7 min read · PostgreSQL, Schema migrations, Deployment, CI/CD, Serverless
  Supabase preview branches are separate projects that become ready in about 20 seconds (median) by running three mostly parallel workflows: copying configuration, applying migrations, and deploying Edge Functions.

## 2026-10-14

- [A local Supabase project per agent, with or without Docker](https://swe.quest/articles/a-local-supabase-project-per-agent-with-or-without-docker-89115151e8d1be8b.md): Supabase · 2026-10-14 · Medium · 4 min read · Developer tools, AI agents, PostgreSQL, Containers, Developer productivity
  Supabase CLI v2.119.0 adds an experimental engine that runs multiple isolated local Supabase projects on one machine, one per git worktree, so parallel coding agents can each reset, migrate and test their own Postgres, Storage, Edge Functions and MCP server without colliding on ports.
- [How Ridgeline unified Iceberg and ClickHouse into one analytics layer for investment management](https://swe.quest/articles/how-ridgeline-unified-iceberg-and-clickhouse-into-one-analytics-layer-for-b655d34ec29d6b86.md): ClickHouse · 2026-10-14 · Easy · 8 min read · Analytics & OLAP, Data pipelines, PostgreSQL, Scaling
  Ridgeline, an all-in-one investment management platform, moved performance analytics off a shared Postgres cluster onto ClickHouse Cloud.
- [Sequences and other volatiles in Neki](https://swe.quest/articles/sequences-and-other-volatiles-in-neki-867c9857ecacbacb.md): PlanetScale · 2026-10-14 · Hard · 14 min read · Query engines, PostgreSQL, Distributed databases, SQL
  Neki, PlanetScale's sharded Postgres, implements Postgres sequences by classifying sequence operations like nextval() as router-only, with an authoritative shard hosting all sequences so values are never duplicated across shards.

## 2026-10-13

- [Postgres at Open House NYC](https://swe.quest/articles/postgres-at-open-house-nyc-5b2de1c38cc64f40.md): ClickHouse · 2026-10-13 · Easy · 6 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  ClickHouse used its Open House NYC keynote to launch WalShadow, an open-source engine that replicates Postgres into ClickHouse from the physical WAL instead of logical replication.
- [Declarative Schemas 2.0 with pg-delta](https://swe.quest/articles/declarative-schemas-2-0-with-pg-delta-0896bf8f6c8dbe4f.md): Supabase · 2026-10-13 · Medium · 11 min read · Schema migrations, PostgreSQL, Developer tools, Open source
  Supabase replaced migra with pg-delta, its own open-source Postgres diff engine, as the generator behind declarative schema migrations in the Supabase CLI. pg-delta loads schema files and migration history into two shadow databases, diffs them by reading the system catalog, and orders output with a catalog-derived dependency graph.
- [PlanetScale is now available on Azure](https://swe.quest/articles/planetscale-is-now-available-on-azure-bb9363c9d079640b.md): PlanetScale · 2026-10-13 · Medium · 3 min read · Cloud platforms, Kubernetes, Networking, PostgreSQL
  PlanetScale Postgres and Neki databases can now run in three Azure regions (centralus, eastus2, westeurope), with the same HA across three availability zones, Query Insights, backups and NVMe-backed Metal clusters as on AWS and GCP.

## 2026-10-12

- [What gets TOASTed in Postgres](https://swe.quest/articles/what-gets-toasted-in-postgres-267438c13f618a84.md): PlanetScale · 2026-10-12 · Medium · 13 min read · PostgreSQL, Storage engines, Performance engineering
  Postgres TOAST kicks in once a row exceeds 2,032 bytes, compressing variable-length values largest-first and moving them into chunked pg\_toast tables (1,996-byte chunks, 18-byte in-row pointers) when compression isn't enough.

## 2026-10-11

- [Automating Data Ingestion with a RAG Flywheel](https://swe.quest/articles/automating-data-ingestion-with-a-rag-flywheel-a00e5b0ced1109c4.md): Zalando Engineering · 2026-10-11 · Medium · 13 min read · RAG & retrieval, LLMs, Vector search, PostgreSQL, Data pipelines
  Zalando's Supply Operations automates mapping of diverse supplier spreadsheet headers (10-60 columns) onto a 55+ column internal schema using an LLM-driven RAG flywheel that learns from human-approved mappings.

## 2026-10-08

- [How we migrated Clera’s 500 GB production database to ClickHouse Managed Postgres overnight](https://swe.quest/articles/how-we-migrated-clera-s-500-gb-production-database-to-clickhouse-managed-f4ed327a88d71cd7.md): ClickHouse · 2026-10-08 · Medium · 8 min read · PostgreSQL, Databases, Performance engineering, Schema migrations, Storage systems
  Clera moved a 500 GB, 500+ table production Postgres database from the EU to the US overnight onto ClickHouse Managed Postgres, with production traffic still running, using two parallel ClickPipes pipelines.
- [TIN v1.0.6: 2-3x faster, with support for stemming](https://swe.quest/articles/tin-v1-0-6-2-3x-faster-with-support-for-stemming-ea2ddc443b54feaf.md): PlanetScale · 2026-10-08 · Medium · 8 min read · Search, PostgreSQL, Performance engineering
  TIN v1.0.6, PlanetScale's Postgres full-text search index, adds Snowball-based stemming for 18 languages via the rust\_stemmers crate and extends its block-max top-k plan to queries with heap-attribute tiebreakers in ORDER BY.

## 2026-10-07

- [BM25 is only as good as your tokens](https://swe.quest/articles/bm25-is-only-as-good-as-your-tokens-c687d331681bdece.md): Neon · 2026-10-07 · Medium · 8 min read · Search, PostgreSQL
  Lakebase Search's new lakebase\_tokenizer extension moves Postgres text-search synonym and stop-word dictionaries from server-side files into SQL tables, so managed and branchable Neon databases can define custom vocabularies with INSERT.
- [What today's software owes to Bronze Age clocks](https://swe.quest/articles/what-today-s-software-owes-to-bronze-age-clocks-f1c84fb59510a8bf.md): PlanetScale · 2026-10-07 · Medium · 8 min read · Resilience, PostgreSQL, API design, Algorithms
  Leaky buckets, descended from Bronze Age water clocks, remain a cheap admission-control mechanism: a bucket stores only its last level and timestamp, so its current level can be computed lazily as max(0, level\_then − drain\_rate × elapsed).

## 2026-10-06

- [How savepoints quietly throttled our Postgres queue](https://swe.quest/articles/how-savepoints-quietly-throttled-our-postgres-queue-a32737dd90a62c34.md): incident.io · 2026-10-06 · Hard · 15 min read · PostgreSQL, Performance engineering, Storage engines, Concurrency, Scaling
  Using a SAVEPOINT per tick in a Postgres-backed job queue made every locked row carry a MultiXact ID in xmax.

## 2026-10-05

- [Building a searchable photo library on the Neon backend with TanStack](https://swe.quest/articles/building-a-searchable-photo-library-on-the-neon-backend-with-tanstack-f091ade391b04611.md): Neon · 2026-10-05 · Medium · 9 min read · PostgreSQL, Vector search, Identity & auth, Storage systems, Deployment
  Atlas is a TanStack Start app on Vercel that stores private photos in Neon Object Storage, metadata and vectors in Lakebase Postgres, identity in Managed Better Auth, and ranks CLIP embeddings with the Lakebase Search \`lakebase\_ann\` index.

## 2026-10-02

- [Scale without limits: Multigres, OrioleDB, and dbarena](https://swe.quest/articles/scale-without-limits-multigres-orioledb-and-dbarena-9dcab6dd01f060fc.md): Supabase · 2026-10-02 · Easy · 4 min read · PostgreSQL, Storage engines, Replication, Performance engineering
  Supabase launched three Postgres scaling efforts. Multigres, from the Vitess team, adds built-in connection pooling and automated failover across three availability-zone nodes, using a consensus protocol over synchronous replication so no committed write is lost.
- [Generate embeddings with Neon AI Gateway](https://swe.quest/articles/generate-embeddings-with-neon-ai-gateway-8da1f214a3b9e4fc.md): Neon · 2026-10-02 · Medium · 7 min read · RAG & retrieval, Vector search, PostgreSQL, LLMs
  Neon AI Gateway now serves embedding models on its OpenAI-compatible /v1/embeddings endpoint using the same branch-scoped credential as chat, accepting up to 150 inputs per request.

## 2026-10-01

- [Announcing @neon/effect](https://swe.quest/articles/announcing-neon-effect-a662ae931c553237.md): Neon · 2026-10-01 · Medium · 4 min read · TypeScript, Resilience, PostgreSQL, Developer tools
  @neon/effect wraps the Neon SDK for Effect 4, keeping the same method names while returning Effects for API calls and Streams for paginated lists.
- [pg\_redact: Content-aware PII redaction with Jev, enforced in Postgres](https://swe.quest/articles/pg-redact-content-aware-pii-redaction-with-jev-enforced-in-postgres-4dd923bfce10e406.md): Neon · 2026-10-01 · Medium · 9 min read · PostgreSQL, Privacy, LLMs
  Column-level masking in Postgres can't redact PII buried in free text, and regex alone can't tell an SSN from an invoice number. pg\_redact generates candidate spans with regex and capitalization rules, asks TypeSafe's Jev model to label each one (name, email, phone, address, id\_number, none) with calibrated probabilities, and stores spans above 0.5 confidence as JSONB next to the message.
- [Building a faster, lazier router for Postgres](https://swe.quest/articles/building-a-faster-lazier-router-for-postgres-bc9a70ce219128ed.md): PlanetScale · 2026-10-01 · Hard · 15 min read · PostgreSQL, Distributed databases, Performance engineering, Go, Query engines
  Neki, PlanetScale's Postgres sharding router, cuts per-query overhead by keeping PostgreSQL wire-protocol bytes intact and decoding only as much as each query requires.

## 2026-09-30

- [pg\_clickhouse & chdb updates: Encoding, nesting, and types](https://swe.quest/articles/pg-clickhouse-chdb-updates-encoding-nesting-and-types-54018d870fc3076b.md): ClickHouse · 2026-09-30 · Medium · 8 min read · PostgreSQL, Analytics & OLAP, Databases, SQL
  pg\_clickhouse v0.11.0 and the chdb extension v0.1.2 improve Postgres–ClickHouse type compatibility.
- [Memory safety for Postgres extensions in C/C++](https://swe.quest/articles/memory-safety-for-postgres-extensions-in-c-c-b6883b8eb3b1e33d.md): ClickHouse · 2026-09-30 · Hard · 4 min read · PostgreSQL, Memory safety, C & C++, Memory management
  Postgres's palloc/MemoryContext allocation and setjmp/longjmp-based error handling clash with C++ new/delete, destructors and exceptions: longjmp skips destructors (undefined behavior), exceptions bypass PG\_CATCH, and an uncaught exception aborts the process and forces cluster-wide crash recovery.
- [How we systematically improved our reliability](https://swe.quest/articles/how-we-systematically-improved-our-reliability-84b3da37239114bb.md): Neon · 2026-09-30 · Medium · 11 min read · SRE, Incidents & postmortems, Resilience, PostgreSQL, Deployment
  After two control-plane incidents in one week, each triggered by an external dependency failure that turned into a self-reinforcing loop, Neon rebuilt how it runs reliability for Lakebase Postgres across 70+ cells on three clouds.
- [Lakebase Search: the retrieval primitive for agents on Neon](https://swe.quest/articles/lakebase-search-the-retrieval-primitive-for-agents-on-neon-08857239ea4fff67.md): Neon · 2026-09-30 · Medium · 6 min read · Vector search, PostgreSQL, Search, RAG & retrieval, AI agents
  Lakebase Search adds vector and BM25 search to Lakebase Postgres through two extensions, lakebase\_vector and lakebase\_text, so agents can query operational data without a separate search system. lakebase\_vector keeps its durable index in object storage, caches hot pages in NVMe and RAM, and combines hierarchical IVF with RaBitQ quantization.
- [What's New in DBOS - September 2026](https://swe.quest/articles/what-s-new-in-dbos-september-2026-ade8f4b644e493f6.md): DBOS · 2026-09-30 · Medium · 7 min read · Scheduling, PostgreSQL, Multi-tenancy, AI agents, Capacity planning
  DBOS's September 2026 releases add partitioned fair queues that combine per-tenant limits with global and per-worker concurrency caps in a single queue, and new major versions (Python v3.0, TypeScript v5.0, Go v1.4, Java v1.1) that move workflow inputs and outputs into separate tables for better performance at scale.

## 2026-09-29

- [Inside Skydive: building virtual coworkers, powered by Neon](https://swe.quest/articles/inside-skydive-building-virtual-coworkers-powered-by-neon-ad4f72b360da3c49.md): Neon · 2026-09-29 · Medium · 4 min read · AI agents, PostgreSQL, Serverless, Multi-tenancy
  Skydive's specialized AI coworker agents provision their own isolated Neon Postgres backends mid-task when they need durable state beyond an ephemeral sandbox.

## 2026-09-28

- [Can your Postgres survive a bad query?](https://swe.quest/articles/can-your-postgres-survive-a-bad-query-744ea9a22b65710c.md): ClickHouse · 2026-09-28 · Hard · 13 min read · PostgreSQL, Memory management, Resilience, Query engines, Linux
  Postgres's \`work\_mem\` limits memory per plan node per process, not per query, so parallel workers and \`hash\_mem\_multiplier\` can push a simple aggregation past 8x \`work\_mem\`.
- [Inside branch-based restores in Lakebase Postgres](https://swe.quest/articles/inside-branch-based-restores-in-lakebase-postgres-fb20eff343886385.md): Neon · 2026-09-28 · Medium · 8 min read · PostgreSQL, Storage engines, Databases, AI agents
  Lakebase Postgres turns point-in-time restore into a metadata operation: creating a branch at a timestamp that points at existing immutable page history, rather than provisioning an instance, hydrating a snapshot from S3 and replaying WAL.
- [Handling hot shards](https://swe.quest/articles/handling-hot-shards-713450434ac73606.md): PlanetScale · 2026-09-28 · Medium · 7 min read · Distributed databases, PostgreSQL, Scaling, Multi-tenancy
  When a shard key like tenant\_id stops matching reality because a few whale tenants dominate load or cross-tenant queries appear, Neki (PlanetScale's sharded Postgres from the Vitess maintainers) offers three escalating fixes: vertically scale the hot shard with its own configuration profile, isolate the whale by narrowing hashed key ranges in the declarative data topology, or reshard specific tables by a better key.

## 2026-09-25

- [When to choose x86-64 vs aarch64](https://swe.quest/articles/when-to-choose-x86-64-vs-aarch64-f7afb2b3f8f87cb4.md): PlanetScale · 2026-09-25 · Medium · 6 min read · PostgreSQL, Hardware, Performance engineering, Replication
  Choosing between aarch64 and x86-64 for a Postgres cluster matters because vCPUs differ: x86 cloud vCPUs are usually hyperthreads sharing a core, while Graviton and Axion vCPUs are full cores.

## 2026-09-22

- [When a file is uploaded, run the job on Neon](https://swe.quest/articles/when-a-file-is-uploaded-run-the-job-on-neon-11d1f9b245942444.md): Neon · 2026-09-22 · Medium · 7 min read · Serverless, Event-driven architecture, PostgreSQL, Storage systems
  Neon added a storage\_object\_created function trigger that invokes a Neon Function via HTTP POST when an object is created in a Neon Object Storage bucket, optionally filtered by key prefix.
- [Anatomy of a (Postgres) search engine](https://swe.quest/articles/anatomy-of-a-postgres-search-engine-ef0fff51702b4f16.md): PlanetScale · 2026-09-22 · Medium · 12 min read · Search, PostgreSQL, Data structures, Storage engines
  Inverted indexes power full-text search by mapping each term to a sorted, compressed postings list of document IDs, with optional positional data for phrase/span queries and frequency statistics for BM25 scoring.

## 2026-09-21

- [Postgres on NVMe: performance and the convergence of transactions and analytics](https://swe.quest/articles/postgres-on-nvme-performance-and-the-convergence-of-transactions-and-analytics-6553677f279f656e.md): ClickHouse · 2026-09-21 · Medium · 8 min read · PostgreSQL, Performance engineering, Storage systems, Replication, Analytics & OLAP
  Running Postgres on local NVMe instead of gp3 EBS gave 9.2× more throughput (16,030 vs 1,734 TPS) and UPDATE latency of 4.0 ms vs 36.9 ms in a pgbench benchmark with a 482 GiB dataset about 30× larger than RAM.
- [Your Neon Functions can now run on a schedule](https://swe.quest/articles/your-neon-functions-can-now-run-on-a-schedule-72b4a206b2b5554b.md): Neon · 2026-09-21 · Medium · 5 min read · Serverless, PostgreSQL, Scheduling
  Neon Function Triggers let Neon invoke a deployed Node.js function on a cron schedule.
- [Blocking cutovers to save replication slots](https://swe.quest/articles/blocking-cutovers-to-save-replication-slots-d52d9d5fcc4a6789.md): PlanetScale · 2026-09-21 · Medium · 5 min read · PostgreSQL, Replication, Event-driven architecture, Deployment
  PlanetScale Postgres blocks planned cutovers (resizes, parameter changes, maintenance) when logical replication slots aren't synchronized to the replica being promoted, because vanilla Postgres will promote a replica without the slot and silently break CDC consumers.

## 2026-09-18

- [Postgres week in the Netherlands: PGDay Lowlands & Percona Live 2026](https://swe.quest/articles/postgres-week-in-the-netherlands-pgday-lowlands-percona-live-2026-0eb593178690a919.md): ClickHouse · 2026-09-18 · Easy · 7 min read · PostgreSQL, Observability, Analytics & OLAP, Query engines
  Notes from PGDay Lowlands in Utrecht and Percona Live in Amsterdam, covering two ClickHouse-maintained Postgres extensions and several PostgreSQL 19 features. pg\_clickhouse is a foreign data wrapper that lets unmodified Postgres queries and ORMs run against ClickHouse via pushdown, with 15 of 22 TPC-H queries fully pushed down. pg\_stat\_ch streams per-query execution events through a shared-memory ring buffer to ClickHouse without back-pressure.
- [The architecture of Neki](https://swe.quest/articles/the-architecture-of-neki-b0a20bdb70a4c3cd.md): PlanetScale · 2026-09-18 · Medium · 9 min read · PostgreSQL, Distributed databases, Replication, System design, Kubernetes
  Neki shards unmodified PostgreSQL behind a single connection string.

## 2026-09-17

- [Postgres DELETE Can Actualy Scale](https://swe.quest/articles/postgres-delete-can-actualy-scale-9f7f79b6782a5f75.md): DBOS · 2026-09-17 · Medium · 7 min read · PostgreSQL, Storage engines, Performance engineering, Databases
  Postgres DELETE can scale for data retention if you design around MVCC churn, cache locality and dead tuples.

## 2026-09-14

- [Inside LuBot's database-per-tenant architecture](https://swe.quest/articles/inside-lubot-s-database-per-tenant-architecture-3e140bf0d5ffcd96.md): Neon · 2026-09-14 · Medium · 5 min read · Multi-tenancy, PostgreSQL, Serverless, System design
  LuBot, a solo-founder analytics chat product, gives each paying customer an isolated Postgres database by creating a Neon branch from a Stripe webhook, with Supabase kept as the control plane for orgs, users and billing.

## 2026-09-10

- [Introducing WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL](https://swe.quest/articles/introducing-walshadow-sub-second-postgres-replication-to-clickhouse-from-722f53f940cda679.md): ClickHouse · 2026-09-10 · Medium · 5 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow is an open-source engine that replicates Postgres to ClickHouse by decoding the physical WAL stream outside the source database, instead of using logical replication slots.
- [Claimable Neon: Provisioned by agents, claimed by humans](https://swe.quest/articles/claimable-neon-provisioned-by-agents-claimed-by-humans-9f64e172703dc25f.md): Neon · 2026-09-10 · Easy · 5 min read · AI agents, Identity & auth, PostgreSQL, Serverless
  Claimable Neon lets AI agents provision a temporary Neon project (Postgres, Data API, Managed Better Auth) without a human account, using the anonymous registration method of WorkOS's auth.md protocol, then hand it to a human via a short-lived claim link.

## 2026-09-09

- [Improving Lakebase Postgres Compute Cache on Neon, Part 1](https://swe.quest/articles/improving-lakebase-postgres-compute-cache-on-neon-part-1-96696f73ade727a0.md): Neon · 2026-09-09 · Hard · 9 min read · PostgreSQL, Caching, Performance engineering, Memory management, Virtualization
  On large fixed-size Lakebase Postgres computes, Neon now disables its NVMe-backed local file cache and sets shared buffers to 75% of DRAM (up from a 1 GB cap), backed by explicit 2 MB HugeTLB pages provisioned through host, hypervisor and guest VM.

## 2026-09-08

- [Introducing chdb Postgres extension: High-performance imports from cloud storage](https://swe.quest/articles/introducing-chdb-postgres-extension-high-performance-imports-from-cloud-storage-ca34f0fd59105471.md): ClickHouse · 2026-09-08 · Medium · 7 min read · PostgreSQL, Data pipelines, Storage systems, Performance engineering
  chdb is a new Postgres extension that uses the in-process ClickHouse engine chDB to import and export data in dozens of formats (CSV, JSON, Parquet, Avro, Arrow, ORC, Protobuf and more) from S3, GCS, Azure, HDFS, HTTP and local files, via a chdb\_query() function and a chdb\_hook module that extends COPY and CREATE TABLE.

## 2026-09-03

- [Give your agent Neon tools](https://swe.quest/articles/give-your-agent-neon-tools-25669ff9dbbd96d7.md): Neon · 2026-09-03 · Medium · 7 min read · AI agents, API design, TypeScript, PostgreSQL
  Neon's new @neon/tools package turns the ergonomic @neon/sdk client into typed agent tools, using Zod request schemas generated from the OpenAPI spec, with adapters for MCP, Mastra and Vercel's Eve.

[Next page](https://swe.quest/index.md?per=96&tag=postgres&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=postgres](https://swe.quest/feed.xml?tag=postgres). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
