Foxhole Atheist
Monday, February 16, 2015
recent things done to an important and complex sql query to improve performance
changed cross- apply to cte's
added indices that had all the output columns needed instead of using clustered index which forced more reads
removed max varchar columns from initial query to avoid key lookups and retrieved them at end of sql
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment