Presentation is loading. Please wait.

Presentation is loading. Please wait.

T-SQL Habits & Practices That Can Kill Performance

Similar presentations


Presentation on theme: "T-SQL Habits & Practices That Can Kill Performance"— Presentation transcript:

1 T-SQL Habits & Practices That Can Kill Performance
Vern Rabe, owner, RabeData, LLC

2 OregonSQL User Group www.OregonSQL.org
Meetings Every 2nd Wednesday, 6:00PM – 9:00PM 1515 SW 5th Ave, Suite 900, Portland

3 Support Our Sponsors

4 Vern Rabe Owner, RabeData, LLC
Portland, OR independent consultant, trainer MCTA, MCDBA, MCSE, MCITP Co-Leader Oregon PASS chapter Working with/focusing on SQL Server since 1993, starting with SQL Server 4.21a My first PC had a 10MB hard drive Vern Rabe Owner, RabeData, LLC /VernRabe @VernRabe

5 Vern Rabe

6 Habits & Patterns 10. 9. 8. 7. 6. 5. 4. 3. 2. 1. Using UNION instead of UNION ALL Using Superfluouse ORDER BY Not JOINing on keys Having too many JOINs Over-using or mis-using views Using user defined scalar functions Ignoring the transaction log Ignoring data types Not using OPTION (RECOMPILE) Not making predicates SARGABLE

7 Questions? Vern Rabe @VernRabe

8 Learn more from Vern Rabe


Download ppt "T-SQL Habits & Practices That Can Kill Performance"

Similar presentations


Ads by Google