Corrupt Database – I need that data now!
My database is in the recovery pending state and I want to get in and extract the data out into a new database, I have NO BACKUPS available so some data (even if it is dodgy) is better than nothing. …...
View ArticlePolyBase use cases clarified
I previously talked about PolyBase and its enhancements (see PASS Summit Announcements: PolyBase enhancements). There is some confusion on PolyBase use cases as they are different depending on whether...
View ArticleSQL SERVER – Availability Group Missing or Deleted Automatically?
As a part of my passion, I try to help people in fixing simple issues and explain the behavior by looking at logs. Here is an email from my friend about Availability Group Missing or Deleted...
View ArticleMicrosoft Brings New Capabilities to HDInsight and DocumentDB
Microsoft is headed to San Jose this week where they will be announcing new features for HDInsight and DocumentDB at Strata Hadoop + World. Additionally, the company is also announcing a new preview...
View ArticleSQL SERVER – Microsoft.SqlServer.Management.Sdk. Sfc.EnumeratorException:...
If you work with a product for a long time, you would start loving it. I have worked with many other RDBMS, but my love to SQL Server will never die. The amount of information available in logs is very...
View ArticleHow to Find How Many Rows Each Query Returned Along with Execution Plan? –...
Question: How to Find How Many Rows Each Query Returned Along with Execution Plan?Answer: During my performance tuning consultancy engagement, this is one of the most asked questions. Everyone wants to...
View ArticleSQL SERVER – sp_readrequest – Long Running Process
Just another day while doing performance tuning engagement, Senior DBA of the organization and I both noticed that one of the SP sp_readrequest is continuously listed as long running SP. Well, the...
View Article#0403 – SQL Server – CAST/CONVERT to string – Pad zeroes or spaces to an integer
Padding zeroes to an integer is often required during data migrations and integrations. Here is the approach I use in such data conversions.
View ArticleTDE: Looking inside your database and backups
TDE (Transparent Data Encryption) encrypts the data files at rest but don’t forget that it also encrypts your backup file too. I fancied looking inside the MDF and a backup of my database before...
View ArticleSQL SERVER – DBCC SHRINKFILE: Page 1:26423878 Could not be Moved Because it...
This blog is an outcome of an email communication with my client. The issue was that they were having big tempdb files. They had multiple files and of uneven size. As soon as they restart SQL, the...
View ArticleMy path from a junior to a senior DBA
A non-technical post but something I have been asked about few times so I thought that I would put pen to paper and tell you about my journey on becoming a senior DBA. You might find it fun to read....
View ArticlePartitioned Tables and ColumnStore
ColumnStore indexes are all the rage with data warehouses. They’re fast, they’re new(ish) and they solve all sorts of problems when dealing with massive amounts of data. However they can cause some...
View ArticleShould I build a 1×6 VM or a 6×1 VM?
This sort of question comes up a lot. And there’s a lot of it-depends built into the answer, so I’ll try and break this down a little bit for you. Be warned, we’re going to be talking about NUMA and...
View ArticleAzure Import Export Services – Notes from the field
One of my clients recently had the need to upload tens of terabytes of data into Azure Blob Storage. This gave us the perfect opportunity to use the Azure Import Export service to get these several...
View ArticleYour PASS Summit 2017 Speaker Idol Contestants Are…
In past years I’ve been really glad that I’m just the MC of the PASS summit speaker idol because of the strong group of speakers. This year I’m really damn glad that I’m just not a judge because of the...
View ArticleSo, what’s with this whole SQL Server on Linux thing?
https://www.flickr.com/photos/doctorserone/4775107201/in/I’ll be honest, when I first learned about SQL Server on Linux, I didn’t get it. It took like an hour for it to make sense to me. After a week...
View ArticleDR is more than just building an AG
Building, implementing and executing a proper DR plan successfully is a challenging undertaking. It is a lot more complicatedthan most experienced IT professionals and/or consultants think it is. This...
View ArticlePASS Summit Speaker Idol Lineup Change Redux
We’ve had another change to the PASS Summit speaker idol line up. Tzahi has had to withdraw due to work commitments and won’t be able to attend the PASS summit at all this year. Which is good news for...
View ArticlePASS Summit 2017 Speaker Idol Judges
I know I’ve been really slacking on getting this year judges list for speaker idol posted. A lot of this is just because of everything else that’s been going on leading up to the PASS summit,...
View ArticleWide open steps, do not a process make
I found the above instructions on a blog post I was trying to use to fix an issue in visual studio recently. (Ignore the fact that I was in Visual Studio and focus on the screenshot.) This post has 4...
View Article