Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Search
Common Tasks
About
RSS for posts
Atom
Archives
Archives
January 2013
(1)
December 2012
(1)
November 2012
(4)
October 2012
(5)
September 2012
(4)
July 2012
(13)
June 2012
(7)
May 2012
(3)
April 2012
(2)
March 2012
(2)
February 2012
(8)
January 2012
(8)
December 2011
(14)
November 2011
(7)
October 2011
(5)
September 2011
(3)
August 2010
(1)
July 2010
(3)
June 2010
(4)
May 2010
(4)
May 2008
(1)
February 2008
(6)
January 2008
(3)
December 2007
(25)
November 2007
(14)
Visitors log
Where you folks come from?
MSDN Blogs
>
La bodeguita de Nacho
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
La bodeguita de Nacho
Premier TechTracks SQL Server just released
Posted
4 months ago
by
Nacho Alonso Portillo
0
Comments
And I’ve created and produced the first video on the SQL Server track. It is called SQL Server Connectivity Deep Dive and is currently available from this link for Premier customers subscribed to this new offering.
La bodeguita de Nacho
What OLEDB providers should you expect to show up under the Providers node in SSMS?
Posted
5 months ago
by
Nacho Alonso Portillo
0
Comments
The short answer is: Those returned by master.dbo.xp_enum_oledb_providers. But let’s dig deeper and try to give you the detailed description you deserve. The triggering reason why I’m writing about this is because a colleague described the following...
La bodeguita de Nacho
How to set the default transaction isolation level server wide?
Posted
5 months ago
by
Nacho Alonso Portillo
0
Comments
Last week I was involved in a discussion about the default transaction isolation level used by the transaction objects in WCF’s services (Serializable) versus the one used by the transaction objects in Entity Framework for SQL Server (ReadCommitted) whose...
La bodeguita de Nacho
Even if some client tools in SQL seem to be forward compatible with later versions, you may be missing something important
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
Today, a colleague exposed the following case: In the execution plan I do see some exclamatory marks on Sort, Hash Joins operators but there is no warning information available. I am using SQL Server 2012. How do I interpret the exclamatory...
La bodeguita de Nacho
Does larger TEMPDB log file affect the performance of startup of SQL Server?
Posted
6 months ago
by
Nacho Alonso Portillo
2
Comments
I invested some time today investigating what SQL Server does with the initialization of TEMPDB’s log file, because a question was raised last week during Robert Davis session on TEMPDB at SQL PASS Summit in Seattle, and I wasn’t sure about what the answer...
La bodeguita de Nacho
Are you one of those rare birds whom, while running batches that involve distributed queries, have encountered any of the following errors?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
3988 - New transaction is not allowed because there are other threads running in the session. 3930 - The current transaction cannot be committed and cannot support operations that write to the log file. Roll back the transaction. If so, I would...
La bodeguita de Nacho
Why does restoring a database needs TempDB?
Posted
6 months ago
by
Nacho Alonso Portillo
3
Comments
Or the chicken and egg problem when attempting to restore a corrupted model database as it was presented by my MCM colleague Gail Shaw the other day in our MCM discussion group. This is the case he presented us with: Hi all Something I’ve been puzzling...
La bodeguita de Nacho
What’s the meaning of different States for error 9002?
Posted
7 months ago
by
Nacho Alonso Portillo
1
Comments
I just happened to find that when the log manager raises error 9002 “The transaction log for database '%s' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases” the State can vary...
La bodeguita de Nacho
How much is crash recovery parallelized? In which order are databases recovered?
Posted
7 months ago
by
Nacho Alonso Portillo
3
Comments
Following is the answer I provided to the interesting question asked by my colleague Pat Martin about the insides of crash recovery in SQL Server. The iterator used to scan the catalog for the databases that need startup and recovery returns them...
La bodeguita de Nacho
FAQ around sys.dm_db_index_usage_stats
Posted
7 months ago
by
Nacho Alonso Portillo
1
Comments
For those of you who may not be familiarized with this object, sys.dm_db_index_usage_stats is one of the many Dynamic Management Views built into SQL Server. This one specifically falls into the category index related DMVs , and it returns counts of different...
La bodeguita de Nacho
Inaccurate values for “Currently allocated space” and “Available free space” in the Shrink File dialog for TEMPDB only
Posted
7 months ago
by
Nacho Alonso Portillo
0
Comments
Last week I went to a customer who showed me the following weird information. He opened SSMS (SQL Server Management Studio) 2008 R2 and connected to one particular instance of SQL Server 2008 R2 in which he observed this behavior we wasn’t able...
La bodeguita de Nacho
Can I install SQL Server 2012 Standard Edition to run in a server with more than 4 sockets or more than 16 cores? Are there any limitations?
Posted
8 months ago
by
Nacho Alonso Portillo
2
Comments
I’ve found myself answering these questions more than three times only during the the last week. All those questions coming from very different people with different profiles. Some being our customers, some being partners, and even from some coworkers...
La bodeguita de Nacho
Another dirty trick played by an antivirus
Posted
8 months ago
by
Nacho Alonso Portillo
1
Comments
A PFE colleague from Italy, recently exposed the following situation in an internal distribution list: From: <removed_to_protect_identities> Sent: Wednesday, July 18, 2012 8:36 AM To: <removed_to_protect_identities> Subject: Report hanging...
La bodeguita de Nacho
How do you explain that sys.dm_os_spinlock_stats.backoffs keeps increasing and no sqlos.spinlock_backoff event is produced?
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
A PFE colleague from the UK approached me yesterday with the following concern: Hi Nacho, I may need to find out the call stacks when a spinlock backoff occurs at a customer tomorrow. So I found this script from a SQLCAT article: http://sqlcat.com/sqlcat...
La bodeguita de Nacho
What’s the maximum level of recursion for the hash iterator before forcing bail-out?
Posted
8 months ago
by
Nacho Alonso Portillo
1
Comments
This is a question I was asked recently whose answer I had to look in the code because it wasn’t documented anywhere. So, I’ll use this mean to propagate that piece of knowledge. The value is a constant, hard coded in the product, and its value is five...
La bodeguita de Nacho
Who, ME, an almighty Sysadmin getting a permission denied error?
Posted
9 months ago
by
Nacho Alonso Portillo
0
Comments
This is the story of someone who claimed to be a member of the sysadmin fixed server role and, when he tried to run one stored procedure through a session in which any of the different settings that instruct the relational engine that the user is interested...
La bodeguita de Nacho
Which database and language the domain user goes by default when is a member of multiple windows groups, and these groups have logins created in SQL with different default databases and languages?
Posted
9 months ago
by
Nacho Alonso Portillo
4
Comments
When a domain user is in multiple Windows groups, and these group logins have a different default databases (and different language) on the same instance, and there is no login for the Windows user account, how does SQL Server decide which database (and...
La bodeguita de Nacho
What’s in PREEMPTIVE_OS_FILEOPS wait type?
Posted
9 months ago
by
Nacho Alonso Portillo
0
Comments
This one wait type is one of the many hundreds which came up new with SQL Server 2008. As my colleague Denzil Ribeiro found in the code, this one in particular is one that accounts the time SQL Server threads have waited for file system operations to...
La bodeguita de Nacho
GetDataSourceContents will always return null for the Password member of the instance of DataSourceDefinition it returns
Posted
9 months ago
by
Nacho Alonso Portillo
1
Comments
Even though current and past versions of the documentation have never explicitly said so, for obvious reasons the password is no returned . In fact there is no public SSRS API that can return passwords in stored credentials. Just to let you know until...
La bodeguita de Nacho
Adjusting the maximum number of worker threads per SQL Server Agent’s subsystem when processors are added or removed from the machine after the instance of SQL Server was installed
Posted
9 months ago
by
Nacho Alonso Portillo
4
Comments
Inside MSDB, there exists a system table named dbo.subsystems which is populated the first time SQL Server Agent services runs. Every time SQL Server Agent starts up, among the several things it does, it interrogates the contents of that table to find...
La bodeguita de Nacho
Reason for the mismatch between sys.dm_os_memory_nodes.virtual_address_space_committed_kb and aggregated sys.dm_os_memory_clerks.virtual_memory_committed_kb by memory_node_id
Posted
9 months ago
by
Nacho Alonso Portillo
1
Comments
A PFE colleague presented the following scenario and asked for the justification of what seemed to be, a priori, something inexplicable. The story was like this: When I check the memory allocation using memory nodes and memory clerks DMVs the total amount...
La bodeguita de Nacho
Be careful with setting the SessionTimeout system property to a value out of the [10, 2147483647] range (SSRS 2008 R2)
Posted
10 months ago
by
Nacho Alonso Portillo
0
Comments
Most of the functionality implemented in the web service that requires getting the value of any system property doesn’t read it directly from the ReportServer Catalog. Instead, it uses a set of members from the Microsoft.ReportingServices.Library.Global...
La bodeguita de Nacho
Is this OperationNotSupportedNativeModeException exception expected?
Posted
10 months ago
by
Nacho Alonso Portillo
0
Comments
If your instance of Reporting Services is not installed in SharePoint integrated mode and you see the following error reported in your SSRS log files, don’t panic. It is expected: library!ReportServer_0-14!be8!06/22/2012-08:36:58:: e ERROR: Throwing Microsoft...
La bodeguita de Nacho
Understanding when, in a PowerShell script, the call of a method produces output upon return from the call and when it doesn’t
Posted
10 months ago
by
Nacho Alonso Portillo
0
Comments
A colleague asked the following a few days ago: <MESSAGE> With the following rows I’m trying to revoke “connect” permissions from database user. Unfortunately I always get the output from the red line (see script below) Output: I ‘d like to suppress...
La bodeguita de Nacho
The unexpected client impersonation scenario that seemed to be only justified by the effects of black magic
Posted
10 months ago
by
Nacho Alonso Portillo
0
Comments
For whatever reason whose understanding has been lost over time it has been the case since SQL Server 2000, at the very least, that when a client attempted to log in into an instance of SQL Server using any data access library other than OLEDB, and neither...
Page 1 of 6 (148 items)
1
2
3
4
5
»