David Rowley
@davidrowley_pg
Followers
528
Following
81
Media
13
Statuses
95
PostgreSQL hacker working for Microsoft. Likes to make PostgreSQL go faster. When not working, you might find him in the mountains somewhere in New Zealand
New Zealand
Joined March 2021
PostgreSQL 19 dev: Have the planner replace COUNT(ANY) with COUNT(*), when possible Author: @davidrowley_pg
https://t.co/P5ko38aXWD
0
2
15
It was a pleasure to give a talk last week at @PosetteConf about what's new in the PostgreSQL 18 query planner. There are some great new features in this release.
0
2
7
🐘 🤔 If you're interested in the #Postgres Query Planner, you'll love David Rowley's (@davidrowley_pg) #PosetteConf talk. Discover why David chose to talk about the Query Planner and more at: https://t.co/mscIDEsn4b
#postgresql #databases #OpenSource
posetteconf.com
David Rowley, PostgreSQL Committer @ Microsoft, is a speaker for POSETTE: An Event for Postgres 2025. David’s talk is titled “What’s new in the Postgres 18 query planner / optimizer”.
0
1
1
If you're a #PostgreSQL developer, community member, or curious user—you'll likely enjoy the #TalkingPostgres #podcast where we talk to people who work with Postgres—to learn why they do what they do & how they got there. Subscribe today so you'll never miss an episode!
0
6
16
I had no idea until today that such a large part of the world didn't class Monday as the first day of the week. ISO8601 and RFC3339 say it's Monday. I always thought the term "weekend" was fitting for days 6 and 7, but that doesn't seem to fit as well in blue or green areas.
1
0
4
There are a few PostgreSQL functions that could be suboptimal because of this: btint4cmp(), btint8cmp(), bms_compare(), perhaps more.
1
0
1
Clang 18.1 does the same thing (effectively), but clang trunk produces the same code. (I added the # comments to the screenshot as per my understanding of what's happening.)
0
0
0
Using https://t.co/63BPwdER0X to see how well a typical comparison function to sort integers in C is optimised. I was surprised to see the order I wrote this affected the produced assembly. You can see cmp1 and cmp3 require 2 CMPs because NEG overwrites status flags. Interesting
3
2
4
The 2nd CommitFest of Postgres 18 starts today. I noticed an increase in performance-related patches. The chart below shows the top 5 topics from the last decade of CFs. We've had ~40 performance patches committed per year < 2024. This year we've had 64 already with 2 CFs to go!
0
9
32
One of the things I'm working on for PostgreSQL 18 is executor performance. Today I pushed a patch to add JIT support to increase the performance of generating hash values for Hash Join. Thanks to @AndresFreundTec for letting me know this needed attention. https://t.co/CEyKebKC25
1
8
55
Thanks to @clairegiordano and the Talking Postgres team for giving me a chance to tell my story about how I ended up working full-time on PostgreSQL. There certainly wasn't a single defining moment, but likely a few key things that took me in that direction.
New episode of the #TalkingPostgres podcast (previously #PathToCitusCon) In Ep18, @davidrowley_pg & I talk about how David got his start as a developer & in #PostgreSQL. Starting from motorbikes 🏍️ & cheese factories 🧀 🎧 https://t.co/oBBNdJc1ak 📺 https://t.co/OUGFbJ5Djl
1
5
17
In just over a week, I'm getting a rare opportunity to tell my story about how I ended up working full-time on PostgreSQL. Many thanks to @clairegiordano and all the Talking Postgres team for making this happen. I'm looking forward to it.
Join us for the next LIVE recording of the Talking Postgres #podcast episode 18 🎙️ with a parallel live text chat 👋 ⏳ Tue August 6 @ 4:00pm PDT 🗣️ Guest: @davidrowley_pg ✅ Topic: How I got started as a developer (& in Postgres) 🗓️ Mark your cal: https://t.co/43k8J1Wbin
1
1
10
Recent blog post from @davidrowley_pg from the Postgres team at Microsoft, which developers & users loved 💟 All about what's new 🤯 in the #PostgreSQL 16 query planner As @SQLPerfTips says, it's "short, relevant, clear. A MUST read for everybody"
techcommunity.microsoft.com
Postgres 16 improves the query planner to make many SQL queries run faster than on previous versions of Postgres.
0
5
15
Lukas of @pganalyze gives a great summary (in video form) of a blog I published yesterday about what's improved in the PostgreSQL 16 query planner.
Today, we talk about the planner improvements in Postgres 16, including better use of Incremental Sort, more efficient anti-JOINs, Hash Join improvements, more efficient window functions, and more. We featured @davidrowley_pg - Full episode here:
0
4
15
This is one of these very few articles: short, relevant, clear. A MUST read for everybody—whether using PostgreSQL or not. It is generally good to see how these things work. Thank you @davidrowley_pg — for the patches too, of course! https://t.co/HbbcQPKc3H
citusdata.com
Postgres 16 introduces quite a few improvements to the query planner and makes many SQL queries run faster than they did on previous versions of PostgreSQL. This post is a deep dive into 10 of the...
1
12
53
This deep dive by @davidrowley_pg on PG16 improvements is great! https://t.co/pNvAs30YDi What I love just as much as him showing up in HN comments, not defending or deflecting just being there and taking input but also educating
citusdata.com
Postgres 16 introduces quite a few improvements to the query planner and makes many SQL queries run faster than they did on previous versions of PostgreSQL. This post is a deep dive into 10 of the...
0
5
23
In @davidrowley_pg’s new blog post about planner improvements in #postgres 16, he provides example queries and plans for every optimization mentioned. It’s a great way to learn about planner if you’re new or to brush up on minimal repros if you’re seasoned
David Rowley (@citusdata): What’s new in the Postgres 16 query planner / optimizer
0
3
16
If you're thinking of upgrading to PostgreSQL 16, I wrote this blog to help explain (with examples) what's changed since PG15 in the query planner/optimizer
New post from @davidrowley_pg from the #PostgreSQL team at Microsoft, about what's new in the Postgres 16 query planner (aka optimizer) tl;dr ✅ PG16 has quite a few performance improvements to the query planner, this post walks through 10 of them
3
9
47
David Rowley (@citusdata): What’s new in the Postgres 16 query planner / optimizer
citusdata.com
Postgres 16 introduces quite a few improvements to the query planner and makes many SQL queries run faster than they did on previous versions of PostgreSQL. This post is a deep dive into 10 of the...
0
25
57
New post from @davidrowley_pg from the #PostgreSQL team at Microsoft, about what's new in the Postgres 16 query planner (aka optimizer) tl;dr ✅ PG16 has quite a few performance improvements to the query planner, this post walks through 10 of them
techcommunity.microsoft.com
Postgres 16 improves the query planner to make many SQL queries run faster than on previous versions of Postgres.
2
13
32