SQL : How to Find Unused Indexes details
The Dynamic Management View (DMV) named sys.dm_db_index_usage_stats that track index usage details of the database. This DMV gives an information about an index which is being updated but not used in...
View ArticlePersonal Technology – Expanding to Open Folder Working with Windows 10
We are all hard wired when it comes to doing certain tasks. I have attended tons of sessions at the local SQL Server user group meets and it amazes me every time to what I didn’t know about the tools...
View ArticleSQL Server DMA v2.0 – Migration Time
In my last post I showed you how to conduct an assessment using DMA – Database Migration Assessment tool v2.0 This time let’s do an actual migration from SQL 2008R2 to SQL 2014. I created a new...
View ArticleLength limit of the Run and RunOnce registry keys
Microsoft has had the registry keys for Run and RunOnce in the registry since the registry was introduced in Windows 95 and Windows NT 4. But in the 20+ years that those keys have been there (and I’ve...
View ArticleCrosstown Traffic and the Future of Monitoring
When it comes to monitoring data, the are only five possible resource bottlenecks (disk, memory, cpu, network, locking/blocking).The post Crosstown Traffic and the Future of Monitoring appeared first...
View ArticleSQL SERVER – Creating Clustered ColumnStore with InMemory OLTP Tables
When SQL Server 2016 was released, there were a number of enhancements that were discussed around how InMemory OLTP removed which were as limitations. I personally saw some real boot to some of the...
View ArticleSQL Server Backup Compression
I thought that it would be handy to capture some Perfmon graphs of what happens to backup throughput and CPU on my SQL Server when I have backup compression on vs off against my 35GB database. No...
View ArticleSQL SERVER – Unable to Attach Database – File Activation Failure – The Log...
Once I was in a situation where there was a disaster faced by my client. They lost the drive which was having transaction log file. Since they did not have effective monitoring, they realized that the...
View ArticleAlways Encrypted Column Encryption
I have a need to encrypt a column within my SQL Database (Azure). I decided to use Always Encrypted. This feature essentially uses a column encryption key that is used to encrypt data in an encrypted...
View Article2016 Microsoft MVP Summit Preview
This will be my 8th MVP Summit and I am as excited for this one as I was for my first. There's a lot of reasons why, and I'm going to do mThe post 2016 Microsoft MVP Summit Preview appeared first on...
View ArticleSQL SERVER – Cannot Show Requested Dialog – Property Size is Not Available...
Freelancing gives me a lot of opportunity to see issues which I have not seen earlier. Learning never stops for me and I love sharing what I learn every day. Let us learn about how to fix the error...
View ArticleHow Many Foreign Key Can You Have on A Single Table? – Interview Question of...
Question: How Many Foreign Key Can You Have on A Single Table?I was asked above question in my recent SQLPASS presentations. I quickly answered that it is 253. However, after I returned home when I...
View ArticleSQL SERVER – Fix Error Msg 10794, Level 16 – The operation ‘CREATE INDEX’ is...
Whenever I write something as a new concept, I do see people reading the blog do give it a try. Many a times I get queries that the script didn’t work for them after they learnt the concepts about...
View Article#0393 – SQL Server – SSIS – OLE DB Destination – Table Fast Load – Rows per...
The OLEDB Destination is similar to the BULK INSERT command of T-SQL. In this post, I look at the rows per batch and max. insert commit size options to speed up data loads on servers with slow I/O...
View ArticleCopying your SQL Database
If you have created a SQL Database in Azure (PaaS) and need to make a copy of it on the same server I will show you how via a quick method. When connected to your master database execute the following:...
View ArticleSQL SERVER – Added New Node in Windows Cluster and AlwaysOn Availability...
Almost all the time, whenever there is a wizard, it’s a human habit to go with the defaults and finally click finish. Once of my client sent below email to me. In this blog post we are going to learn...
View ArticleSQL Server – RECONFIGURE
When you want to change configuration settings for your SQL Server you would either do it via Management studio (under server properties) or via TSQL calling on sp_configure. For example, I usually...
View ArticleI’m Trying To Kick My “Undo Button” Habit
Thank you Andy Yun for hosting this month’s T-SQL Tuesday. Andy asks us to write about speaking which is a bit apropos because like Andy I was got to speak the PASS Summit this year. If you have...
View ArticleCloud Consulting Pre-Engagement Questionnaire – A Bookmark
The cloud phenomenon is no more a dream for many, but a reality for several customers I have been working with. Many of my customers are looking for guidance and from time to time I get an opportunity...
View ArticleDrag & Drop Table & Column Names in SSMS
I was working with a developer the other day and he was typing out each table name and all the column names he needed when working in Management Studio. He didn’t know that you can drag a table or...
View Article