Kendal Van Dyke

Thursday, July 29, 2010 5 comments A + A -
Performance Query Tuning Scripts

Share This

  • Twitter
  • Google+
  • Linked In
  • Facebook

Related Posts

Performance Query Tuning Scripts
Newer Post Older Post Home

5 comments

Anonymous said...

Nice script, thanks for sharing Kendal - FYI, there is a typo in on line 98; an extra o in the keylookup; i.e.

keylookups.keyloookup.value('(Object/@Schema)[1]', 'sysname') AS [schema] ,

July 29, 2010 at 3:24 PM
Kendal Van Dyke said...

Thanks Tommy, I've updated the script to fix the typo. Not sure how that got in there, probably just an ID-10-T problem when I copied it into the post. :-)

July 29, 2010 at 3:29 PM
Kevan Riley said...

Nice script - but what's the @lookups table definition for?

June 14, 2012 at 10:46 AM
Kevan Riley said...

Kendal,

sometimes (and only sometimes, I haven't dug deep enough to get to the bottom of it yet) I get duplicate rows - have you seen this behaviour?

June 14, 2012 at 10:51 AM
Kevan Riley said...

Kendal,

ahh! sussed it! The plan in question had 3 key lookups against the same index (a bunch of unions)

June 14, 2012 at 11:09 AM

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Things You Need To Know If You Use DFS Replication
  • Disk Performance Hands On, Part 5: RAID 10 vs. RAID 5
  • SQL Server Management Studio 2008 Installation Walkthrough
  • Disk Performance Hands On, Part 2: RAID 10 Performance
  • Disk Performance Hands On, Part 6: RAID 10 vs. RAID 1

Labels

About Me Best Practices Career Data Mining Documentation Feature Requests Humor MagicPASS Meme Monday Mirroring Parameter Sniffing PASS Performance PowerShell Presentations Query Tuning Recognition Replication Scripts Security SQL Power Doc SQL Server 2005 SQL Server 2008 SQLH2 SQLRally SQLSaturday SYDI T-SQL Tuesday Tips Troubleshooting Updates VirtualBox Windows XML

What I'm Saying On Twitter

Tweets by @SQLDBA
Copyright © 2015 Kendal Van Dyke. All rights reserved.

Kendal is a database strategist, community advocate, public speaker, and blogger. A practiced IT professional with over 15 years of SQL Server experience, Kendal excels at disaster recovery, high availability planning/implementation, & debugging/troubleshooting mission critical SQL Server environments. Kendal is a Senior Consultant on the Microsoft Premier Developer Support team and President of MagicPASS, the Orlando, FL based chapter of PASS. Before joining Microsoft, Kendal was a SQL Server/Data Platform MVP from 2011-2016. [About Kendal] (http://lh3.googleusercontent.com/-wrW1fk8IiFE/Vr36w9dtRxI/AAAAAAAADCw/tVa4vTgLWIw/w139-h140-p/IMG_3503.JPG)