---
title: "PostgreSQL (medium)"
description: "PostgreSQL specifically"
url: "https://swe.quest/tags/postgres?difficulty=medium"
---

# PostgreSQL (medium)

Topic in Data & databases: PostgreSQL specifically

By difficulty: [Easy](https://swe.quest/tags/postgres.md?difficulty=easy) · [Medium](https://swe.quest/tags/postgres.md?difficulty=medium) · [Hard](https://swe.quest/tags/postgres.md?difficulty=hard)

Posts 1–24 of 535, page 1 of 23, 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.

## 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-16

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

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

## 2026-11-03

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

[Next page](https://swe.quest/tags/postgres.md?difficulty=medium&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=postgres](https://swe.quest/feed.xml?difficulty=medium&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)
