Articles from July 2010



Webcast Today – Using XML to Query Execution Plans

I’ll be speaking for the SQL PASS Database Administration Virtual Chapter today at 12 PM Eastern time.  The topic will be Using XML to Query Execution Plans.  The abstract for the event is the following:

SQL Server stores its execution plans as XML in dynamic management views. The execution plans are a gold mine of information. From the whether or not the execution plan will rely on parallelism to what columns are requiring a key lookup after a non-clustered index seek. Through a the use of XML this information can be available at your fingertips to help determine the value and impact of an index and guide you in improving the performance of your SQL Server databases. In this session we’ll look at how you can begin to understand and query the structure of the execution plans in the procedure cache. Also, we’ll review how to uncover some potential performance issues that may be lurking in your SQL Server.

You can get to the event here.

Webcast Next Week – Using XML to Query Execution Plans

I’ll be speaking for the SQL PASS Database Administration Virtual Chapter next week.  It’ll be on July 28 at 12 PM Eastern time.  The topic will be Using XML to Query Execution Plans.  The abstract for the event is the following:

SQL Server stores its execution plans as XML in dynamic management views. The execution plans are a gold mine of information. From the whether or not the execution plan will rely on parallelism to what columns are requiring a key lookup after a non-clustered index seek. Through a the use of XML this information can be available at your fingertips to help determine the value and impact of an index and guide you in improving the performance of your SQL Server databases. In this session we’ll look at how you can begin to understand and query the structure of the execution plans in the procedure cache. Also, we’ll review how to uncover some potential performance issues that may be lurking in your SQL Server.

If you register for the event ahead of time you will be entered into a drawing brought to us from CA, our event sponsor.  You can get to the event here.

PASSMN July Meeting Today

Minnesota SQL Server Users Group

Don’t forget the July PASSMN meeting is today.  We have Itzik Ben-Gan (blog) coming in to talk about some query tuning tips.

Here are the meeting details…

Date and  Time:

July 20, 2010, 5:00 PM CST

Location:

8300 Norman Center Drive, 9th Floor, Bloomington, MN  55437 (map)

Live Meeting

Agenda:

5:00 –5:15 : Announcements
5:15 –5:25 : Sponsor
5:25 –6:45 : Query Tuning Tips (Itzik)
6:45 –7:00 : Survey Collection and Giveaways

Presentation:

Query Tuning Tips

Given a SQL Server querying problem there’s much that you can do to enable a good performing solution. Tuning involves arranging an optimal physical environment, e.g., by creating supporting indexes, as well as writing the query in a way that it would get an optimal execution plan. Many factors can affect the efficiency of the solution including the availability of indexes, data distribution and density, and others. In different scenarios, a different solution could be the most efficient for the same querying problem. Query tuning could be considered an art. This session will provide various tips to do efficient query tuning and demonstrate those through specific tuning examples.

Itzik Ben-Gan is a Mentor and Co-Founder of Solid Quality Mentors. A SQL Server Microsoft MVP (Most Valuable Professional) since 1999, Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning and Programming. Itzik is the author of several books including Microsoft SQL Server 2008: T-SQL Fundamentals, Inside Microsoft SQL Server 2008: T-SQL Querying and Inside Microsoft SQL Server 2008: T-SQL Programming. He has written many articles for SQL Server Magazine as well as articles and whitepapers for MSDN. Itzik’s speaking activities include TechEd, DevWeek, SQLPASS, SQL Server Magazine Connections, various user groups around the world, and Solid Quality Mentors’ events to name a few. Itzik is the author of Solid Quality Mentors’ Advanced T-SQL Querying, Programming and Tuning and T-SQL Fundamentals courses along with being a primary resource within the company for their T-SQL related activities

PASSMN July Meeting Next Week

Minnesota SQL Server Users Group

The July PASSMN meeting is is coming up next week.  If you’ve not registered now’s a great time to get your RSVP in.  We have Itzik Ben-Gan (blog) coming in to talk about some query tuning tips.

Here are the meeting details…

Date and  Time:

July 20, 2010, 5:00 PM CST

Location:

8300 Norman Center Drive, 9th Floor, Bloomington, MN  55437 (map)

Live Meeting

Agenda:

5:00 –5:15 : Announcements
5:15 –5:25 : Sponsor
5:25 –6:45 : Query Tuning Tips (Itzik)
6:45 –7:00 : Survey Collection and Giveaways

Presentation:

Query Tuning Tips

Given a SQL Server querying problem there’s much that you can do to enable a good performing solution. Tuning involves arranging an optimal physical environment, e.g., by creating supporting indexes, as well as writing the query in a way that it would get an optimal execution plan. Many factors can affect the efficiency of the solution including the availability of indexes, data distribution and density, and others. In different scenarios, a different solution could be the most efficient for the same querying problem. Query tuning could be considered an art. This session will provide various tips to do efficient query tuning and demonstrate those through specific tuning examples.

Itzik Ben-Gan is a Mentor and Co-Founder of Solid Quality Mentors. A SQL Server Microsoft MVP (Most Valuable Professional) since 1999, Itzik has delivered numerous training events around the world focused on T-SQL Querying, Query Tuning and Programming. Itzik is the author of several books including Microsoft SQL Server 2008: T-SQL Fundamentals, Inside Microsoft SQL Server 2008: T-SQL Querying and Inside Microsoft SQL Server 2008: T-SQL Programming. He has written many articles for SQL Server Magazine as well as articles and whitepapers for MSDN. Itzik’s speaking activities include TechEd, DevWeek, SQLPASS, SQL Server Magazine Connections, various user groups around the world, and Solid Quality Mentors’ events to name a few. Itzik is the author of Solid Quality Mentors’ Advanced T-SQL Querying, Programming and Tuning and T-SQL Fundamentals courses along with being a primary resource within the company for their T-SQL related activities

Please RSVP here if you will be attending in person, this helps us understand how many people to tell the sponsor to get food for.

Webcast Today – Performance Impacts Related to Different Function Types

I’ll be speaking for the SQL PASS Performance Virtual Chapter later today starting at 12 PM Eastern time.  The topic will be Performance Impacts Related to Different Function Types.  The abstract for the event is the following:

User defined functions provide a means to encapsulate business logic in the database tier.  Often the purpose of the encapsulation is to provide standard method access segments of data within the database.  Unfortunately, not all methods of creating user defined functions are equal.  In this session we’ll review the types of user defined functions and investigate the performance impact in selecting the different types

Goals:

  • Identify purposes for creating user defined functions
  • Discuss the types of user-defined functions
  • Demonstrate performance impact in selecting different types of functions

You can get to the event here.

What Would You Build? MSDN Subscription Giveaway

Along with a number of my MVP peers, I received three (3) MSDN Ultimate subscriptions.  These were sent to us with the intention of finding someone that hasn’t had the opportunity to use Visual Studio 2010 and provide them with the opportunity to get in and play with it. 

MSDN Ultimate Subscription

If you aren’t familiar with the MSDN Ultimate Subscription, it’s the ultimate subscription that you can get from MSDN.  Yeah, I went there.  For real though, it is full access to the MSDN library that includes Visual Studio, Windows 7, etc.  This subscription licenses all of that software for you to use to build and develop applications.  If you’ve looked at MSDN Subscriptions before then you probably know that they run for around $12,000.

Now I need to figure out how to get rid of my three subscriptions.  Some MVPs have already determined how they are going to give theirs away.  Take a look at how some others are giving away their MSDN subscriptions like Arnie Rowland (blog | twitter), Ken Simmons (blog | twitter), Denis Gobo (blog | twitter), and Jeremiah Peschka (blog | twitter).

CodePlex

I’m a big fan of CodePlex.  This is a place where open source projects can be placed for others to use.   There are also a ton of cool tools out there that you can use to make life simpler, for instance:

Admittedly the last two project are my own.  But the rest are some cool projects that you should already be checking out.

The Contest

What does this have to do with CodePlex?  Well, that is the focus of the first of three methods to give the MSDN Subscriptions away.

So for the first of the three MSDN Ultimate Subscriptions, leave a comment on this blog with the description of the a project you are interested in building and placing on CodePlex for the community to share.  You will have between now and July 31st that to leave the comment.  I’ll choose the winner randomly between the comments.  Of course, you can only be in the drawing once.

The suggestions do not have to deal with SQL Server specifically, but I am sure most that read this probably use that fairly regularly.  Leave any other questions in the comments below. 

Aren’t There Three

Yes, there are.  Part of the purpose of receiving these subscriptions is to get them to people that haven’t had a chance to experience Visual Studio 2010.  When I get creative on another method to give away the other two, I’ll do a post for those.  Of course, if you have suggestions there is a comment section on this post.

MVP Status Renewed

2010-07-01 09.03.12 In anticipation of today, earlier this week I had declared today Pancake Day and started the day making pancakes.  It was a great way to blow through the first hour without wearing out the F5 key on my laptop.

Now the waiting is over and I am happy to say my SQL Server MVP status was renewed for 2010.  Awesome.

I’d like to thank everyone who has asked me questions, answered my questions and allowed me to present in the past year.  All of this and many other things helped contribute to this renewal. 

If you aren’t familiar with the Microsoft’s MVP program, it is designed by Microsoft to recognize individuals active in the SQL Server community.  These people have made contributions that help build and support the SQL Server community. 

A lot of well deserved people also had SQL Server MVP status awarded or renewed today.  Take a chance if you can and congratulate the following:

If I missed anyone, let me know and I’ll add them to the list.  Great group of folks.

Update 1:35 PM
Dropped a name I mistakenly added due to over excited clicking in Tweetdeck.  Added three more names that I missed earlier.

Update 1:55 PM
Added four more that I found out about after the last update. 

Update July 2, 2010
Fixed a few more names of MVPs.

MVCRE2BNZVF8