---
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/?source=render&tag=postgres"
---

# Posts

Filtered by topics: PostgreSQL, source: Render.

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

## 2025-01-16

- [Custom Hacker News summaries in your inbox—build an AI Agent with Inngest and Render](https://swe.quest/articles/custom-hacker-news-summaries-in-your-inbox-build-an-ai-agent-with-inngest-and-9ab4714647bce245.md): Render · 2025-01-16 · Medium · 8 min read · AI agents, Vector search, PostgreSQL, TypeScript, LLMs
  A tutorial for building an AI agent that periodically searches Hacker News for user-defined topics and questions and emails summaries.

## 2024-12-12

- [Fix a top cause of slow queries in PostgreSQL (no slow query log needed)](https://swe.quest/articles/fix-a-top-cause-of-slow-queries-in-postgresql-no-slow-query-log-needed-4d1a4c0df1aa9a0d.md): Render · 2024-12-12 · Medium · 7 min read · PostgreSQL, Performance engineering, SQL
  PostgreSQL automatically indexes primary keys and UNIQUE columns but not the referencing column of a foreign key, so lookups on that side and ON DELETE CASCADE / SET NULL triggers fall back to full table scans.

## 2024-06-13

- [How to take random samples from big PostgreSQL tables](https://swe.quest/articles/how-to-take-random-samples-from-big-postgresql-tables-9724e6f9679558c6.md): Render · 2024-06-13 · Medium · 10 min read · PostgreSQL, SQL, Performance engineering, Query engines
  Random sampling from billion-row PostgreSQL tables with ORDER BY random() scans every row and runs a top-N heapsort, taking over a minute.

## 2024-05-23

- [Distributing Global State to Serve over 1 Billion Daily Requests](https://swe.quest/articles/distributing-global-state-to-serve-over-1-billion-daily-requests-65554ed0d12e6461.md): Render · 2024-05-23 · Medium · 11 min read · Caching, Scaling, PostgreSQL, Load balancing, System design
  Render's request routers evolved from per-instance in-memory caches with 5-minute TTLs and database lookups on miss, which overloaded PostgreSQL on every redeploy and failed during database downtime, to push-based caching using PostgreSQL LISTEN/NOTIFY so routers never query the database in the hot path.

## 2024-05-14

- [PostgreSQL Stories: From slow query to fast—via stats](https://swe.quest/articles/postgresql-stories-from-slow-query-to-fast-via-stats-ac7001ab0fde8224.md): Render · 2024-05-14 · Medium · 13 min read · PostgreSQL, Query engines, Performance engineering, Debugging
  A simple LIMIT 1 join between a ~100k-row postgres\_dbs table and a ~90M-row events table ran for hours.

## 2024-04-03

- [PostgreSQL Stories: A simple query with a big problem](https://swe.quest/articles/postgresql-stories-a-simple-query-with-a-big-problem-6dd72fff3c9a1d47.md): Render · 2024-04-03 · Medium · 10 min read · PostgreSQL, Debugging, Incidents & postmortems, Schema migrations
  A seemingly simple indexed join with LIMIT 1 ran for over four hours on Render's staging PostgreSQL, holding a lock that blocked CREATE OR REPLACE VIEW migrations and stalled deploys.

## 2021-10-05

- [What's New in PostgreSQL 14?](https://swe.quest/articles/what-s-new-in-postgresql-14-d679a59b3961e203.md): Render · 2021-10-05 · Medium · 4 min read · PostgreSQL, SQL
  PostgreSQL 14 adds jsonb subscripting, which lets queries read, filter and update nested JSONB values with JavaScript-like bracket syntax instead of path operators such as #\>.

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