Tools and Tips: From Accidental to Efficient Data Warehouse Developer (24 Hours of PASS: Summit Preview)
1. Tools and Tips:
From Accidental to Efficient Data Warehouse Developer
Cathrine Wilhelmsen, Data Platform MVP
Moderated by: Christian Reich
2. Session Description
You have probably heard about the Accidental DBA, but what about the Accidental
Data Warehouse Developer? We stumbled into the world of data warehousing, learned
dimensional modeling and work with T-SQL and SSIS daily. We are masters of googling
solutions to our problems and making sure our ETL processes run without errors. We
deliver data to business users… and the more we deliver, the more they want. This is a
good thing! But how do we keep up with the increased demand?
You might not be able to rewrite your entire ETL process or change your team's
processes over night, but there are many things you can do to increase your own
productivity and become a more efficient and valuable Data Warehouse developer.
In this session, I will show you some of what I have learned and discovered that has
made me say "Oh wow! Why did I not know this yesterday!?" - including SSMS features,
tools for query analysis and tuning, free tools and scripts, Biml for SSIS and even a
couple of things I used to think were only useful for those scary DBAs.
50. SARGable Queries
"The query can efficiently seek using an index to find
the rows searched for in WHERE or JOIN clauses"
Compare it to finding a person in a phone book
(…let's just pretend we still use phone books…)
51. SARGable Queries
Adama, Lee
Adama, William
Agathon, Karl
Baltar, Gaius
Dualla, Anastasia
Gaeta, Felix
Henderson, Cally
Roslin, Laura
Thrace, Kara
Tigh, Saul
Tyrol, Galen
Valerii, Sharon
Find all rows where Name starts with 'T'
52. SARGable Queries
Adama, Lee
Adama, William
Agathon, Karl
Baltar, Gaius
Dualla, Anastasia
Gaeta, Felix
Henderson, Cally
Roslin, Laura
Thrace, Kara
Tigh, Saul
Tyrol, Galen
Valerii, Sharon
Find all rows where Name starts with 'T'
53. Non-SARGable Queries
"The query has to scan each row in the table to find the
rows searched for in WHERE or JOIN clauses"
Compare it to finding a person in a phone book
(…let's just keep pretending we still use phone books…)
54. Non-SARGable Queries
Adama, Lee
Adama, William
Agathon, Karl
Baltar, Gaius
Dualla, Anastasia
Gaeta, Felix
Henderson, Cally
Roslin, Laura
Thrace, Kara
Tigh, Saul
Tyrol, Galen
Valerii, Sharon
Find all rows where Name contains 'al'
55. Non-SARGable Queries
Adama, Lee
Adama, William
Agathon, Karl
Baltar, Gaius
Dualla, Anastasia
Gaeta, Felix
Henderson, Cally
Roslin, Laura
Thrace, Kara
Tigh, Saul
Tyrol, Galen
Valerii, Sharon
Find all rows where Name contains 'al'