Quantcast
Channel: CSS SQL Server Engineers
Browsing all 339 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Temp table caching improvement for table valued parameters in SQL Server 2012

I wanted to point out a nice performance improvement related to table valued parameters (TVP) in SQL Server 2012.   It’s not currently documented in our online documentation.   But we have had...

View Article


Image may be NSFW.
Clik here to view.

switchoffset built-in function can cause incorrect cardinality estimate

Recently, we received a call from a customer reported that a query was slow.  Upon further investigation, his query has a predicate that look like this:select * from t o where c1 >switchoffset...

View Article


Image may be NSFW.
Clik here to view.

SQL Server 2012 partitioned table statistics update behavior change when...

In this blog, I will talk about a couple of things related to statistics update when rebuilding index on a partitioned table. In past versions, when you rebuild an index, you will get statistics update...

View Article

Image may be NSFW.
Clik here to view.

System Center Advisor is now free

It has been well over a year when I wrote a series of blog posts about a product called System Center Advisor. You can read these posts at this...

View Article

Image may be NSFW.
Clik here to view.

PowerPivot Table Import Wizard cannot find provider

The data source provider list in PowerPivot can often be a source of confusion for users since they equate the fact that a provider appears in the list as the provider being installed and available....

View Article


Image may be NSFW.
Clik here to view.

The Case of Anti-Virus filter drive interference with File Stream Restore

"Denzil and I were working on this issue for a customer and Denzil has been gracious enough to write-up a blog for all of us." – Bob DorrFrom Denzil:I recently worked with a customer on a Database...

View Article

Image may be NSFW.
Clik here to view.

SQLIOSim Checksum Validations

I had a very specific question asked of me related to the SQLIOSIM.exe, checksum validation logic.  It is pretty simple logic (on purpose) but effective so here are the basics.The key is that there are...

View Article

Image may be NSFW.
Clik here to view.

How It Works: Always On–When Is My Secondary Failover Ready?

I keep running into the question: “When will my secondary allow automatic failover?”   Based on the question I did some extended research and I will try to summarize in is blog post.  I don’t want to...

View Article


Image may be NSFW.
Clik here to view.

AlwaysON - HADRON Learning Series: HADR_SYNC_COMMIT vs WRITELOG wait

The distinction between these two wait types is subtle but very helpful in tuning your Always On environment.The committing of a transaction means the log block must be written locally as well as...

View Article


Image may be NSFW.
Clik here to view.

DReplay Message: “Active connections exceed 8192, connection 8409 is waiting.”

This message was an interesting dive into the DReplay, session boundary logic that I thought I would share.  Internally DReplay maintains a progressive, session queue.  This queue is limited to 8192...

View Article

Image may be NSFW.
Clik here to view.

When Does sp_prepare Return Metadata

I was running an RML Utilities Suite test pass and encountered varying behavior from our sp_prepare suite.  Here is what I uncovered.The command sp_prepare returns (or does not return) metadata...

View Article

Image may be NSFW.
Clik here to view.

Tracking down Power View Performance Problems

The scenario was that we saw sluggishness on the initial load of a Power View Report and also when we went to use one of the filters on the report - like a Pie Chart Slice. For the given report the...

View Article

Image may be NSFW.
Clik here to view.

After applying Service Pack 1 for SQL Server 2012 you may encounter a known...

I’d like to make you aware of an issue that may occur after installing Service Pack 1 for SQL Server 2012. Some of the symptoms are:The Windows Installer process (MSIExec.exe) repeatedly starts and...

View Article


Image may be NSFW.
Clik here to view.

Error trying to access SharePoint List from Power Query

When trying to pull data from a SharePoint List Data Source, using the Microsoft Online Services ID, you may see the following output in your query:DataFormat.Error: OData: The given URL neither points...

View Article

Image may be NSFW.
Clik here to view.

How It Works: SQL Server 2012 Database Engine Task Scheduling

Over the years the SQL Server scheduling algorithms have been documented in various publications.  Specifically, ‘The Guru’s Guide to SQL Server Architecture and Internals’ has a chapter, written by...

View Article


Image may be NSFW.
Clik here to view.

Optimizing partition split when the partition is not empty

Some of our Field Engineers, Kal Yella and Denzil Ribeiro (@DenzilRibeiro) have posted a blog that discusses how to optimize adding a partition when either the right most, or left most partition is not...

View Article

Image may be NSFW.
Clik here to view.

Power View display issues with Page Viewer Web Part

I ran into two separate issues this week that both dealt with displaying a Power View report through a Page Viewer Web Part within a SharePoint page in SharePoint 2013. The resolution to both were the...

View Article


Image may be NSFW.
Clik here to view.

Service status watcher in SQL Server Management Studio – How it works

Have you ever wondered about the mechanism using which SQL Server Management Studio(SSMS) - Object Explorer shows the service status for SQL Server and SQL Agent service? We recently worked with a...

View Article

Image may be NSFW.
Clik here to view.

When is throttling in Windows Azure SQL Database really throttling….

During the course of this year I have spoken at several customer and internal events on troubleshooting the Windows Azure SQL Database environment. As I built my presentations, one of the confusing...

View Article

Image may be NSFW.
Clik here to view.

[SQL 2012 query plan enhancement] I want to know why my query is not...

In the past, we have got repeated questions from customers on why a particular query is not parallelized.   We didn’t have a good way to let customer know the reason until SQL 2012.Starting SQL Server...

View Article
Browsing all 339 articles
Browse latest View live