Tips to get best SQL performance. Covering all major SQL databases. https://xitter.cf/t.co/pPX9UrXm8p is my book.

Vienna, Austria
Joined April 2011
SQL Performance Tips@SQLPerfTipsFeb 3
14 years online, still relevant and current. Those who did the quiz 14 years ago can still benefit for their lessons at that time. use-the-index-luke.com/3-min…
2
14
1,429
SQL Performance Tips@SQLPerfTips25 Oct 2024
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…
3
1
16
3,001
SQL Performance Tips@SQLPerfTips5 Oct 2023
Finding the most recent rows is a common requirement that can often be optimized to become as fast as a primary key lookup. use-the-index-luke.com/sql/p…
18
3,735
SQL Performance Tips@SQLPerfTips2 Oct 2023
A Close Look at the Index Include Clause use-the-index-luke.com/blog/…
1
1
1
14
4,768
SQL Performance Tips@SQLPerfTips28 Apr 2023
6
31
2
124
18,382
SQL Performance Tips@SQLPerfTips3 Feb 2023
The INDEX include clause puts additional columns at the bottom level of an index. They cannot be used to navigate the tree, are not part of the uniqueness of an unique index, but still support index-only scans and are an important documentation tool. use-the-index-luke.com/blog/…
1
6
2,384
SQL Performance Tips@SQLPerfTips19 Jan 2021
Don't worry about sparse/fragmented indexes—i.e. indexes where the blocks/pages are not full. Regular rebuilds are often doing more harm than good. Here is even an approach how B-trees can intentionally use sparse nodes to improve scalability (CIDR 2021). youtube.com/watch?v=aWbBmV86…
1
6
20
SQL Performance Tips@SQLPerfTips5 Aug 2020
Just a reminder: You can order free stickers in the Use The Index, Luke! shop. use-the-index-luke.com/shop
1
5
1
13
SQL Performance Tips@SQLPerfTips22 Feb 2020
How to ensure good performance when the database grows? Details that don't matter now can kill performance soon. use-the-index-luke.com/sql/t…
1
4
21
SQL Performance Tips@SQLPerfTips20 Feb 2020
Visualizing SQL Plan Execution Time With FlameGraphs blog.tanelpoder.com/posts/vi…
1
19