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
Why won't my PowerPivot for Excel 2010 workbook upgrade to Excel 2013?
Posted
11 hours ago
by
psssql
0
Comments
SharePoint Adventures : Claims, Named Pipes and Kerberos
Posted
6 days ago
by
Adam W. Saxton
0
Comments
SharePoint Adventures : When connectivity is not connectivity
Posted
6 days ago
by
Adam W. Saxton
0
Comments
SQL Server–Storage Spaces/VHDx and 4K Sector Size
Posted
8 days ago
by
psssql
0
Comments
Using PowerShell to discover Reporting Services 2012 in SharePoint
Posted
23 days ago
by
Adam W. Saxton
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
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
>
2005
Browse by Tags
.NET
2000
2005 SP2
2008
2008 R2
Engine
File Stream
How It Works
Memory
Patching
Performance
Setup
SQL 2005
SQL 2008
SQL 2012
SQL Server 2005 SP2
SQL Server 2008
SQL Server 2008 R2
SQL Server 2008 SP1
SQL Server 2012
SQLOS
Support Policy
Tools
Troubleshooting: The DB Engine
Windows 7 / Windows 2008 R2
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:
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 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 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:
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:
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
Blog Post:
Did your backup program/utility leave your SQL Server running in an squirrely scenario? (Version 2)
psssql
My colleges asked me if 'squirrely' is a technical term and for this post the answer is yes. CSS is not going to deny support to customers but SQL Server was not tested in this scenario so you may have chased yourself up a tree, hence I use the term squirrely. SQL Server 2005 introduced snapshot...
on
21 Feb 2011
Blog Post:
SQL Server - New Drives Use 4K Sector Size
psssql
In a lengthy discussion this past week I was reminded that Jan 2011 is when the hard drive manufactures agreed to focus on drives with sector sizes of 4K. I have read all the latest materials about this over the past week and you can too. Just search for 512e or Advanced Format Sector sizes and you will...
on
13 Jan 2011
Blog Post:
How It Works: Error 18056 - The client was unable to reuse a session - Part 2
psssql
I have had several questions on my blog post: http://blogs.msdn.com/b/psssql/archive/2010/08/03/how-it-works-error-18056-the-client-was-unable-to-reuse-a-session-with-spid-which-had-been-reset-for-connection-pooling.aspx related to SQL Server 2008's honoring of an query cancel (attention) during the...
on
29 Dec 2010
Blog Post:
Error 17953 - SidePageTable::Init() DeviceIoControl() : Operating system error 1(Incorrect function.) encountered.
psssql
When attempting to run dbcc checkdb or create a snapshot database you may encounter the following errors when using a UNC location that does not support all sparse file operations. 2010-09-21 17:27:26.47 spid82 Error: 17053, Severity: 16, State: 1. 2010-09-21 17:27:26.47 spid82 SidePageTable::Init()...
on
22 Sep 2010
Blog Post:
How It Works: Timer Outputs in SQL Server 2008 R2 - Invariant TSC
psssql
I would love nothing more than to take you back to my high-school days running the 440 yard hurdles (yes yards not meters) where timing was done with a stop watch (you know the old, moving dial style) but timers on the PC don't allow that simplicity. I have discussed the timing behavior is SQL Server...
on
18 Aug 2010
Blog Post:
How It Works: Enumeration of sys.messages
psssql
I ran into an issue which has some aspects I found interesting and thought you might as well. When you do a select against the sys.messages virtual table the data is retrieved from the resource files (.RLL) files stored under <<Instance>>\Binn\Resource directory. This is done by loading the...
on
16 Aug 2010
Blog Post:
How It Works: SqlDataReader::RecordsAffected and Why it Returns -1
psssql
I encountered another interesting research issue to share with you. The documentation states RecordsAffected are for INSERT, UPDATE and DELETE but it might fool you. ------------------------------------------------------------------------------------ Sent: Monday, June 07, 2010 9:06 PM Subject: "set...
on
8 Jun 2010
Blog Post:
SQLIOSim - Is Error: Unable to get disk cache info really an error?
psssql
The short answer is that it is not an error and the message should be a WARNING. I looked at the latest, internal code base it has already been changed to a WARNING. if (!DeviceIoControl (volume, IOCTL_DISK_GET_CACHE_INFORMATION, NULL, 0, &m_diskCacheInfo, sizeof (m_diskCacheInfo), &dwBytes,...
on
8 Jun 2010
Blog Post:
AWE Allocated Values Reported Incorrectly (Large or Negative Value)
psssql
I ran into an issue today that is documented but you have to know where to find it so I wanted to point it out. In the middle of a lengthy KB article # 907877 ( http://support.microsoft.com/kb/907877 ) the the following comment. "In a NUMA-enabled system, this value can be incorrect or negative...
on
21 Apr 2010
Blog Post:
How It Works: Soft NUMA, I/O Completion Thread, Lazy Writer Workers and Memory Nodes
psssql
There seems to be some semantic(s) confusion on the books online description of SOFT NUMA. The area of confusion is from the SQL Server 2008 Books Online section, shown below. Soft-NUMA SQL Server allows you to group CPUs into nodes referred to as soft-NUMA. You usually configure soft...
on
2 Apr 2010
Blog Post:
How It Works: Bob Dorr's SQL Server I/O Presentation
psssql
I put a presentation together quite some time ago going over various SQL Server I/O behaviors and relating them to the SQL Server I/O whitepapers I authored. I keep getting requests to post the presentation and the information is relevant from SQL 7.0 to SQL Server 2008 and beyond. Here are the RAW...
on
24 Mar 2010
Blog Post:
How It Works: How many databases can be backed up simultaneously?
psssql
Previously I have posted details on backup/restore designs and how to tell what backup/restore is doing. http://blogs.msdn.com/psssql/archive/2009/03/03/how-it-works-sql-server-vdi-vss-backup-resources.aspx http://blogs.msdn.com/psssql/archive/2008/01/28/how-it-works-sql-server-backup-buffer-exchange...
on
13 Nov 2009
Page 1 of 2 (50 items)
1
2