davidrowley_pg Profile Banner
David Rowley Profile
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
Don't wanna be here? Send us removal request.
@nori_shinoda
Noriyoshi Shinoda
23 days
PostgreSQL 19 dev: Have the planner replace COUNT(ANY) with COUNT(*), when possible Author: @davidrowley_pg https://t.co/P5ko38aXWD
0
2
15
@davidrowley_pg
David Rowley
6 months
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
@PosetteConf
POSETTE: An Event for Postgres 🌟 🎥 #PosetteConf
7 months
🐘 🤔 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
@clairegiordano
Claire Giordano ✨
11 months
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
@davidrowley_pg
David Rowley
1 year
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
@davidrowley_pg
David Rowley
1 year
There are a few PostgreSQL functions that could be suboptimal because of this: btint4cmp(), btint8cmp(), bms_compare(), perhaps more.
1
0
1
@davidrowley_pg
David Rowley
1 year
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
@davidrowley_pg
David Rowley
1 year
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
@davidrowley_pg
David Rowley
1 year
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
@davidrowley_pg
David Rowley
1 year
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
@davidrowley_pg
David Rowley
1 year
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.
@clairegiordano
Claire Giordano ✨
1 year
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
@davidrowley_pg
David Rowley
1 year
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.
@TechieAri
ari
1 year
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
@pg_at_msft
pg at Microsoft 💻✨ #pg_at_msft
2 years
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"
Tweet card summary image
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
@davidrowley_pg
David Rowley
2 years
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.
@pganalyze
pganalyze
2 years
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
@SQLPerfTips
SQL Performance Tips
2 years
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
Tweet card summary image
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
@craigkerstiens
Craig Kerstiens
2 years
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
Tweet card summary image
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
@melanieplageman
Melanie Plageman
2 years
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
@planetpostgres
Planet PostgreSQL
2 years
David Rowley (@citusdata): What’s new in the Postgres 16 query planner / optimizer
0
3
16
@davidrowley_pg
David Rowley
2 years
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
@AzureDBPostgres
Azure Database for PostgreSQL
2 years
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
@AzureDBPostgres
Azure Database for PostgreSQL
2 years
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
Tweet card summary image
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