Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Search
Common Tasks
About
RSS for posts
Atom
Archives
Archives
October 2014
(2)
July 2014
(7)
June 2014
(1)
May 2014
(6)
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
Got a read only database and the contents of sys.dm_db_index_usage_stats.last_user_update contains today’s date. How’s that possible?
Posted
4 months ago
by
Nacho Alonso Portillo
0
Comments
Any attempt to update the index (via any DML statement) updates that index usage statistics as part of the query scan setup/initialization, even before the iterator’s GetRow method is invoked (i.e. before the iterator attempts to actually insert...
La bodeguita de Nacho
Standard edition of SQL Server supports only a 2 node cluster, but will it support multi-subnet clustering or do we need Enterprise edition?
Posted
4 months ago
by
Nacho Alonso Portillo
0
Comments
Even though the Features Supported by the Editions of SQL Server 2014 doesn’t have any indication on which SKUs the multi-subnet FCIs improvement is available, after having confirmed with the program manager who owned the stretch cluster improvement back...
La bodeguita de Nacho
What’s that HTDELETE wait type?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
One of the many improvements, shipped with the SQL Server 2014, made to the iterators used in the batch mode processing query execution paradigm applicable to a query that uses at least one columnstore index ( Apollo ) , corresponds to the enhancement...
La bodeguita de Nacho
Applying DELAYED_DURABILITY = FORCED on TEMPDB
Posted
6 months ago
by
Nacho Alonso Portillo
1
Comments
My PFE colleague Sam Mesel posted the following information a few days ago on an internal distribution group: I’m testing DELAYED_DURABILITY on TempDB Applying the following change on it does not give me any error message, but I see no performance...
La bodeguita de Nacho
What events and columns are analyzed by SQL Server Upgrade Advisor from a SQL Trace .trc file?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
Went to a customer this week to assist them with the risk assessment and work planning to accomplish the upgrade of several business applications’ databases. Question was, what events and what columns should a .trc trace file include that will...
La bodeguita de Nacho
RESTORE VERIFYONLY: How does it check for available space on destination devices?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
“How does RESTORE VERIFYONLY checks for space on destination drives when a drive isn’t specified as part of the statement?” was the question being asked this time. And this was my answer to that one: This is what SQL does: In order to complete...
La bodeguita de Nacho
Why is the compatibility level of the database that supports Data Collection set to 100 even in SQL Server 2012 or SQL Server 2014?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
A question posted by Greg Low to the MCMs distribution group recently: I was surprised that the data collection system creates a database with a dbcompat level of 100 on both 2012 and 2014. Wouldn’t it make more sense for it to create a database...
La bodeguita de Nacho
What’s the optional_spid in sys.dm_exec_plan_attributes?
Posted
6 months ago
by
Nacho Alonso Portillo
2
Comments
My answer to a question asked by Vedran Kesegić asked earlier this week in the MCMs group: Queries accessing non-dynamically bound temp tables, if issued from different connections would recompile to bind to the right temp table. This would cause a...
La bodeguita de Nacho
Finding the list of invalidated plans in cache: Is that even possible?
Posted
6 months ago
by
Nacho Alonso Portillo
0
Comments
About three weeks ago, Kimberly approached me because she was seeking for a way to find a plan that’s in the cache that’s been invalidated such that the next execution will be recompiled. One example script to reproduce the conditions would...
La bodeguita de Nacho
When doing a database restore, what actions is the engine taking after it gets past the 100%?
Posted
7 months ago
by
Nacho Alonso Portillo
1
Comments
This was a question my admired Greg Low posted on the SQL Server MCMs discussion group a few days back, while he was restoring a 2TB database and noticed that the percent_complete column from sys.dm_exec_requests for the session from which the RESTORE...
La bodeguita de Nacho
NEWSEQUENTIALID() defect in SSMS. Wasn’t it fixed already in SQL 2012 RTM?
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
I have recently received this question from different sources, so I think it’s worth documenting why some people still see validation error for the default value of a column when it’s defined as a NEWSEQUENTIALID() built-in. The tracking defect on Connect...
La bodeguita de Nacho
Is SQL 2014 Buffer Pool Extension an Enterprise Edition only feature?
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
No, it’s not. It’s on Standard too. If an attempt is made to enable it on any other edition, you’ll see error 865 written to ERRORLOG “Buffer pool extension is only supported on Standard and Enterprise Editions of SQL Server.” and the same exception is...
La bodeguita de Nacho
Encrypted text in Profiler for unencrypted modules
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
A colleague came up with this situation: ************ I am tracing some SQL activity on a SQL 2008 R2, Enterprise SP2 64-bit server. In the profiler trace, I keep seeing Encrypted Text in the textdata column for procedures that are clearly plain text...
La bodeguita de Nacho
Is eXtreme Transaction Processing (ie In-Memory OLTP) Supported?
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
Someone recently asked under which circumstances SQL Server 2014 would return false when interrogated for the IsXTPSupported server property . I looked into the source code and this is what I encountered there. For the boxed version of SQL14, that...
La bodeguita de Nacho
Log initialization on Azure Blob
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
One fellow MCM posted the other day the following question about log initialization on Azure Blob storage: ******************** In SQL 2014 (VM hosted in Windows Azure) I've tested creating a DB on the Azure Blob storage with a statement like this...
La bodeguita de Nacho
Is crash recovery run serially or in parallel and if so how are CPUs, threads used? If I have 20 databases, for example…
Posted
8 months ago
by
Nacho Alonso Portillo
0
Comments
This contents is based on the response I gave to Pat Martin, a Principal Premier Field Engineer and good colleague of mine, who asked just this question a while back. This is what I found: The iterator used to scan the catalog for the databases that need...
La bodeguita de Nacho
Premier TechTracks SQL Server just released
Posted
over 2 years 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
over 3 years 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
over 3 years 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
over 3 years 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
over 3 years ago
by
Nacho Alonso Portillo
3
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
over 3 years 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
over 3 years 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
over 3 years 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
over 3 years ago
by
Nacho Alonso Portillo
4
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...
Page 1 of 7 (164 items)
1
2
3
4
5
»