
Postgres is all you need. We make it better. PGBot - debug, verify, monitor.
Joined June 2026
- Tweets478
- Following7
- Followers205
- Likes1.5K
🐘 Introducing PGBot
POSTGRES BOT!
🐘 Introducing PGBot: Postgres intelligence for the agent era.
And it's growing fast!
🔥 ~20,000 monthly downloads
⭐ 1,500 GitHub stars
👨💻 20+ open-source contributors
→ Debug Postgres with confidence.
→ Give AI agents safe, read-only database access.
→ Detect performance issues before they become problems.
→ Get answers to any question about your Postgres database.
100% open source. Built for developers and AI agents.
Making Postgres smarter, safer, and easier to understand.
xitter.gq/alxshp/status/21234711…
4
210
🐘 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. 🧵
xitter.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
xitter.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.
xitter.gq/alxshp/status/21256519…
3
240
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.
xitter.gq/alxshp/status/21256519…
5
278
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.
xitter.gq/alxshp/status/21234711…
3
122
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. 🐘
xitter.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. 🐘
xitter.gq/alxshp/status/21227555…
5
55
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. 🐘
xitter.gq/alxshp/status/21227555…
3
101
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. 🚀
xitter.gq/alxshp/status/21227555…
4
161
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 🐘🐘🐘🐘
xitter.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?
xitter.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?
xitter.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
xitter.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.
xitter.gq/alxshp/status/21180668…
1
5
439



