
Every agent gets its own Postgres. https://nitter.gq/t.co/guIbnvZFRi
Joined June 2026
- Tweets448
- Following6
- Followers204
- Likes1.5K
๐ PostgreSQL at scale part 2:
4 TRILLION messages per month
๐ PostgreSQL at scale: 4 TRILLION messages per month.
Datadog just open-sourced PG Proxy, the PostgreSQL proxy powering its own infrastructure.
๐ฅ 4 trillion messages/month
โก 200M+ daily authentications
๐ 600K+ open client connections
Written in Go. Battle-tested in production.
Here's what makes it interesting. ๐งต
nitter.gq/alxshp/status/21256519โฆ
๐ PostgreSQL at scale!
๐ PostgreSQL at scale: 440 million API requests per week
Zernio migrated from MongoDB to PostgreSQL and grew from 172M to 442M weekly API requests in just three months
But Postgres was struggling?! NOPE โก
โก 90% fewer writes to wide post records
โก 2,500 transactions/sec on replicas
โก 500M rows backfilled without downtime
โก Primary CPU down to around 60%
Here's how they optimized it. ๐งต READ
nitter.gq/gemmdev/status/2126273โฆ
๐ฆ DuckDB win!
๐ฆ DuckDB just destroyed everyone on speed.
WHAT? Importing 10 MILLION CSV rows:
๐ฆ DuckDB 2.0.1 โ 0.53s
โก ClickHouse 26.11 โ 0.83s
๐ฅ chDB 4.5.1 โ 1.09s
โฑ๏ธ QuestDB 10.2 โ 1.89s
Same hardware. Same dataset. Default settings.
80 benchmark runs. Cold and warm cache. Every single row verified.
DuckDB:
18.9 million rows/sec
Only 111 MiB on disk
737 MiB peak RAM
Fastest in both cache modes
QuestDB wins on memory efficiency.
ClickHouse beats chDB thanks to higher default parallelism.
nitter.gq/alxshp/status/21256519โฆ
3
235
PostgreSQL 19 vs ๐ฆ PgRust vs TimescaleDB!!
๐ PostgreSQL 19 vs ๐ฆ PgRust vs TimescaleDB
How fast can they import 10 MILLION CSV rows?
๐ PostgreSQL 19.0 โ 9.63s
๐ฆ PgRust 0.4-beta โ 10.75s
๐ PostgreSQL 18.7 โ 10.99s
โฑ๏ธ TimescaleDB (regular table) โ 11.24s
Same hardware. Same dataset. Warm cache. Median of 10 runs.
PostgreSQL 19 is 14% faster than PostgreSQL 18.
PgRust is still in beta and already outperforming PostgreSQL 18.
The future of PostgreSQL looks exciting.
nitter.gq/alxshp/status/21256519โฆ
5
272
PostgreSQL 19 wins ๐๐
PostgreSQL 19 wins the race ๐๐
How long does it take to import 1 million CSV rows?
๐ PostgreSQL 19 โ 1.85 seconds
๐ PostgreSQL 16 โ 2.47 seconds*
๐ฆญ MariaDB 10.11 โ 3.05 seconds*
๐ฌ MySQL 26.10 โ 5.03 seconds
๐ PostgreSQL 18 โ 5.60 seconds*
๐ฆญ MariaDB 12.3 โ 7.60 seconds*
๐ฌ MySQL 9.7 โ 11.20 seconds*
PostgreSQL used COPY. MySQL and MariaDB used LOAD DATA.
nitter.gq/alxshp/status/21234711โฆ
3
119
Postgres 19 introduces new replicas ๐๐
Postgres 19 introduces smarter read replicas ๐๐
You hit Save. โ
You refresh. ๐
Your old data is back. ๐
Your write committed.
Your replica was still catching up.
โ๏ธ Write to the primary.
โ
Commit the transaction.
๐ Capture the primaryโs WAL position after the commit.
โณ Run WAIT FOR LSN on the replica with that position.
๐ Once the wait succeeds, read from that same replica.
With the new WAIT FOR LSN command, your app can tell an async replica how far to catch up before running the read.
Read your own writes on an async replica. ๐
nitter.gq/alxshp/status/21234711โฆ
Postgres 19: query planner๐
PostgreSQL 19 just got a smarter query planner๐
And some queries can get faster without changing a single line of SQL.
What's new:
โ NOT IN can use faster anti-joins
โ Aggregation can happen BEFORE joins
โ Better optimization of semi-joins
โ Smarter handling of NULLs
โ More efficient query execution plans
Same SQL. Smarter plans. Less work.
Postgres keeps getting better. ๐
nitter.gq/alxshp/status/21227555โฆ
5
53
PostgreSQL 19: REPACK!
๐จ PostgreSQL 19 introduces REPACK! ๐๐ฅ
From 100 GB to 40 GB? If 60 GB is bloat, yes.
REPACK (CONCURRENTLY) orders;
โ
Copies live rows into a compact table
โ
Keeps taking orders during the rebuild
โ
Replays new writes on the copy
โ
Briefly locks the table for the final swap
Same orders. 60 GB back. ๐
nitter.gq/alxshp/status/21227555โฆ
3
99
This is a fantastic write-up of everything coming with Postgres 19.
Whether youโre technical, a founder, or just curious, I highly recommend reading it.
PostgreSQL 19 is officially!!!! out๐
๐จ PostgreSQL 19 is officially OUT! ๐๐ฅ
โ
Nearly 2x faster bulk INSERTs
โ
REPACK without blocking writes
โ
Read-your-writes on replicas
โ
Smarter query planning
โ
Better performance. Zero vendor lock-in.
30+ years of open source innovation.
Postgres isn't slowing down. It's taking over. ๐
nitter.gq/alxshp/status/21227555โฆ
4
160
PostgreSQL 19 ๐
PostgreSQL 19 ๐๐
PostgreSQL 19 ๐๐๐
PostgreSQL 19 ๐๐๐๐
24h until PostgreSQL 19. ๐โณ
My #1 reason to upgrade: bulk INSERTs with foreign keys ran nearly 2ร faster in one benchmark. โฝ๐จ
Gonna miss you, 18. ๐ฅฒ๐
PostgreSQL 19 ๐
PostgreSQL 19 ๐๐
PostgreSQL 19 ๐๐๐
PostgreSQL 19 ๐๐๐๐
nitter.gq/alxshp/status/21227555โฆ
1
49
5 FREE tools
5 FREE tools every developer should try:
fx.sh - AI that writes your code
pgx.dev - Postgres for AI agents
orca.dev - Workspace for parallel agents
pgbot.dev - AI-powered Postgres health checks
Your brain - Still the most important tool
All free. All powerful.
What would you add?
nitter.gq/alxshp/status/21209270โฆ
1
47
POSTGRES WON
๐ 2026: THE YEAR POSTGRES WON ๐
What's your database of choice?
Apps and the databases behind them ๐
๐ค ChatGPT - PostgreSQL
๐ธ Instagram - PostgreSQL
๐ SpaceX - PostgreSQL
๐ NASA - PostgreSQL
๐ฎ Twitch - PostgreSQL
๐ฐ Coinbase - PostgreSQL
โก Supabase - PostgreSQL
๐๏ธ Discord - PostgreSQL
๐ฝ Reddit - PostgreSQL
๐ง Spotify - PostgreSQL
๐ฌ Skype - PostgreSQL
๐ณ Stripe - PostgreSQL
๐จ Figma - PostgreSQL
๐ Notion - PostgreSQL
๐ฐ Robinhood - PostgreSQL
๐ Instacart - PostgreSQL
๐ Jira - PostgreSQL
๐ Datadog - PostgreSQL
๐ป GitLab - PostgreSQL
๐ฏ Linear - PostgreSQL
๐ Sentry - PostgreSQL
๐ Mastodon - PostgreSQL
๐ฌ Discourse - PostgreSQL
๐ Metabase - PostgreSQL
And the cloud infrastructure supporting it:
โ๏ธ AWS RDS / Aurora - PostgreSQL
Different products. Billions of users.
One legendary open-source database.
Postgres didn't just survive. It won. ๐
What did I miss?
nitter.gq/alxshp/status/21202126โฆ
4
264
pgx.dev is a database runtime for agents
PGX.dev is a database runtime for short-lived Postgres databases: agent sandboxes, CI and per-PR databases, test and preview environments. One PGX process holds many isolated databases. Each costs tens of kilobytes of memory while idle, is created in milliseconds from a sealed template, and is backed, on a copy-on-write storage backend such as ZFS, by a clone that starts at a few megabytes whatever the template's size (on a filesystem without block cloning a branch is a full copy).
PGX speaks the Postgres wire protocol and SQL dialect. Rails, Django, Prisma, SQLAlchemy and node-postgres run their full migrate โ test โ schema-change lifecycles on it unchanged.
PGX is the database engine behind PGRun branches.
A database should be cheap enough to allocate like an object, not provision like a server.
Try it: npx pgxdb@latest
nitter.gq/alxshp/status/21202126โฆ
2
6
322
POSTGRES GIT
npm install -g pgxdb
pgx.dev/git
๐ Just launched PGX Git!
pgx.dev/git
Git branches for code. Database branches for Postgres. ๐๐๐
Every time you create or switch a Git branch, PGX automatically gives you an isolated Postgres database.
Try it:
npx pgxdb@latest
git switch -c feature/auth
git switch main
โก Instant database branching
๐ฟ One Git branch. One database.
๐ค Built for parallel AI coding agents.
๐ซ No Docker. No cloud.
Your code is isolated. Now your database is too.
nitter.gq/alxshp/status/21180668โฆ
1
5
439
Postgres Migration Impact ๐ฅ in 3d
Postgres Schema Changes & Migration Impact ๐ฅ
See exactly what happens when you change your database schema.
- New tables
- Removed objects
- Modified columns
- Affected dependencies
No more guessing what your next migration might break.
What do you think?
nitter.gq/alxshp/status/21180668โฆ
4
175
POSTGRES B-TREE
๐ Postgres B-Tree index in 3D! ๐ณ
Ever wondered how PostgreSQL finds a single row among millions? ๐
pgrun.dev/b-tree-index-postgโฆ
Root โ Internal nodes โ Leaf
- Millions of keys, just a few hops
- Each node lives in an 8KB page
- Built for incredibly fast lookups
This is the magic happening behind your SQL queries.
PostgreSQL internals are beautiful. ๐
3
163


