skip to Main Content
Loading Events

« All Events

  • This event has passed.

[IASSUG] ‘Think like the Cardinality Estimator' by Taiob Ali

December 7, 2020 @ 6:00 pm - 8:00 pm CST

*** Due to COVID-19, until further notice, IASSUG will hold only Virtual Meetings. No in-person attendance ***

Title: Think like the Cardinality Estimator

Description:

SQL Server uses a phase during query optimization, called cardinality estimation (CE). This process makes estimates bases on the statistics as to how many rows flow from one query plan iterator to the next. Knowing how CE generates these numbers will enable you to write better TSQL code and, in turn, influence the type of physical operations during query execution.

Based on that estimated rows, the query processor decides how to access an object, which physical join to use, how to sort the data. Do you know how the CE generates these numbers? What happens when you have multiple predicates, range predicates, variable values that are ‘NOT KNOWN' to the optimizer, or you have predicate values increasing in ascending order? Do you know what will happen if your predicate is using a value that is outside of the histogram range?

In this session, I will show you how CE estimates in all these scenarios, and you will walk out better equipped to tackle those nasty, hard to solve query plans.

Taiob Ali, Database Solutions Manager GMO LLC
Taiob Ali, MVP Data Platform, is an accomplished technical leader with a proven record of success. For 14 years, he has worked with the Microsoft Data Platform and MongoDB both on-premise and cloud. His experience includes all three major business sectors: finance, e-commerce, and healthcare. Taiob has hands-on experience in managing large database projects, massive data migration, intricate process design, testing and deployment, performance tuning, long term capacity planning.
Taiob is currently working at “GMO LLC” as a Database Solution Manager, focusing on cloud migration, automation, improving, and streamlining operational workflow. He is a regular speaker at local and virtual PASS chapters, SQL Saturdays, and Azure conferences.

Details

Date:
December 7, 2020
Time:
6:00 pm - 8:00 pm CST
Event Category:
Website:
https://www.meetup.com/dsmsql/events/274655320/

Venue

Online event

Organizer

Des Moines SQL Server Users Group (IASSUG)
Back To Top