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 Article