Archive for the ‘user group’ Category.

Upcoming Presentation for NJ SQL User Group

Just wanted to send out a quick note that I’ll be presenting via LiveMeeting for the New Jersey SQL User Group next Tuesday, February 16th at 6:40 PM EST. I’ll be doing my Policy-Based Management talk. I will post the link to the presentation here when I get it.

NJ SQL User Group meeting page

LiveMeeting link: https://www323.livemeeting.com/cc/usergroups/join?id=B6MF59&role=attend&pw=

Tampa Bay SQL Server User Group Recap 10/13

I know this is a bit late but you know what they say, better late than never! This month’s meeting was quite exciting as we had a big-name speaker come in. This month we had Kevin Kline (Blog | Twitter) of Quest Software come in and speak to us about Disk I/O Tuning on SQL Server.

Typically our meetings kick off with announcements and general discussion but because we had Kevin this month (he was in town for SQLSaturday #21) we let Kevin have as much time as possible so we skipped our normal routine and got right to it! First off Kevin is a fantastic speaker and has a real easy-going presentation style which I really enjoyed. Many times during the presentation felt more like a dialogue as he engaged the audience on many topics. One of the great things about a speaker engaging the audience as such is that more nuggets of information can come out that sometimes even the presenter wasn’t aware of. For instance during one exchange between Kevin and Jonathan Kehayias (Blog | Twitter) something came up (pardon me for taking horrible notes and not remembering exactly what it was!) but it was something new to Kevin. The meat of the presentation (Slide deck can be found here) was geared much towards explaining the different RAID types and their respective benefits within a SQL Server implementation. Other great disk information such as partition alignment (which you DEFINITELY want to do as it nets you up to 30-40% performance gain!), which perfmon counters you should focus on to baseline/monitor your disk performance, SQL file configurations (i.e. multiple data files), SAN tips/tricks/gotchas, and more. One really cool tidbit that Kevin shared with us, in regards to seeing real-world performance examples, is the online MMORPG EVE Online is actually back-ended with SQL Servers all on solid state drives (SSD)! How cool is that? Here’s an article on it and how they benefitted from using this technology.

Overall it was a great meeting and a huge “thank you” to Kevin for speaking at our group this month! If you ever get the chance to catch a Kevin Kline presentation I can’t recommend it enough. If you’re going to PASS Summit this year Kevin will be presenting The Ultimate Free SQL Server Toolkit (Database Administration) as well as Team Management Crash Course (Professional Development). If the Team Management one is the same presentation as the one he gave during the 24 Hours of SQL PASS event I HIGHLY recommend you attend that one as there are some great bits of information in there!

Next month on November 17th our presenter will be Jonathan Kehayias presenting Understanding SQL Server Memory Management. Visit the user group website and register to attend.

Upcoming Speaking Engagements

Looks like August is definitely shaping up to be a busy one for me! First I’ll be presenting at SQL Saturday #16 in South Florida. That takes place on Saturday, August 8th. I’m really excited for this event since it’ll be the first SQL Saturday I’ve presented at.

Following that I’ll be heading over to Melbourne the following week on Thursday, August 13th for the Spacecoast SQL Server User Group meeting. At both locations I’ll be presenting my Policy Based Management 101 session. Then to finish off my month the following week I’m moving to a new place so August will definitely be an active one. Speaking of which, check out and participate in Active August! I’ll be writing up a series blog posts about my #activeaugust experience as well.

**UPDATE**
Sweet! Looks like I just confirmed with Jack Corbett (Blog | Twitter) that I’ll be presenting for the Orlando SQL Server User Group on September 15th!

Recap: Performance Tuning and Query Optimization

Tonight was our monthly SQL Server User Group meeting and our featured presenter this evening was Plamen Ratchev (Blog) presenting on performance tuning and query optimization. First off, he has an awesome accent. I think he’s of Croatian descent from what he mentioned but he rolls his R’s something fierce. I should’ve had him say the phrase “reporting services” a bunch of times just to make me giggle. Anyways, I’m way off topic…

He opened with a quote from Donald Knuth that stated

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil

This was a good point to open with in that if you try to focus on only performance in the development phase you’re more than likely going to perform an epic fail. He then went on to show the differences between being reactive and proactive in terms of performance tuning. His take was that in Europe their development processes focused more on being proactive and trying to take care of issues before they become major problems as opposed to trying to run around putting out fires all the time like many a DBA (myself included) is forced to do on a daily basis. In an interesting story he relayed to us he told us about how he had come to the U.S. and pitched a European software that allowed a major car manufacturer to improve their processes. The software would basically alert you if anything in production fell “out of the norm” and would advise actions on how to fix it. The American company had a different approach to their process. They basically hired a team of high-priced consultants to come in for a week, measure everything nuts to bolts about what’s wrong in the production process, produce a report and leave (whether or not problem got fixed). What surprised me most was that he told us the manager told him if there’s a problem they pretty much just build another assembly line somewhere else rather than fix current issue. If you’re wondering why they need Federal bail-out money, this story should give you a slight clue.

The presentation continued on with things such as common performance issues you’re likely to find such as inefficient queries, retrieving too much data, inefficient or missing indexes and a few other things. This was a nice list to see for both devs and DBA’s alike so everyone is aware of these common mistakes. This lead to topic of problematic designs such as the “one-true lookup” table issue. This is when rather than normalizing your data someone decides its easier to just throw everything in to one large table and add columns as needed later on. I can see some of you cringe when you read that since you’ve probably seen that in production somewhere at some point.The surprising thing that came out of this example though (to me anyways) was that sometimes this setup actually makes sense for very specific applications such as a simple survey or a medical application that is only storing straight facts (i.e. patient monitor). Another oldie but a goodie is mismatched data types on join columns or filters. While this may work without a problem, when you throw a heavy work load at something like this you’ll see performance tank because behind the scenes the data engine is having to do lots of implicit conversions to process that query for you. So remember that little tidbit next time you’re planning with your devs and database developers.

The next interesting thing I learned was regarding data type optimization. Do you know what the one of the fundamental differences is between VARCHAR and NVARCHAR besides one taking up twice as much space as the other? NVARCHAR handles multiple collations while VARCHAR is more for single so if your application is only going to be delivered via a single, default collation then stick with using VARCHAR.

I could go on and on but needless to say this was an extremely insightful and useful presentation. Another user group member, Ron Dameron (Twitter), noted in Twitter this evening

…seen this deck twice now. Learned new stuff both times. Thx Plamen

If you ever get a chance to attend one of Plamen’s presentations at a live event I highly encourage you to do so as he’s a brilliant guy and presents well. If he’s not coming anywhere near you, you can still check out his presentation stylings by watching his videos over at JumpstartTV. In closing here’s some book recommendations he threw out at the end of his slide deck. Basically this is just an excuse for me to use the cool Carousel feature from Amazon!

Policy Based Management with SQL 2008

A few weeks back I presented at the Tampa SSUG meeting on Policy Based Management with SQL 2008. Unfortunately due to sickness and apparently my own laziness, I never got around to doing a follow-up post or posting my slide deck. First the slide deck:

Powerpoint 2007 version

Powerpoint 97-2003 version

As a warning the deck itself is a bit sparse with how-to info as the meat of my presentation is in demo format. Given that fact, I will start a series of blog posts covering Policy Based Management and how/what you can do with it. Keep an eye out in the coming weeks for those! In the meantime a big thank you for everyone that attended the Tampa presentation, hopefully I’ll be giving this same presentation again at SQL Saturday South Florida in August.