Non-sargable.
What do you call the person who wrote it?
You, eight months ago, in a hurry.
Come make peace with your past. T-SQL That Doesn't Suck: #PASSDataSummit West precon.
passdatacommunitysummit.com/west/
Non-sargable.
What do you call the person who wrote it?
You, eight months ago, in a hurry.
Come make peace with your past. T-SQL That Doesn't Suck: #PASSDataSummit West precon.
passdatacommunitysummit.com/west/
Cartesian products
UNION
Non sargable filters (can’t use indexes)
You can use this to find queries in the cursor cache which you may be able to improve
Cartesian products
UNION
Non sargable filters (can’t use indexes)
You can use this to find queries in the cursor cache which you may be able to improve
www.db-berater.de/2024/11/isnu...
#sqlserver #sqlfamily
www.db-berater.de/2024/11/isnu...
#sqlserver #sqlfamily
Repeated across your database 😫
Crushing secret performance 😵
👇 Solved with one quick index 💪
andybrownsword.co.uk/2024/10/08/e...
Repeated across your database 😫
Crushing secret performance 😵
👇 Solved with one quick index 💪
andybrownsword.co.uk/2024/10/08/e...
WHERE p1 IS NULL OR "col" > p1
Don't do that in PostgreSQL! If you use prepared statements, be sure to force custom plans. If you use hardcoded values, be sure the predicate is sargable. Examples in a new blog post:
dev.to/franckpachot...
WHERE p1 IS NULL OR "col" > p1
Don't do that in PostgreSQL! If you use prepared statements, be sure to force custom plans. If you use hardcoded values, be sure the predicate is sargable. Examples in a new blog post:
dev.to/franckpachot...
Am I crazy?
Am I crazy?