Category Archives: #SQLPass

#SQLPass

SQL Server 2012 AlwaysOn Availability Groups Rock

SQL Server 2012 brings huge improvements for scaling out and high availability. To put these changes into perspective, let’s take a trip down memory road first and look at the history of database mirroring.

SQL Server 2005 first introduced mirroring, although it wasn’t fully supported until a service pack. In many ways, mirroring beat the pants off SQL Server’s traditional high availability and disaster recovery methods. Log shipping, clustering, and replication were known for their difficulties in implementation and management. With a few mouse clicks, database administrators could set up a secondary server (aka mirror) to constantly apply the same transactions that were applied to the production server. In synchronous mode, both servers had to commit every transaction in order for it to commit, giving a whole new level of confidence that no transactions would be lost if the primary server suddenly died. In asynchronous mode, servers separated by hundreds or thousands of miles could be kept in sync with the secondary server being a matter of seconds or minutes behind – better than no standby server at all.

Preparing to Compress the Stream

Preparing to Compress the Stream

SQL Server 2008 improved mirroring by compressing the data stream, thereby lowering the bandwidth requirements between the mirroring partners.

In one of the most underrated features of all time, Microsoft even used mirroring to recover from storage corruption. When the primary server detected a corrupt page on disk, it asked the mirror for its copy of the page, and automatically repaired the damage without any DBA intervention whatsoever. Automatic page repair doesn’t get nearly the press it deserves, just silently working away in the background saving the DBA’s bacon.

Database Mirroring’s Drawbacks

While SQL Server was able to read the mirror’s copy of the data to accomplish page repairs, the rest of us weren’t given the ability to do anything helpful with the data. We couldn’t directly access the database. The best we could do is take a snapshot of that database and query the snapshot, but that snapshot was frozen in time – not terribly useful if we want to shed load from the production server. I wanted the ability to run read-only queries against the mirror for reporting purposes or for queries that could live with data a few minutes old. Some companies implemented a series of snapshots for end user access, but this was cumbersome to manage.

Definitely Not Using High Safety Mode

Definitely Not Using High Safety Mode

Unlike log shipping and replication, mirroring only allowed for two SQL Servers to be involved. We could either use mirroring for high availability inside the same datacenter, OR use it for disaster recovery with two servers in different datacenters, but not both. Due to this limitation, a common HA/DR scenario involved using a cluster for the production server (giving local high availability in the event of a server failure) combined with asynchronous mirroring to a remote site. This worked fairly well.

Fairly.

The next problem: database failovers are database-level events. DBAs can fail over one database from the principal to the secondary server, but can’t coordinate the failover of multiple databases simultaneously. In applications that required more than one database, this made automatic failover a non-option. We couldn’t risk letting SQL Server fail over just one database individually without failing over the rest as a group. Even if we tried to manage this manually, database mirroring sometimes still ran into problems when more than ten databases on the same server were mirrored.

Database mirroring didn’t protect objects outside of the database, such as SQL logins and agent jobs. SQL Server 2008 R2 introduced contained databases (DACs), a packaged set of objects that included everything necessary to support a given database application. I abhor DACs for a multitude of reasons, but if you were able to live with their drawbacks, you could more reliably fail over your entire application from datacenter to datacenter.

Enter AlwaysOn: New High Availability & Disaster Recovery

It’s like mirroring, but we get multiple mirrors for many more databases that we can fail over in groups, and we can shed load by querying the mirrors.

That might just be my favorite sentence that I’ve ever typed about a SQL Server feature.

I am the last guy to ever play Microsoft cheerleader – I routinely bash the bejeezus out of things like the DAC Packs, Access, and Windows Phone 7, so believe me when I say I’m genuinely excited about what’s going on here. I’m going to solve a lot of customer problems with mirroring 2.0, and it might be the one killer feature that drives Denali adoption. This is the part where I raise a big, big glass to the SQL Server product team. While I drink, check out the Denali HADR BooksOnline pages and read my thoughts about the specifics.

First off, we get up to four replicas – the artist formerly known as mirrors.

Denali also brings support for mirroring many more databases. We don’t have an exact number yet – we never really got one for 2005 either – but suffice it to say you can mirror more databases with confidence.

Preparing to Demo Availability Groups

Preparing to Demo Availability Groups

DBAs set up availability groups, each of which can have a number of databases. At failover time, we can fail over the entire availability group, thereby ensuring that multi-database applications are failed over correctly.

Denali’s HADRON improvements change my stance on virtualization replication. For the last year, I preferred virtualization replication over database mirroring because it was easier to implement, manage, and fail over. Virtualization still wins if you want to manage all your application failovers on a single pane of glass – it’s easy to manage failovers for SQL Server, Oracle, application servers, file servers, and so on. However, the secondary servers don’t help to shed any load – they’re only activated in the event of a disaster.

AlwaysOn Isn’t Perfect

I need to be honest here and tell you that Denali threw out the baby with the bathwater. There’s going to be a lot of outcry because some of our favorite things about database mirroring, like extremely easy setup, are gone. Take a deep breath and read through this calmly, because I think if you see the big picture, you’ll think we’ve got a much smarter toddler.

AlwaysOn relies on Windows clustering. I know, I know – clustering has a bad reputation because for nearly a decade, it was a cringe-inducing installation followed by validation headaches. Some of my least favorite DBA memories involve misbehaving cluster support calls with finger-pointing between the hardware vendor, SAN vendor, OS vendor, and application vendor. This is different, though, because clusters no longer require shared storage or identical hardware; we can build a cluster with a Dell server in Miami, an HP server in Houston, and a virtual server in New York City, then mirror between them. Now is the right time for AlwaysOn to depend on clustering, because the teething problems are over and clustering is ready for its close-up. (One caveat: clustering requires Windows Server Enterprise Edition, but Microsoft hasn’t officially announced how licensing will work when Denali comes out.)

When you’ve got a clustering/mirroring combo with multiple partners involved, you want to know who’s keeping up and who’s falling behind. You’ll also want to audit the configurations. There’s an improved Availability Group dashboard in SQL Server Management Studio, but I’d argue that GUIs aren’t the answer here. For once, brace yourself – I would actually recommend PowerShell. I’ve given PowerShell the thumbs-down for years, but now I’m going to learn it. It’ll make HADRON management and auditing easier.

Do not try what you're about to see at home. We're what you call consultants.

Do not try what you're about to see at home. We're what you call consultants.

Summing Up Denali AlwaysOn

There’s a lot of challenges here, but as a consultant, I love this feature. It’s a feature built into the product that gives me new ways to handle scalability, high availability, and disaster recovery. There’s a lot of potential in the box, but the clustering requirements are going to scare off many less-experienced users. Folks like us (and you, dear reader, are in the “us” group) are going to be able to parachute in, implement this without spending much money, and have amazing results.

Over the next few months, I’ll be taking you along with me as I dig more into this feature. I plan to implement it in labs at several of my customers right away, and I’ll keep you posted on what we find. If it’s anywhere near as good as it looks, I’m going to be raising a lot of glasses to Microsoft.

If not, I’ll be pointing Diet Coke bottles at Building 35 until they fix the bugs, because this feature could rock.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Microsoft Atlanta: Cloud-Based SQL Server Monitoring

Microsoft Atlanta is a new cloud-based SQL Server monitoring tool.  Companies can deploy an agent on their SQL Server 2008 and 2008 R2 instances, and the agent will communicate up to Microsoft’s servers in the cloud (through a secure gateway also installed inside the company’s network.)  Microsoft aggregates the data, analyzes it looking for problems, and displays it back to IT users like database administrators through a web-based dashboard.

I’m not bashful about cheerleading for Microsoft products that rock, but I’m not feeling this one quite yet.  Here’s the issues I’m concerned about:

It only monitors SQL Server 2008 and newer. Most of my clients still have SQL Server 2005 (if not 2000) in the shop.  They don’t want one tool to monitor SQL Server 2008 performance and another solution for SQL Server 2005.  Frankly, they don’t even want to settle for one monitoring tool per database platform – they want one pane of glass to monitor SQL Server, SharePoint, IIS, app servers, and often other database platforms like Oracle or Sybase.

Microsoft Atlanta

Microsoft Catlanta

It sends diagnostic data to the cloud. Some of my clients can’t let their own developers get access to queries running on the production server, let alone send them offsite to servers that could be in any geographic location.  In larger enterprises, privacy and compliance regulations fiercely guard where data can go.  Atlanta could be sending your usernames, application names, and queries to the cloud – and don’t forget that queries can include things like customer names, personally identifying numbers like SSNs, or even credit cards.

It’s not real-time. When a user calls saying their query just timed out or produced an error, I need to see what’s happening on my servers right now.  I don’t want to use one tool to troubleshoot what happened 90 seconds ago versus what’s happening now.  I need live data, and I can’t wait for round trips to the cloud.

It feels like it’s targeted at small businesses that can’t afford a monitoring infrastructure or an in-house database administrator.  They’ve got just one or two SQL Servers, and if they added a monitoring tool in-house, they would have to put it on the same SQL Servers they’re monitoring – thereby introducing a nasty little point of failure.  Even if they added another SQL Server, they wouldn’t know how to read the results of most monitoring tools, and they see Microsoft Atlanta as the Easy Button.  For these users, it seems to make sense at first glance, except there’s one little problem.

Small businesses with no SQL Server staff in-house will rarely find out that this product exists.

You know what I think?  (Of course you do, because you read my blog, and you’re inside my head.)  I think Microsoft should bundle Atlanta with every SQL Server as an option during the installation.  Currently, the installation process asks if we’d like to send feature usage data back to Microsoft, and I get the feeling there’s a dashboard somewhere in Building 35 that proves only 14 people in the world have ever used Service Broker.  That’s a good start, but let’s kick it up to the next level and ask if users want to get performance recommendations sent to them weekly, and enter an email address right then and there to subscribe to the alerts. SAP does something like this by running weekly tests on their databases at each client automatically, phoning those results home, and then sending the users a warning when something has gone awry in their environment.

I found ur performanz. Iz in the toilet.

I found ur performanz. Iz in the toilet.

It shouldn’t be an extra-pay feature – and I’m not saying that because I think we’re entitled to it.  I just think very, very few people will pay extra for this as an add-on service, but it could be a really neat feature to entice businesses to upgrade to the latest versions of SQL Server.  As a DBA, I’d love to forward my boss the weekly Microsoft email alerts:

  • Me: “Looks like Bob in Accounting went wild and crazy with the joins again.  Here’s a list of recommendations to improve his queries.  Instead of us spending another $10k on drives like he asked, he needs to fix his queries.  Do you want to take them into Accounting, or do you want me to?”
  • Boss: “Wow, that Bob is a bozo.  Hey, can we get these same recommendations for the HR server?”
  • Me: “Nope, that’s SQL Server 1946.  This is a new feature of SQL Server 2031.  I can haz upgrade?”
  • Boss: “Yes. Kthxbai.”

You can learn more and sign up for the beta free at MicrosoftAtlanta.com.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

#SQLPASS Summit Keynote Day 1

You can refresh this page every couple of moments to see what’s happened.  The most recent updates are at the bottom.

You can watch the keynote live online too.

Tina Turner Onstage at #SQLPASS

Tina Turner Onstage at #SQLPASS

8:21AM – Today opened with Tina Turner singing “Simply the Best.”  It’s either that or I drank entirely too much last night and Rushabh opened with a musical number, I’m not quite sure.

8:28 – Rushabh keeps talking about how we’ve touched a lot of people.  I think I read about this in the harassment complaint.  They’re aiming to touch more people – or maybe be touched by more people, I’m not quite sure – by webcasting the keynote live for free.

8:35 – Microsoft’s Mark Souza is playing doctor onstage to talk about the 400+ Microsoft development team members here to answer your questions.

8:39 – Talk to Microsoft folks, and you’re eligible to win all kinds of prizes including an XBox Kinect.

8:40 – “Everybody, look under your chair – if you’ve got an envelope, you just won a Dell Alienware laptop!”  Dang, all I got was chewing gum.  And of course you know I just felt under there without looking.  Ewww.  I won some used chewing gum.

SQLPASS Keynote

SQLPASS Keynote

8:42 – Rushabh’s introducing Ted Kummert to talk about some upcoming news.  WOOHOO!

8:46 – Playing a video explaining the history of SQL Server.  Best quote so far: “I figured if I could build an even halfway decent database, Microsoft could sell the heck out of it.”  Oh, the jokes are just zipping around.  This is a great video, though – really helps build a connection with the people building this tool, makes them personal and identifiable.  This is one of the best marketing-ish videos I’ve seen.  Nice work.

8:49 – Ted Kummert took the stage, and immediately started off by saying that a lot of the SQL Server people live & work in Seattle, and having the Summit here helps them send more people.  Oooo.  Okay, got the message there.

8:55 – SQL Server 2008 R2 Parallel Data Warehouse is now released to manufacturing.  This is a little tricky, though – it’s only sold through manufacturers along with hardware.  It isn’t available for download & testing on your own machine.  It’s sold as a big honkin’ appliance that you just plug in and go like hell.

9:00 – Demoing Parallel Data Warehouse with a 100TB copy of the TPC-H benchmark.  Eagle-eyed watchers will notice that this isn’t using SQL Server Management Studio – PDW has its own admin tool still.

Ted Kummert Onstage with a Parallel Data Warehouse

Ted Kummert Onstage with a Parallel Data Warehouse

9:01 – Running PowerPivot queries to suck a subset of the billions of rows – showing off the integration between PDW, Excel, PowerPivot, etc – talking about the whole-stack story.

9:04 – Here’s my thoughts on Parallel Data Warehouse from last year’s announcements and interviews.  I like the idea, but people need to remember that it’s not managed with traditional SQL Server tools or techniques or staff.  It’s a sealed box, and you can’t do anything with it – it’s manufacturer maintained.

9:05 – Yahoo’s onstage talking about their 12TB Analysis Services cube loading 60 50GB files per hour, 1.2TB per day, 3.5b events per day.  Less than 10 second average query times.

9:10 – Announcing Premier Mission Critical, Microsoft Critical Advantage Program for Parallel Data Warehouse.  No details on it though.

9:11 – Bob Ward announced & demoed Microsoft Atlanta – I’ve got a separate post with my thoughts on Microsoft Atlanta.  It’s a cloud-based SQL Server monitoring system that only works for SQL Server 2008 and R2 (and newer) that detects configuration problems.

9:18 – Cloud time!  Kummert says Azure needs to be self-managed, have elastic scale, and be agile & familiar.  It’s solving real business problems today.  Next up: we’ve got Community Technology Previews announced originally at PDC for Web Admin, Reporting, and Data Sync.

Demoing Azure DataMarket

Demoing Azure DataMarket

9:24 – Available now – the Windows Azure Marketplace DataMarket, something like the iTunes Store for data sets – both commercial and freely available.  They’re demoing how to add internet-accessible datasets from the DataMarket with, say, weather data, to enrich your reporting.  On rainy days, you sell less bicycles. I’m a big fan of this.

9:32 – Ted’s encouraging the audience to go sign up and get engaged in the cloud.

9:33 – “What’s Next for SQL Server?”  The next version is called SQL Server Denali for now as a code name, and I’ve got some quick information about SQL Server Denali.  They’ll be demoing it later, plus handing it out to attendees after tomorrow’s keynote.

9:37 – The changes in SQL Server Integration Services will be huge, he says – big improvements in management and servers.  R2 was a big release for reporting & analytics, plus Office 2010 focused on managed self-service analytics.  Excel users were empowered to build BI applications, and PowerPivot was embedded into SharePoint.

9:39 – Project Crescent is a new web-based reporting system letting end users tell their own stories about the data.  Amir Netz is demoing PowerPivot, then saying that’s good, but we need something bigger for enterprise datastores.  The new BI Development Studio, running on top of Visual Studio 2010 Premium, hooks into the same column-oriented storage engine that PowerPivot used, but now you can use it on a server so you get centralized security and bigger horsepower.

Demoing Column Store Indexes

Demoing Column Store Indexes

9:49 – SQL Server Denali will have columnar indexes built into the database engine.  Columnar indexes are what makes PowerPivot so insanely fast.  More on this later.

9:52 – They’re demoing Project Crescent to build reports.  Unfortunately, I gotta bail – off to set up for my session!

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

What the #SQLPASS Summit Means to You

Every year, the Professional Association for SQL Server (PASS) holds a big conference for SQL Server professionals – DBAs, developers, BI people, etc.  Depending on how you look at it, it’s either their North American conference or their global conference – people come from all over the world to attend.

This year’s PASS Summit takes place in Seattle, just like it did last year, and the year before that, and how it will for the next couple of years.  You might detect a slight undercurrent of disappointment there, and I’ve blogged about how the PASS Board isn’t listening to its members.  We won’t revisit that topic again.

Keynote Demos with Ted Kummert

Keynote Demos with Ted Kummert

What Happens at the Summit

PASS Board of Directors members and Microsoft executives give speeches called keynotes at the beginning of each day.  Most of the attendees gather in one big room for these keynotes, and since we’ve got a lot of eyeballs, PASS and Microsoft use this time to unveil whatever they’re proudest of at the moment.  It’s a mix of cheerleading, sales pitches, and technical demos, and you can guess which ones are the most popular with the audience.  If you follow blogs closely, most of the keynotes aren’t really news, but when there’s news, it’s good stuff.  Last year they unveiled the CTP of SQL Server 2008 R2, the new Datacenter Edition, and the SharePoint 2010 PowerPivot gallery.

After the morning keynote, attendees split up and run off to smaller sessions.  The Summit’s staggering array of content choices is intimidating for all of us – the amount of presentations available can make it tough to choose wisely.  Fortunately, you can buy DVDs that include video of all the sessions.  Unfortunately, they’re hundreds of dollars in addition to your registration fee, so as a result, I’ve never bought a set.

The more I go to PASS, the less free time I actually have to sit in sessions.  Take my Tuesday for example – after the keynote, I race off to my own presentation, Virtualization and SAN Basics for DBAs.  After that I’m grabbing lunch with Microsoft folks, then doing a book signing at 1PM.  I’ve got a short break, then it’s off to the Lightning Talks room where I’m giving a five-minute session called SANs Simplified.  At 4:30 Buck Woody and I are doing a session called You’re Not Attractive But Your Presentations Can Be, and then it’s off to find some food before the parties start.

SQL folks at the Zig Zag

SQL folks at the Zig Zag

There are four separate parties on Tuesday night alone, and it’s my chance to catch up with all my virtual coworkers.  The Summit is a very different experience for people on Twitter because we all know each other already before we even shake hands.  Folks on Twitter know where the parties are (because we broadcast it on Twitter) and know what everybody’s up to.  You’d think we wouldn’t have anything to talk about because we’re constantly in touch anyway, but we end up just chatting away for hours.  These personal times are when you build bonds with people for life – these kinds of discussions are how I got involved with my book project.

Tuesday night, I can’t stay up too late – at 6:45AM the next morning, I’m hosting the Virtualization Virtual Chapter’s Breakfast sponsored by VMware.  Wednesday night might involve a little extra partying, though – it’s #SQLKilt day, and a bunch of us are going to wear kilts to the conference.  If you don’t feel like a good strong beer after a day of wearing a kilt, there’s something wrong with you.

PASS Exhibit Hall

PASS Exhibit Hall

Somewhere in all that, I have to stop by the exhibit hall to talk to all my vendor buddies.  The exhibit hall has dozens of companies offering all kinds of products, and it’s my chance to see the latest versions of everything.  I learn something nearly every time I catch up with vendors because the tool market’s always changing.

It’s a complete whirlwind, and it’s over before you can take a breath.

Why I Go To The Summit

It sounds like a lot of fun, and it is – any conference can be – but there’s real work going on here too.  I’m building relationships with vendors and learning what they can offer my clients.  I’m building relationships with other SQL Server professionals who watch my training, see what I know, and might pay to attend one of my classes later – or SQLCruise.  I’m also putting my name out there (in a subtle way) in case anybody needs consulting help.  I’m not one of those guys who goes shoving business cards at strangers, but I’m not a wallflower either.

I have to get a return on my investment, because attending the Summit isn’t cheap. Between travel, hotels, and the Summit registration fees, it can easily cost over $3000.  For those of us who are self-employed, it costs even more, because we can’t bill clients while we’re at conferences.

The best part is that in today’s hyper-connected world, even though you’re at home, you can get some of the benefits just by keeping track of what’s happening at the Summit.

How To Follow What’s Happening

You can register for free to watch the keynotes live over the web for the first time – a tremendous improvement.  While you watch the official feed, you can get my interpretation by swinging over to BrentOzar.com while you’re watching.  For the last few years, I’ve liveblogged the keynotes the same way Engadget liveblogs Steve Jobs keynotes, only with less photos.  I take notes minute by minute, throw a few photos in there, and save the blog every couple of minutes so people can refresh the page and see the updates.

Twitter notes about the keynote aren’t as easy to follow.  It tends to be pretty noisy during the Summit, and people don’t always use the #sqlpass hash tag in their tweets.  If you’d like to try it anyway, check out the #sqlpass Twitter search, but keep in mind you’re only seeing a subset of the real PASS tweets.

Want to see what’s going on via photos?  Check out the #sqlpass search results on Flickr.  You don’t have to be a member in order to view photos, although you have to log in to post comments.  That search result link is sorted with most recent first, so you can refresh it to see new photos.  Pat Wright and I both have Eye-Fi cards in our cameras, so our pictures will get automatically uploaded to Flickr as we take ‘em.

If you want the absolute easiest way to follow the Summit, subscribe to my email alerts.  Whenever I post to this blog, you’ll get an email with the full contents of the post – not a summary, but the whole post, ad-free.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

My Latest Experiment: #SQLPASS Free-Con

At big conferences like the Professional Association for SQL Server Summit in Seattle, attendees can pay extra to attend a pre-conference or post-conference session.  Select speakers talk all day on just one topic, so the attendees get really deep coverage on it.  Competition among speakers is tough for these slots because there’s money involved – they get paid per attendee.  A few of us co-submitted a performance tuning abstract this year, but we didn’t get accepted.  (I’m completely okay with that – the quality of the accepted sessions was outstanding.)

Free-Con 2010 at the Hugo House

Free-Con 2010 at the Hugo House

I decided to offer my own free invitation-only pre-conference instead, and the Free-Con was born.  I wanted to make sure I didn’t compete with the paid pre-con sessions in any way, so I ran mine on Sunday, a day before the paid ones.  I emailed about a dozen bloggers from various walks of life and said, “Get your free-con.“  I really wish I could have invited a huge number of people, but for the first draft of this experiment, I wanted to keep it a very small group.  I really like the chemistry that a 15-person group seems to produce: just big enough to create small pockets of discussion, yet small enough that everyone can get to know everyone else’s viewpoints.

Seattle native Kendra Little (Blog@KendraLittle) offered to help pick the location and arrange the food, and frankly, she did a better job of that than I did on the presentations!  We gathered at the Richard Hugo House, a downtown Seattle spot for writers to improve their craft, and I performed in the cabaret.  We feasted on healthy and tasty local food – well, except for the Trophy cupcakes brought by Yanni Robel (Blog@YanniRobel), which were just tasty.

No SQL Server talk here – we’ll get enough of that during the PASS Summit this week.  Instead, we covered topics like how the employment market is changing, how to create and manage your personal brand, how to work with vendors and publishers, how consultants achieve a work/life balance, and why content creators are so valuable.

This event really reinforced to me that the most valuable things you can get from a conference are the conversations from people who share your troubles and beliefs.  I left inspired to do more work to help more people achieve their dreams, and empowered by thoughts from people like Karen Lopez, John Robel, and Steve Jones who challenge me to do a better job.

Richard Hugo House, Seattle

Richard Hugo House, Seattle

The Free-Con is still too fresh in my mind to know if it was a real success – the real proof will be seen in what the attendees took away from it.  I’m going to be following up with them over the coming months, challenging some of them to take their online persona to the next level, and challenging others to mentor bloggers, presenters, and podcasters.  If I think it helped (and especially if they tell me it helped) then I’ll do one at Connections next spring too.

Even if nothing comes of it, I’m proud that I tried it.  I trace the heritage of this idea back to my coworking time at the Caroline Collective and to my time working with Christian Hasker and Andy Grant in the Quest Software marketing team.  Those two times in my life taught me the importance of taking gambles and creating stuff.  In 2010, I passed the Microsoft Certified Master tests the first time I took ‘em, wrote my free Twitter e-book, launched SQLCruise with Tim Ford, gave up the stability of a paycheck to start consulting full time with SQLskills, taught my first paid pre-con at SQLbits, and tried this Free-Con.  As the year starts to come to a close, I feel incredibly grateful to have so many wonderful people in my life who support and enable my crazy ideas – or at least humor me.  (That includes you, Erika!)

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

SQL Server (2011) Code Name Denali – Release Date Nov 9 2010

Microsoft just announced the release of the next version of SQL Server, code named Denali, at the PASS Summit in Seattle.  The Community Technology Preview (CTP) version, somewhat like an early alpha or beta release, is available for download now to MSDN members.  It’s available in both 32-bit and 64-bit versions, and it shows up as version 11.0.1103.9.

After installation, here’s what the launch screen looks like for SQL Server Management Studio, which gives away the first clue of changes:

SQL Server Denali (2011) Management Studio

SQL Server Denali (2011) Management Studio

Deep, calming breaths.  Despite the “Powered by Visual Studio” label, SSMS hasn’t changed dramatically since it was originally introduced back in SQL Server 2005.  After seeing the terrifying splash screen and logging into a server, we’re met with the traditional user interface seen below.

SQL Server Management Studio

SQL Server Management Studio

There’s one tweak that pops out right away: there’s a dark blue background around the edges of the window panes.  There’s just enough to be familiar and comforting here, but Visual Studio users will recognize the hint – the objects on this screen can be undocked!  Simply grab hold of Object Explorer or Object Explorer Details, drag them away from SSMS, and presto:

LET MY WINDOWS GO THAT THEY MAY SERVE ME

LET MY WINDOWS GO THAT THEY MAY SERVE ME

Welcome to 2010, people – we’ve finally got multi-monitor support for SQL Server Management Studio!  We can tear windows off and drag them off to different monitors.  This new Visual Studio based user interface brings some baggage with it, though – Visual Studio users will note that over some remote desktop connections, WPF-based apps can be slow or downright unusable.  Microsoft has blogged about ways to improve Visual Studio performance over RDP, but it’s still a sore point for many users.

The “Denali” branding is everywhere in this early CTP, and I’m not sure what the final release name will be – SQL Server 2011 would follow the previous naming conventions, but even the database versions on the database properties page show up as Denali:

SQL Server "Denali"

SQL Server "Denali"

Keen-eyed readers will notice a new “Containment type” option on that page, and there’s plenty of other goodies scattered through the UI that hint at improvements under the engine’s hood.  One of the more interesting to me is a new Distributed Replay trace utility to push a lot of load from different computers simultaneously, all controlled from a central computer.  Stress testing SQL Server has been painful without getting third party tools involved, and now it looks like we might have something in the box to give us a hand.

From what I’ve seen so far, though, this release mostly represents a set of incremental improvements, not a dramatic shift like we saw from SQL Server 2000 to 2005 – mostly.  There’s one change that’s got me dancing on my chair, and it deserves a separate blog post all by itself – Denali’s new High Availability & Disaster Recovery options, aka HADRON.

You can download SQL Server Denali (2011) CTP1 today for free.

Brent Ozar PLF Team

Brent Ozar PLF is a boutique consulting firm focused on understanding your environment and strategy. We partner with you to objectively identify pain points and develop solutions that align to your business goals. Your experience comes first; we share our knowledge and expertise to help you.

More Posts

Follow Me:
TwitterFacebookGoogle PlusYouTube

Conferences and WiFi Security

Just a few quick notes about security before anyone shows up at the PASS Summit.

First, set up lock codes on your phones, iPads, and laptops.  Those of us who are security-conscious tend to play pranks on those of us who aren’t.  (Ask Tom LaRock about the year he found a shirtless fireman on his desktop wallpaper and couldn’t get it back off – we play for keeps.)

Second, install the Firefox plugin HTTPS Everywhere.  This forces popular web sites like FaceBook, Live, and Twitter to use HTTPS instead of HTTP, thereby encrypting your web surfing instead of SSL.

Third, when you’ve done the above two, check out Firesheep.  It’s a Firefox extension that listens to unencrypted HTTP traffic on your WiFi network and lets you instantly log in as any sucker who isn’t using HTTPS.  This works great at hotels and conferences where lots of your friends (or enemies, whatever) are surfing during keynote addresses.

Consider yourself warned.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Free Webcast Today: Five Fast Fixes for Fatal Flaws

Today at noon Eastern, I’ll be giving a new presentation called Five Fast Fixes for Fatal Flaws for the PASS Performance Virtual Chapter.

I’ve been doing a lot of work lately for clients with slow servers, and I’ve noticed some new patterns popping up repeatedly.  One of these was the problems with SQL Server on power-saving processors that I blogged about recently, for example – this is something I’d only seen rarely in the field until last month, and suddenly it’s showing up everywhere.  In this short presentation (should be around 45 minutes), I’ll cover these issues and show how to fix them quickly.

You can attend via LiveMeeting on this link at noon Eastern, or download an iCal event to add to your Outlook calendar.  Disclaimer: I have no idea if that Outlook thing will work, but if it doesn’t, let me know what error you get.  I’m a Mac guy – it works on my machine.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Watch the PASS Summit Keynote Live Online

For the first time this year, the Professional Association for SQL Server will be broadcasting the PASS Summit keynote live on the web!

Each day of the Summit, Microsoft staff will open up the day with their keynote speeches:

  • Tuesday – Ted Kummert will be talking about Microsoft’s commitment to mission critical applications and easier business intelligence.  Given that the other two keynotes mention the next version of SQL Server, I bet Ted will also cover it here, meaning this will be your first look at vNext.
  • Wednesday – Quentin Clark will be showcasing the next version of SQL Server, including “powerful features for data developers and a unified database development experience” – every time he says DAC Pack, you have to take a shot of espresso.
  • Thursday – David DeWitt will cover query optimization and better execution plans in future versions of SQL Server

And it’s frrrrrreeee.  Register now to watch the keynote live on November 9th.  I’ll also be liveblogging it with my own trademarked irreverent take on the announcements.  And maybe some Lady Gaga pictures.  No promises, though.

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube

Why I’m Disappointed in the PASS Election Process

A little time has passed since we found out PASS didn’t allow Steve Jones (Blog@Way0utwest) on the ballot for the Board of Directors election, and I’ve heard a lot from friends of mine on both sides.  There’s a lot of passionate disagreement when somebody who’s done all this can’t make the cut:

  • Steve Jones helped build SQLSaturday as a regional event, something PASS had failed at repeatedly
  • He runs SQLServerCentral, the biggest SQL Server community online (blows the doors off SQLPass.org in more ways than I can count)
  • He’s led the way by blogging and recording webcasts several times a week for years

Steve leads by example, full stop.  It seems incomprehensible that a man this community-oriented can’t make the PASS Ballot, but let’s take a step back.  Let’s pretend this wasn’t a community election at all, but a database outage.  Let’s put this discussion in a different light, an imaginary conversation between a database administrator and the boss:

Boss: “I just got a call from the users.  They’re screaming because one of their favorite databases is down.”

DBA: “Yes, but five other databases are up.”

Boss: “What?!?”

DBA: “They’re great databases, and I think you’ll find they’re – ”

Boss: “So?  The one they want is down.  What’s the story?  Is it corrupt?”

DBA: “No.”

Boss: “Well, what happened?  Was it some kind of accident?”

DBA: “We followed a process.  Here’s a copy of it.”

Boss: “Where’d you get this?”

DBA: “From the board over there.  It’s been posted for a long time.  You could have said something before we followed it.”

Boss: “What?  And you just followed it word for word?  Didn’t you stop to check it or ask for help from others in the community?”

DBA: “The team got together and discussed it quite a bit privately, but we couldn’t change the process.”

Boss: “You couldn’t change something?  You?  Last week a vendor tried to get you to install software using the SA account, and you flat out told them no, even though it was a part of their written process.  Why did you follow this one?”

DBA: “I can’t tell you that due to security and privacy reasons, but let’s just say that database wasn’t the right fit for us.  We really believe that database should not have been part of the organization.”

Boss: “Wait – didn’t we have a problem around this time last year when you followed a process?”

DBA: “Yes, but let’s focus on all the improvements I’ve made.  And I’m here voluntarily, you know.”

See how ridiculous this sounds?

If wanting Steve Jones to bring transparent communications to PASS is wrong, I don’t want to be right.  I’m trying to see both sides, but I just don’t get it.  I have personally asked Steve repeatedly to run for the Board because he has a solid track record of doing things that PASS needs to do – not just talking about them, but doing them.  I went so far as to tell a Board member, “If you don’t believe in Steve’s ability to lead the community, it’s not Steve’s problem – it’s yours.”  I really wanted PASS to learn and grow with Steve’s help.  I am so bummed out that PASS chose not to let Steve on the ballot, and I care a lot about this issue.  The only way to express my passion is with a 1980s music video:

Brent Ozar

Brent specializes in performance tuning for SQL Server, VMware, and storage. He's one of the very few Microsoft Certified Masters of SQL Server, a published author, and a Microsoft MVP. He likes travel, Jeeps, Apple gear, jokes, and writing about himself in the third person. Read more and contact Brent.

More Posts - Website

Follow Me:
TwitterFacebookLinkedInGoogle PlusYouTube