Wednesday, March 29, 2017
 
Updates from SQL Server CSS Team @ Microsoft
Facebook Twitter LinkedIn Google+ Addthis

Get Aggregated RSS

Why am I getting so many checkpoint files when I have In-Memory OLTP enabled?

Sunday, March 05, 2017

Recently, I looked an In-Memory OLTP issue with Principal Software Engineer Bob Dorr who is still my office neighbor.  After restoring a database that had just one memory optimized table, we dropped the table. Even without any memory optimized tables,number of checkpoint files keep going up every time we issue a checkpoint.  For a while,...

A few new things in XML plan to help you troubleshoot query performance

Tuesday, February 28, 2017

  In this blog Added per-operator level performance stats for Query Processing, Senior PM in QP talks about extending operator level performance stats.  They include stats related to reads, CPU and elapse time.  These are very helpful to track down query performance issues.  We worked on recent case where we put ActualElapsedms in a good...

Be aware of 701 error if you use memory optimized table variable in a loop

Tuesday, February 21, 2017

In blog “Importance of choosing correct bucket count of hash indexes on a memory optimized table”,  I talked about encountering performance issues with incorrect sized bucket count.  I was actually investigating an out of memory issues with the following error. Msg 701, Level 17, State 103, Line 11There is insufficient system memory in resource pool...

Importance of choosing correct bucket count of hash indexes on a memory optimized table

Saturday, February 18, 2017

  I was working with a customer to troubleshoot memory optimized table issues.  In this scenario, our customer uses a memory optimized table variable.  He put 1 million rows of data into the table variable and then process it.  Based on what he said, I tried to come up with a repro to see if...

Solving SQL Connectivity issues: A new guided walk through just got published

Saturday, January 28, 2017

We recently published a new document that provides a one stop shop for solving majority of connectivity issues that you may run into when working with SQL Server. This can be accessed here: Solving Connectivity errors to SQL Server In addition to providing a quick checklist of items that you can go through, the doc...

Pssdiag & Sqldiag Manager update

Wednesday, January 11, 2017

We are releasing a new version of Pssdiag & Sqldiag Manager which supports SQL Server 2016.   It was originally published on https://diagmanager.codeplex.com. But we just moved it to github under Microsoft organization repo. New location is at https://github.com/Microsoft/DiagManager.  In the “Releases” tab, you can download latest binaries.   Go to getting started wiki to learn how...

Why can’t I get a parallel plan when rebuilding my index?

Sunday, January 08, 2017

In support, we frequently have customers who call us and want to find out why a particular query doesn’t use parallelism.  Recently, we had a user who wanted to know why his index rebuild didn’t use parallelism.  In some cases, NonParallelPlanReason in query plan tells you the reason.  But in this case, the query plan...

Unable to connect to SQL Server AlwaysOn Listener on Azure due to misconfigured subnet mask

Sunday, December 04, 2016

When it comes to troubleshooting, the more you know the better troubleshooter you are (in my option). Sometimes knowing more actually gets in the way.   We repeatedly get calls where customers couldn’t connect to AlwaysOn Listener on Azure because of the misconfiguration of the subnet mask for the listener IP. They receive this error “A...

SQL Nexus 5.5.0.1 was released

Sunday, November 20, 2016

We just released SQL Nexus 5.5.0.1 on codeplex.   In addition to numerous ‘rules’ that catch issues that can potentially impact your SQL Server performance, we added quite a few reports.  Some of the reports are displayed below. The following three were born out of troubleshooting experience. “Top 20 Active CPU Intensive Queries”:  When troubleshooting CPU...

Unable to drop a user in a database

Tuesday, November 15, 2016

A user called in for help because he wasn’t able to drop a user from a database.  The error message is below Msg 15136, Level 16, State 1, Line 2The database principal is set as the execution context of one or more procedures, functions, or event notifications and cannot be dropped. From the error, the...

HOME   |   SQL ARTICLES   |   SCRIPTS   |   DISCUSSIONS   |   SQL TEAMS   |   JOBS   |   ABOUT US
Copyright [2014] by SQLCOMMUNITY.COM