Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
CSS SQL Server Engineers
This is the official team Web Log for Microsoft Customer Service and Support (CSS) SQL Support. Posts are provided by the CSS SQL Escalation Services
Subscribe
Comments
Contact
Menu
Blog Home
Email Blog Author
Atom
Translate this page
Powered by
Microsoft® Translator
Recent Posts
High CPU Troubleshooting with DMV Queries
Posted
1 day ago
by
psssql
0
Comments
A performance issue involving CLR garbage collection and SQL CPU affinity setting
Posted
7 days ago
by
JackLi
0
Comments
Getting a SharePoint List Data Source to work with Reporting Services Native Mode
Posted
7 days ago
by
Adam W. Saxton
2
Comments
How It Works: The I/O Path: SQL Server Running in Windows Azure Virtual Machine (IaaS)
Posted
15 days ago
by
psssql
0
Comments
Why won't my PowerPivot for Excel 2010 workbook upgrade to Excel 2013?
Posted
26 days ago
by
psssql
0
Comments
Tags
2005
2005 SP2
2008
2008 R2
Adam
AlwaysON
Connectivity
Engine
How It Works
Memory
Performance
Reporting Services
RML Utilities
Setup
SharePoint Adventures
SQL 2005
SQL 2008
SQL 2012
SQL Server 2005 SP2
SQL Server 2008
SQL Server 2008 SP1
SQL Server 2012
SQLOS
Tools
Troubleshooting: The DB Engine
More
▼
Less
▲
Archives
Archives
June 2013
(4)
May 2013
(4)
April 2013
(5)
March 2013
(5)
February 2013
(7)
January 2013
(3)
December 2012
(10)
November 2012
(4)
October 2012
(2)
September 2012
(8)
August 2012
(7)
July 2012
(7)
June 2012
(2)
May 2012
(3)
April 2012
(8)
March 2012
(5)
February 2012
(1)
January 2012
(7)
December 2011
(2)
November 2011
(3)
October 2011
(4)
September 2011
(6)
August 2011
(1)
July 2011
(3)
June 2011
(6)
May 2011
(9)
April 2011
(11)
March 2011
(5)
February 2011
(9)
January 2011
(7)
December 2010
(5)
November 2010
(5)
October 2010
(4)
September 2010
(3)
August 2010
(7)
July 2010
(7)
June 2010
(7)
May 2010
(8)
April 2010
(7)
March 2010
(4)
February 2010
(5)
January 2010
(5)
December 2009
(9)
November 2009
(6)
October 2009
(4)
September 2009
(9)
August 2009
(5)
July 2009
(8)
June 2009
(9)
May 2009
(12)
April 2009
(8)
March 2009
(13)
February 2009
(14)
January 2009
(13)
December 2008
(8)
November 2008
(9)
October 2008
(3)
September 2008
(9)
August 2008
(10)
July 2008
(7)
June 2008
(4)
May 2008
(1)
April 2008
(11)
March 2008
(10)
February 2008
(6)
January 2008
(10)
December 2007
(1)
November 2007
(1)
October 2007
(2)
September 2007
(2)
August 2007
(2)
June 2007
(2)
May 2007
(1)
April 2007
(2)
March 2007
(2)
February 2007
(7)
January 2007
(2)
December 2006
(4)
November 2006
(9)
More
▼
Less
▲
MSDN Blogs
>
CSS SQL Server Engineers
>
All Tags
>
2008
Browse by Tags
2000
2005
2005 SP2
2008 R2
Adam
Connectivity
Denali
Engine
How It Works
Memory
Performance
Setup
SQL 2005
SQL 2008
SQL 2012
SQL Denali
SQL Server 2005 SP2
SQL Server 2008
SQL Server 2008 R2
SQL Server 2008 SP1
SQL Server 2012
SQLOS
Tools
Troubleshooting: The DB Engine
Wait Types
Blog Post:
How It Works: The I/O Path: SQL Server Running in Windows Azure Virtual Machine (IaaS)
psssql
Note: This blog is based on behavior as of June 2013. At Microsoft we continue to evolve and enhance our products so the behavior may change over time. The I/O path for SQL Server, running on Windows Azure Virtual Machines, uses Windows Azure storage (often referred to as XStore.) The following...
on
3 Jun 2013
Blog Post:
SQL Server–Storage Spaces/VHDx and 4K Sector Size
psssql
This blog outlines a new twist to my previous blog outlining issues with 4K sector sizes. SQL Server - New Drives Use 4K Sector Size: http://blogs.msdn.com/b/psssql/archive/2011/01/13/sql-server-new-drives-use-4k-sector-size.aspx In the previous post I discussed that it was unsafe for the I/O subsystem...
on
15 May 2013
Blog Post:
SQLIOSim Checksum Validations
psssql
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 multiple memory locations used to hold the data and do the comparison. 1. ...
on
5 Apr 2013
Blog Post:
Don’t change value of that parameter
JackLi
Parameter sniffing is a well known among SQL User community. But I have seen variations of this frequently that need a bit creative handling and solution may not that straight forward. One of the variation is that a user changes the value of the parameter inside the procedure. When...
on
3 Feb 2013
Blog Post:
AppDomain unloading messages flooding the SQL Server error log
psssql
This blog is built directly from a customer reported issue. As I helped investigate the source of the issue I thought it would be of interest to a broader audience – hopefully you find this interesting, as well. Allow me to provide some history of the problem before I dive into extended details...
on
30 Jan 2013
Blog Post:
How It Works: CMemThread and Debugging Them
psssql
The wait type of CMemThread shows up in outputs such as sys.dm_exec_requests. This post is intended to explain what a CMemThread is and what you might be able to do to avoid the waits. The easiest way to describe a CMemThread is to talk about a standard Heap, HeapCreate and the options (with...
on
20 Dec 2012
Blog Post:
SQLCLR and sp_OA* procedures are not compatible
psssql
We ran into an issue today that is a bug you may need to be aware of because of its behavior. When a SQLCLR procedure calls back into the SQL Server (in proc provider) and executes sp_OA*, during the callback activity, it triggers a bug (currently filed and being evaluated) that results in...
on
20 Dec 2012
Blog Post:
How It Works: SQL Server (NUMA Local, Foreign and Away Memory Blocks)
psssql
The NODE an operating system page, physically belongs to can be acquired using the QueryVirtualMemoryEx Windows API. SQL Server uses this API to track locality of memory allocations. This blog is a very high level view of SQL Server behavior but I think it provides a sufficient picture as to what...
on
13 Dec 2012
Blog Post:
How It Works: SQL Server 32 bit PAE/AWE on (SQL 2005, 2008, and 2008 R2) – Not Using As Much RAM As Expected!
psssql
This issue was puzzling until we stepped through the code and studied it in some detail. The report was “SQL Server won’t use the physical memory I expect it to use.” Scenario: SQL Server 2008 R2, 32GB RAM - SQL only using ~22GB of total memory and won’t use anymore. Let me try...
on
11 Dec 2012
Blog Post:
How It Works: Gotcha: *VARCHAR(MAX) caused my queries to be slower
psssql
The scenario: Table has a NTEXT column that the customer wanted converted to NVARCHAR(MAX) Data has both small and large storage for different rows Issued ALTER TABLE … ADD COLUMN …NVarCharColumn… NVARCHAR(MAX) Issued update MyTable set NVarCharColumn = <<NTEXT DATA>> Issued ALTER TABLE ...
on
3 Dec 2012
Blog Post:
How Can Reference Counting Be A Leading Memory Scribbler Cause?
psssql
The concept of the memory scribbler comes up quite a bit in support. The term can often be over used but I ran into a specific example that commonly fools people, including support engineers. The random nature and even the resulting behaviors are so broad that these issues often take...
on
12 Nov 2012
Blog Post:
T-SQL Update Takes Much Longer Than The Matching Select Statement
psssql
I realize the title is generic and that is because the problem is generic. On the surface it would not surprise me that an update takes longer than a select. (A little bit anyway.) There is logging, updates to index rows, triggers, replication needs, AlwaysOn needs, perhaps page splits and...
on
21 Sep 2012
Blog Post:
How It Works: Online Index Rebuild - Can Cause Increased Fragmentation
psssql
SQL Server Books Online alludes to the fragmentation possibility but does not fully explain that the Online Index rebuilding may increase fragmentation when it is allowed to run with MAX DOP > 1 and ALLOW_PAGE_LOCKS = OFF directives . The process of building an online index involves maintaining the...
on
5 Sep 2012
Blog Post:
Strange Sch-S / Sch-M Deadlock on Machines with 16 or More Schedulers
psssql
Since it took me several days to track down this bug, and I did learn a couple of new things along the way, I thought I would share some of my work. 16 or More CPUS When a system presents SQL Server with 16 or more CPUs, and you are using a high end SQL Server SKU, SQL Server will enable lock partitioning...
on
31 Aug 2012
Blog Post:
How It Works: SQL Server (BCP, Database I/O, Backup/Restore, …) Reports Operating System Error (665, 1450 or 33) when writing to the file - BIG DATA
psssql
Suresh and I have blogged about these issues before but this post will put another spin on the information, as it applies to BIG DATA . Previous Blog References http://blogs.msdn.com/b/psssql/archive/2008/07/10/sql-server-reports-operating-system-error-1450-or-1452-or-665-retries.aspx http://blogs.msdn...
on
25 Jul 2012
Blog Post:
How It Works: When is the FlushCache message added to SQL Server Error Log?
psssql
FlushCache is the SQL Server routine that performs the checkpoint operation. The following message is output to the SQL Server error log when trace flag ( 3504 ) is enabled. 2012-05-30 02:01:56.31 spid14s FlushCache: cleaned up 216539 bufs with 154471 writes in 69071 ms...
on
1 Jun 2012
Blog Post:
How It Works: XEvent Action vs Field data values.
psssql
I have seen several traces and questions relating to the output of the XEvent so I thought I would try to explain them a bit in an effort to reduce confusion. Terms Field == Event Data Action == Action Data - The action data is gathered from the current session/request state. Let's look at the...
on
22 Mar 2012
Blog Post:
How It Works: sys.dm_tran_session_transactions
psssql
For some reason I have been looking at DMV output closely the last couple of weeks. I just blogged about the pending I/O requests and now I have a behavior to outline for dm_tran_session_transactions for todays blog. select * from sys . dm_tran_session_transactions The scenario I was...
on
24 Jan 2012
Blog Post:
SQL Server: Clarifying The NUMA Configuration Information
psssql
The increased number of cores per socket is driving NUMA designs and in SQL Server support we are seeing more NUMA machines and less pure SMP machines. For whatever reason over the past 2 weeks I have fielded a bunch of questions around NUMA and the information is good for everyone...
on
11 Nov 2011
Blog Post:
SQL Server 2008/2008 R2 on Newer Machines with More Than 8 CPUs Presented per NUMA Node May Need Trace Flag 8048
psssql
Applies To: SQL 2008, 2008 R2 and Denail builds The SQL Server developer can elect to partition memory allocations at different levels based on the what the memory is used for. The developer may choose a global, CPU, Node, or even worker partitioning scheme. Several of...
on
1 Sep 2011
Blog Post:
How It Works: Return codes from SQLIOSim
psssql
I have been asked how to automate SQLIOSim on several occasions. SQLIOSim is a utility to test SQL Server I/O integrity ( not performance ) patterns against a system without needing to install SQL Server on the system. It ships with SQL Server 2008 and SQL Server 2008 R2 and is located in...
on
1 Jul 2011
Blog Post:
Trace shows the incorrect Session Login Name
psssql
The is more of an FYI blog post but I have read several blog and forum posts on this subject and I decided to dig into the behavior which revealed a trace bug. For the vast majority of events the Session Login Name represents the originating session credentials where as the Login Name represents the...
on
1 Jul 2011
Blog Post:
How It Works: FileStream (RsFx) Garbage Collection
psssql
In a previous blog I outlined how file stream transactions work and retain the before and after images of the file to allow various forms of recovery. Reading that blog should be considered a prerequisite: http://blogs.msdn.com/b/psssql/archive/2008/01/15/how-it-works-file-stream-the-before-and...
on
23 Jun 2011
Blog Post:
Secondary Access to File Stream(s) File, In Open Transaction, May Hang
psssql
This post is directly from an issue I have been working on. The behavior is very difficult to simulate because of the flags and timings involved. In this post I will attempt to describe the scenario and provide you with a simple workaround for your applications. Reproduction Steps 1...
on
4 May 2011
Blog Post:
MS11-028 may cause issues with SQL, Exchange and PowerShell
Adam W. Saxton
A .NET Security Update (MS11-028) may end up causing issues with applications that make use of the .NET Framework, mostly resulting in applications being unable to launch, or loss of functionality within Native Applications that make use of .NET. In some cases, it could lead to an application crash....
on
21 Apr 2011
Page 1 of 3 (69 items)
1
2
3