SQL Server with Mr. Denny


February 24, 2016  7:00 PM

How to make SSMS beep when a query is done?

Denny Cherry Denny Cherry Profile: Denny Cherry
SQL Server, SQL Server Management Studio

The other day I’m sitting at my computer, and this comes across Twitter. ssms

Well the good news is that there’s no need to develop anything. SQL Server Management Studio can already do this for you. Simply open SSMS, then click on Tools > Options. In the Options window open Query Results > SQL Server and check the check box next to “Play the Windows default been when a query batch completes” and click OK.

ssms2

The next time you run a query (you might need to close all your query windows or restart SSMS, you usually do with this sort of change in SSMS) it’ll beep when the query is done.

Personally I’ve actually used this as an alarm clock when doing long running overnight deployments so that I’d get woken up when the script was done so I could start the next step. It’s also handy when you want to leave the room / your desk while queries are running.

Don’t forget to turn up the volume when leaving and turn it back down when you are done.

If you were wondering how long this feature has been in SSMS, I was first using it in Enterprise Manager, in SQL 2000.

Denny

February 16, 2016  7:47 AM

SQL Performance Tuning and Optimization Precon at Boston SQL Saturday

Denny Cherry Denny Cherry Profile: Denny Cherry
Database optimization, Performance tunning, SQL Server

FastAre you looking for some SQL Server Performance Tuning and Optimization training?  Are you planning on attending the Boston SQL Saturday on March 19th, 2016?

Have I got a deal for you.  I’ll be presenting my precon SQL Performance Tuning and Optimization on Friday March 18th, 2016.  For just $249 you can attend this full day training event and learn how to use everything that you get for free with SQL Server to help you tune your system to get more performance from the SQL Servers that you have today.

This is a great session, at a great price. And I hope that I’ll see you there.

So go get registered before time runs out.

Denny


February 8, 2016  7:40 PM

Would you like Microsoft to pay for you to move to Azure?

Denny Cherry Denny Cherry Profile: Denny Cherry
Cloud azure, Cloud migration, SQL Azure, SQL Server, SQL Server migration, Windows Azure

Have you been wanting to move some of your services up to Azure, but you don’t have the budget to move them up to thCloude cloud? Microsoft has an excellent deal for you. Microsoft will pay for (at least part) of the consulting time needed to get you migrated into Azure.  These funds can be used to help you plan your migration so that all of the “i”s are dotted and the “t”s are crossed before you start to implement your Azure migration.

Planning a Migration from on-premises to Azure is key to ensuring that you have a successful migration.  An unsuccessful migration is costly, and painful and is something that we want to avoid at all possible cost.

Getting Microsoft to pay for planning your Azure Migrations is surprisingly easy, there is only one major requirement, that you currently have Software Assurance on your systems, somewhere.  As a customer with Software Assurance you have various benefits that come with your Software Assurance, one of which is consulting hours to assist you with migrations to the Microsoft Azure platform.

Activating this benefit can even be done without having to talk to anyone from Microsoft.  You just need to log into your Microsoft Licensing Service Center and activate the benefit from there.  We can even help walk you though the benefit setup and getting your vouchers.

The good news here is that Denny Cherry & Associates Consulting is setup to accept those vouchers, so you can have Microsoft pay for your migrations into Azure.

If you having been thinking about moving into Azure, and you are looking for some help in getting that done contact us.  We’ll walk you though the process of getting your vouchers and use those to help you have a successful migration from your current environment to the Microsoft Azure Cloud Platform.

Denny


February 5, 2016  7:19 PM

DCAC Now Has 2 VMware vExperts

Denny Cherry Denny Cherry Profile: Denny Cherry
SQL Server, VMware

I’m thrilled to report that Denny Cherry & Associates Consulting now has not 1, but 2 VMware vExperts in our ranks.  No we didn’t go off and hire another consultant.  VMware has decided that this year they will recognize both Myself (Denny Cherry) and Joey D’Antoni for all the community work that we’ve done with Virtualization by awarding us the VMware vExpert award for 2016.

You can see the list of 2016 vExperts on VMware’s blog or in the vExpert directory (won’t be updated for a couple of weeks).

I know that I can safely speak for Joey when I say that we are both honored to receive this award from VMware.  While there are a decent number of vExperts each year, the number of vExperts that are SQL Server Professionals is very small.  Looking though that list I can see only a couple of people besides myself who have deep knowledge of SQL Server, so it’s pretty exciting that we make up somewhere around 1/2 of the SQL Server expertise within the VMware vExpert program.

Thank you to VMware for recognizing myself and Joey. And thank you to the members of the community who attend our sessions and read the content we post about VMware and SQL Server.

Denny


February 3, 2016  7:00 AM

Fixing a storage pool that doesn’t have an read-write server

Denny Cherry Denny Cherry Profile: Denny Cherry
Cluster, SQL Server, Storage space

Recently I was working on a clients file server cluster and while doing some troubleshooting with Microsoft Support one of Storagethe clustered disks wouldn’t respond correctly. Now this file server cluster is setup in Azure so it is using SIOS Data Keeper to replicate the data between the nodes of the cluster.

The state that the cluster was in looked something like this.

sios

In this configuration the cluster has two nodes FILESERVER01a and FILESERVER01b. The cluster is named FILESERVER01 and the name that users access files through is FILESERVER01V01.  The top three drives were working exactly as expected, but the last one wasn’t working at all.  Nothing could talk to it, nothing could manage it.

Thanks to Dave Bermingham (Clustering MVP, SIOS Employee and all around good guy) we found a forum thread that talked about this same problem and that the root cause was that the pool was registered as a cluster object within Failover Cluster manager.

Once I went into the failover cluster admin and remove the failed object for that pool I could attach the virtual disk again.  Then I just needed to configure the disks to automatically attach on reboot.  That’s easy enough to fix with a little PowerShell.

get-virtualdisk {DiskName} | set-VirtualDisk -IsManualAttach $False

Then into computer management to bring the disk online (or reboot, but this is easier).  Then resetup the SIOS software to replicate and away the data went.

Thankfully it’s fixed, and I can get back to the problem at hand of figuring out the EFS problem on the cluster.

Denny


January 25, 2016  4:00 PM

Feed Monsters now supports Two Factor Authentication

Denny Cherry Denny Cherry Profile: Denny Cherry
RSS, SQL Server, Two factor authentication

In case you missed the big announcement last week, Feed Monsters was released to the public so that you can now do most6878554296_4c8918c9a9_m of what Yahoo Pipes allowed you to do with your RSS feeds back before it was shut down.

While the service has only been available for about a week now there have actually been several enhancements that have been made live.  The most important of these is two factor authentication, which includes support for emailing the two factor codes to you as well as supporting 3rd party applications for code generation on your phone like Google Authenticator, Duo Mobile, etc.  Having two factor authentication enabled for your account will help to ensure that no one but you can possibly make changes to your monsters or see what the settings for your monsters are.  Enabling two factor authentication is done via the settings page.  While it does take a couple of steps to get setup, it shouldn’t take more than 30 seconds to enable and begin using.

Denny


January 18, 2016  11:30 PM

Announcing Feed Monsters…

Denny Cherry Denny Cherry Profile: Denny Cherry

Did you use to use Yahoo! Pipes to manipulate RSS Feeds? Personal I did and I REALLY missed it when it was turned off by Yahoo. So like any good IT person I sat down (eventually) and did something about it. What I ended up building turned into what I’ve called “Feed Monsters“.  Feed Monsters is a web based service that lets you change values within RSS feeds, resort the values within the RSS feeds and filter the RSS feeds.

After you get signed up you create your monster and give it an RSS feed to chew on.  Then you add parts to your monster and those parts each make a different change to the RSS feed that you’ve given it.  As the service is being launched it supports 10 different parts that you can add to your monster.

Data Change Parts

  • Add Category from Publish Date
  • Add Prefix to Title
  • Add Suffix To Title
  • Clip Content
  • Post URL
  • Publish Date
  • Replace field {x} with field {y}
  • Title

Filter Parts

  • Top {n} Posts

Sorting Parts

  • Random Resorting

There’s plenty of more parts which we’ll be adding to the system in order to make RSS feeds even more changeable in the near future.

Registration for the service is free, and lets you try the service out for 10 days without having to pay anything. After that it’s only $20 a year (paid for paypal) to continue using the service.  Hopefully you find the service as valuable to use as I do.  Check out the Feed Monsters website for the full details about the service.

Denny


January 13, 2016  7:00 PM

Creating a cluster without Domain Admin permissions

Denny Cherry Denny Cherry Profile: Denny Cherry
Cluster, Cluster management, Clustering, Clustering/High availability, Clusters, SQL Server, SQL Server availability

If you’ve ever watched a presentation when someone sets up a cluster you’ve probably noticed that it goes pretty smoothly. The reason for this is because the account which the presenter uses is a domain administrator.

But what about the real world?

In the real world unless you are a systems administrator you probably won’t be a Domain Admin when creating your cluster. There’s a couple of ways to get the cluster setup.

The first way is to be created the permission to create objects within the domain. This is the easiest option. If this isn’t an option then you have the second option available to you.

Pre-staging the objects is option #2. This option requires that a member of the systems administration team create the computer objects for the cluster (and any clustered resources like Availability Groups and Failover Clustered Instances). You also need to have the Domain Admin disable the accounts. This step is critical because if the computer accounts are enabled the Failover Cluster Manager won’t be able to use the computer account, and neither with the cluster when it comes to creating the computer objects for the FCI and/or the AGs.

You’ll also need to configure the computer objects for the actual cluster to be managed by the user who is configuring the cluster. For the other computer accounts (for the FCIs and the AGs) you need to setup the computer account for the cluster to be able to manage these other computer accounts.

Denny


January 5, 2016  4:51 PM

2015 By The Numbers

Denny Cherry Denny Cherry Profile: Denny Cherry
SQL Server

This post is a little later than normal. It’s been a very busy few weeks with family over until the 3rd of January.

Well 2015 was a hell of a year for my blogging. I recorded just under 250k page views (244,305) which isn’t even all of them (2016 will be the first year that I get a truly complete set of data as I’ve not got page view images on every blog post that I’ve written).

This years top 10 posts look a lot more different from the prior year than has happened in earlier years.

  1. SQL Server 2014 Licensing (Number 3 in 2014)
  2. What Exactly Is MSDTC Any Way, and When Do I Need It? (Number 2 in 2014)
  3. Difference Between An Index and a Primary Key
  4. How To Configure MSDTC On Windows 2008 (Number 1 in 2014)
  5. What Does WITH (NOLOCK) Actually Mean
  6. Calculating Fibre Latency Correctly Is a Must When Trying To Determine Storage Performance Numbers
  7. The Process Could Not Execute sp_replcmds on x
  8. The Least Expensive SQL Server High Availability Solution (Number 22 in 2014)
  9. If you thought Database Restores Were Slow, Try Restoring From an EMC Data Domain
  10. SQL PASS Summit 2015 Karaoke Party

Of the top 10, only three were in the top 10 before (numbers 1, 2 and 3 from 2014 were 4, 2, and 1 in 2015 respectively).  Number 8 from 2015 was number 22 last year.  Everything else in the top 10 appears to be a new post from 2015 (or didn’t have a tracking image until this year).  This is pretty shocking to me.  I haven’t seen the numbers shift like this before, granted that could be do to better data.  Next years numbers will be interesting to see once I have a full years worth of data to look at.

Thanks everyone for reading, and enjoy 2016.

Denny


December 23, 2015  9:00 AM

Introducing Microsoft SQL Server 2016 ebook (Preview Edition)

Denny Cherry Denny Cherry Profile: Denny Cherry
eBook, SQL Server, SQL Server 2016

I’m pleased to report that what is probably one of the first books on Microsoft SQL Server 2016 has been released, or at least the official 3 chapter preview of the book has been released by Microsoft Press.  In this three chapter book, written by myself, Stacia Varga and Joseph D’Antoni, we talk about some of the new security features in SQL Server 2016 including Always Encrypted, Row-Level Security and dynamic data masking.  In Chapter 4 we talk about some of the improvements to the database engine in SQL Server 2016 over SQL Server 2014 including the query store and Stretch Database.  While in Chapter 7 we talk about some of the improvements to SQL Server Reporting Services including the new data visualizations, support for mobile, KPIs and subscription enhancements.

If you are planning on deploying SQL Server 2016, or even if you just want to get a leg up on what’s coming in the new version this is the book for you.

The best thing about this book, is that it is free, there isn’t even a soul sucking registration to go through.  Just click and download.  It’s available is a standard 8.5×11″ PDF (standard US Pages) as well as a smaller PDF for mobile.  If you are looking for EPUB and MOBI files you’ll need to wait a few more weeks as they are supposed to be available starting in January (don’t hold me to that, I’m just going off the MSDN post.

So stop reading this, and go and download the ebook.  Now!

Denny


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: