SQL Performance Tips retweeted
€10 for a frontier AI subscription are gone in one workday
€10 for my book SQL Performance Explained has a lasting impact on you*
sql-performance-explained.co…
Learning timeless fundamentals always has a lasting effect
* you also need to read it, which takes about 1 day ;)
SQL Performance Tips retweeted
New post: Structured Primary Keys
For consistency and performance.
modern-sql.com/blog/2026-06/…
SQL Performance Tips retweeted
For this WHERE, what index to create?
WHERE subsidiary_id = 42 AND last_name LIKE '%INA%'
Is (subsidiary_id) enough or should it be (subsidiary_id, last_name)?
use-the-index-luke.com/sql/c…
SQL Performance Tips retweeted
My favorite change is that MariaDB got an improved "WHERE year(...) = ?" rewriting. use-the-index-luke.com/blog/…
In picture: the green check mark used to be yellow, with the "a" footnote: Unconditionally rewritten—even if only a matching function-based index exists
SQL Performance Tips retweeted
Survey on performance optimization for database systems (2023)
researchgate.net/publication…
SQL Performance Tips retweeted
#DoYouKnow? If your index is getting too big in size, you can index only a subset of the values using Partial Indexes.
Read more here - use-the-index-luke.com/sql/w…
#Databases #SQL
SQL Performance Tips retweeted
At about this time of the day, I run my open-to-everyone trainings.
The last training this year is "SQL Performance Explained", for which I have one spot left. It starts Dec 2nd and is delivered in seven 2-hour long in-person sessions each Mon/Wed/Fri.
winand.at/sql-training/open-…
SQL Performance Tips retweeted
In the meanwhile enjoy a discount for SQL Performance Explained if you don't have it yet: 15YrsAnniversary
Only valid when purchasing directly from me (not on Amazon, ...):
sql-performance-explained.co…
(but valid for all languages — see language selection at the top).
SQL Performance Tips retweeted
Learn once, benefit forever.
These SQL courses take experienced developers a leap forward. Starting on September 10th!
winand.at/en/newsletter/2024…
SQL Performance Tips retweeted
The WITH clause is useful to write readable SQL.
modern-sql.com/use-case/lite…
SQL Performance Tips retweeted
Have finished reading the "SQL performance explained" book from @MarkusWinand (creator of the use-the-index-luke.com).
Have already known about indexes and B-trees, but the book helped to understand how they affect SQL operations under the hood. Highly recommend!
SQL Performance Tips retweeted
Just announced new training dates.
There are still seats left in my next performance training in April. The remaining courses take place in fall.
winand.at/sql-training/open-…
SQL Performance Tips retweeted
The Oracle DB maintains some information either on block or on row level ([NO]ROWDEPENDENCIES).
dbaora.com/ora_rowscn-norowd…
The default (NOROWDEPENDENCIES) may cause
ORA-08177: can't serialize access for this transaction
even if there is no problem on row level.
SQL Performance Tips retweeted
I started a blog post on this a long time ago but never finished. A recent mention on #determinism in the context of query optimisation sort of hit the nerve.
Determinism is so important but underrated and often ignored. So let's throw out a quick 🧵:
xitter.cf/julianhyde/status/1760…
Replying to @MaineFrameworks
I just call it query planning. Your first and second obligations are to give the right results using reasonable resources. Deterninism third, efficiency fourth and optimality a distant fifth.
SQL Performance Tips retweeted
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/…
SQL Performance Tips retweeted
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!
citusdata.com/blog/2024/02/0…
SQL Performance Tips retweeted
New episode: "Modern SQL"
Michael is joined by @MarkusWinand, creator of use-the-index-luke.com and modern-sql.com, to discuss @ModernSQL — what it means, why it matters, and a phrase that should be on a t-shirt.
🎧 postgres.fm/episodes/modern-…
📺 youtu.be/mGqqQg-dG-w
SQL Performance Tips retweeted
JSONB has landed in SQLite!
You can try it in the pre-release snapshot or live in the playground codapi.org/sqlite
sqlite.org/forum/forumpost/f…
SQL Performance Tips retweeted
Yesterday,
All those backups seemed a waste of pay.
Now my database has gone away.
Oh I believe in yesterday.
Suddenly,
There’s not half the files there used to be,
and there’s a millstone hanging over me.
…
Take care of your backups!
use-the-index-luke.com/yeste…













