La bodeguita de Nacho
learn.microsoft.com/en-us/archive/blogs/ialonso
SQL Server Troubleshooting Stories - "y una ración de bravas"
- Posts
- 161 from 13 Nov 2007 to 18 May 2015
- Posting
- archived, read-only
- Kind
- personal blog
- Feed
- https://learn.microsoft.com/en-us/archive/blogs/ialonso/feed.xml
2015 8
- Planning to set up an Always On Availability Group configuration to move data data from a 2012 primary replica into a 2014 “readable” secondary replica? Think it twice!
- How is @@DBTS expected to behave on an Always On Availability Group secondary replica, a Database Mirroring mirror, or a database which is being created out of a restored backup and is in standby or in-recovery state?
- SQL Server 2005 upgrade to SQL Server 2014 and compatibility levels
- How to identify whether a database has participated in a cross-database transaction or in a distributed transaction
- Why is everyone classified in the internal workgroup?
- sys.dm_exec_requests showing negative values for total_elapsed_time, wait_time, or any other column it exposes as an integer (int) data type
- Microsoft SQL Server 2008 R2 Best Practice Analyzer fails with “Engine - Login does not exist or is not a member of the System Administrator role”
- Do the 10GB DB size limit in SQL Server Express SKUs also apply to TempDB?
2014 15
- 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?
- Standard edition of SQL Server supports only a 2 node cluster, but will it support multi-subnet clustering or do we need Enterprise edition?
- What’s that HTDELETE wait type?
- Applying DELAYED_DURABILITY = FORCED on TEMPDB
- What events and columns are analyzed by SQL Server Upgrade Advisor from a SQL Trace .trc file?
- RESTORE VERIFYONLY: How does it check for available space on destination devices?
- Why is the compatibility level of the database that supports Data Collection set to 100 even in SQL Server 2012 or SQL Server 2014?
- What’s the optional_spid in sys.dm_exec_plan_attributes?
- Finding the list of invalidated plans in cache: Is that even possible?
- When doing a database restore, what actions is the engine taking after it gets past the 100%?
- NEWSEQUENTIALID() defect in SSMS. Wasn’t it fixed already in SQL 2012 RTM?
- Is SQL 2014 Buffer Pool Extension an Enterprise Edition only feature?
- Encrypted text in Profiler for unencrypted modules
- Is eXtreme Transaction Processing (ie In-Memory OLTP) Supported?
- Log initialization on Azure Blob
2013 1
2012 50
- How to set the default transaction isolation level server wide?
- Even if some client tools in SQL seem to be forward compatible with later versions, you may be missing something important
- Are you one of those rare birds whom, while running batches that involve distributed queries, have encountered any of the following errors?
- Why does restoring a database needs TempDB?
- What’s the meaning of different States for error 9002?
- FAQ around sys.dm_db_index_usage_stats
- Inaccurate values for “Currently allocated space” and “Available free space” in the Shrink File dialog for TEMPDB only
- 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?
- How do you explain that sys.dm_os_spinlock_stats.backoffs keeps increasing and no sqlos.spinlock_backoff event is produced?
- What’s the maximum level of recursion for the hash iterator before forcing bail-out?
- Who, ME, an almighty Sysadmin getting a permission denied error?
- 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?
- GetDataSourceContents will always return null for the Password member of the instance of DataSourceDefinition it returns
- 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
- 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
- Be careful with setting the SessionTimeout system property to a value out of the [10, 2147483647] range (SSRS 2008 R2)
- Is this OperationNotSupportedNativeModeException exception expected?
- Understanding when, in a PowerShell script, the call of a method produces output upon return from the call and when it doesn’t
- The unexpected client impersonation scenario that seemed to be only justified by the effects of black magic
- The improved guide on How to Turn on or off the Report Server Web Service (SSRS 2008 R2)
- Where is the table cardinality taken from when that information doesn’t match in the different statistics associated to an object?
- About the transaction-level snapshot "start" time (for statement reconciliation)
- How does sys.dm_server_memory_dumps work in SQL Server 2008 R2?
- What does the DTC Calls performance counter from the Exec Statistics object accounts for?
- How does the ODBC driver for SQL handles conflicting security settings between DSN and connection string?
- SQL Server changes behavior of the file autolocation invoked during the planning phase of a full restore with REPLACE clause
- Farewell DBCC PRTIPAGE
- Misconceptions around connection pooling
- How the density and distribution of data in the leading key column of an index affects the degree of parallelism chosen for index operations targeting that index?
- DBCC DBRECOVER finally removed from SQL Server
- The seven reasons why Auto Update Stats event will not trigger despite how many modifications affect any of the tables involved in a compiled plan?
- How the query execution engine calculates the threshold it uses to detect inaccurate cardinality estimation and fire the inaccurate_cardinality_estimate extended event?
- Want your SQL Server to simply ignore the AUTO_CLOSE setting, for all open databases for which it has been enabled?
- What’s in Enterprise only? (Change Data Capture)
- What’s in Enterprise only? (Transparent Data Encryption)
- VDI Backups and Backup Compression Default
- What’s in Enterprise only? (Database Snapshot)
- What’s in Enterprise only? (Support for Data Compression & Vardecimal Storage Format)
- What’s in Enterprise only? (Up to 8 CPU sockets)
- Backup Compression and Checksum
- ALTER TABLE SWITCH fails with 4947 even when all the publicly exposed metadata for the indexes in source and target tables perfectly match
- What’s in Enterprise only? (Fuzzy Lookup Transformation in Integration Services)
- What’s in Enterprise only? (Hot add CPU)
- Glitch in SMO causes an error when you attempt to create an FTS Catalog/Table Population Schedule under very specific circumstances
- Reducing the number of queue readers via MAX_QUEUE_READERS parameter might take long time to take effect if there are many messages in the queue
- Duration of schema locks for certain DML operations might not work as expected
- Expected behavior of INSERT into views with Instead Of Insert Triggers
- What’s in Enterprise only? (View Substitution Implicitly Allowed)
- What’s in Enterprise only? (honor Lazy Schema Validation option in a Linked Server)
- What’s in Enterprise only? (Updatable Distributed Partitioned Views)
2011 28
- What’s in Enterprise only? (Online Index Operations)
- What’s in Enterprise only? (Partitioned Tables and Indexes)
- Why is the column named “Microsoft SQL Server 2005 XML Showplan” despite the version producing it is not 2005?
- Under which circumstances would Activity Monitor display duplicate rows in the Processes section?
- Clicking on the XML link containing a query plan doesn’t display the graphical plan but opens the XML editor instead
- What’s in Enterprise only? (Concurrent, Shared, or Merry-go-round Scans)
- How can you drop the witness of a mirroring session when the partners have been dismantled?
- The Read Ahead that doesn’t count as Read Ahead
- What’s in Enterprise only? (Log manager uses locked pages for log cache buffers)
- Programmatically enabling/disabling SQL Native Client Protocols
- What is the expected behavior from an attempt to enable a trace flag which is not defined in the targeted version of the product?
- What’s in Enterprise only? (Running DBCC CHECK* in parallel)
- Attempt to grow all files in one filegroup and not just the one next in the autogrowth chain using trace flag 1117
- What’s in Enterprise only? (Fast Recovery)
- How true is it that Missing Indexes feature cannot gather stats for more than 500 missing index groups?
- What’s in Enterprise only? (up to 2TB of memory)
- What’s in Enterprise only? (Backup Mirroring)
- Never ever set up a Database Mirroring session across different SQL Server Editions (SKU)
- Launching Database Mirroring Monitor without having to go through SSMS
- What’s in Enterprise only? (Online Restore)
- What happens to my orphan Profiler traces?
- What’s in Enterprise only? (Database Tuning Advisor support for recommending Indexed Views)
- What’s in Enterprise only? (SQL Server Audit)
- What’s in Enterprise only? (Fuzzy Grouping Transformation in Integration Services)
- What’s in Enterprise only? (Resource Governor)
- What’s in Enterprise only? (Large Memory Pages)
- What’s in Enterprise only? (Soft-Numa configuration)
- Understanding the value of the Enterprise Edition, one feature at a time
2010 11
- Expressions associated to the connection manager used by ASExecuteDDLTask (Analysis Services Execute DDL Task) are not evaluated as one would expect
- SQL Server Profiler 2008 (or 2008 R2) not showing expected columns for given events while setting up the definition of a new trace
- Microsoft.SqlServer.Management.Smo.PartitionFunction.ScriptCreate generates syntactically invalid statements for non-numeric data types
- Assumptions about SPIDs from where deadlock events will be produced
- How can you configure CLR Enabled setting from the UI?
- Watch your CREATE CERTIFICATE *_DATE clauses syntax order!
- How and when are the pages pushed down to the sparse files of a Database Snapshot?
- Reason why the SLOTS XECustomizableAttribute of package0.synchronous_bucketizer & package0.asynchronous_bucketizer seem to be interpreted incorrectly?
- How to tell from ShowPlan output if (optimize for (unknown)) was used?
- Weird behavior of transaction log growth in SQL Server 2005, 2008, and R2
- Starting with SQL Server 2008 DBCC PAGE displays INVALID COLUMN VALUE where it used to display the quiet not a number string representation (-1.#QNANs) in previous versions
2008 9
- TMP/TEMP/USERPROFILE environment variables: the closer they point to, the better
- Next week (Tue 26th/Wed 27th), you cannot miss it! See you at Microsoft TechDays {The Evolution Show} in Madrid
- What does it mean that BACKUP TABLE / RESTORE TABLE are not "yet" implemented?
- I just had to re-publish a previous post because I had made an important mistake
- A tale about solving "Cannot generate SSPI context" and later "[DBNETLIB][ConnectionRead(recv()).] General network error. Check your network documentation" in a shot
- How an apparently innocent antivirus could kill your SSIS package performance?
- SQL Server performance counters' library improvement
- Good News!
- Scared because SQL Server seems to be running a DBCC CHECKDB on some of your databases on every startup?
2007 39
- What's special with the BULK provider when loading LOB character columns using OPENROWSET?
- SQL Server 2005 Service Pack 2 failing to install due to an error in Do_sqlGroupMember custom action
- Is there any way you can execute an SSIS package whose TransactionOption property is set to Required, without having the MSDTC service running?
- Msg 1013: The object "%s" and "%s" in the FROM clause have the same exposed names. Use correlation names to distinguish them.
- Why my SQL Server performance counters are showing zeroes when current values are higher?
- SQL Server Import and Export Wizard blowing up due to an unexpected error
- Be careful with using RegEx on x64 bit boxes
- Would you like to be part of what is coming next with Connect?
- SQL Server Agent failing to start because "The EventLog service has not been started" (Second Part)
- Raw device support and trying to move the data files of a database to a local disk in failover clustered environments
- "Query timeout expired" when trying to Preview the data from the OLE DB Source Editor in BIDS
- Decreasing the size of a database file through the Management Studio GUI?
- SQL Server Agent failing to start because "The EventLog service has not been started";
- Is it possible to set MSDB's recovery model to Full?
- Are these IO statistics correct?
- Internationalization issue with the implementations of IErrorLookup::GetErrorDescription in SQLOLEDB and MSDASQL OLE/DB Providers
- Were you aware of the existence of Microsoft Connect portal?
- Cannot patch an instance of SQL Server 2005 if there is a mounted drive under the Data folder
- SQL Server 2005 setup fails if network name of the NIC includes a comma
- SQL Server 2005 hotfix, Cumulative Update or Service Pack installation fails with error 1053
- Conflict Viewer's UI becomes practically unusable when run from a French SQL installation on a French Operating System
- Would you like to share with us your experience with Microsoft's Customer Support Services?
- Error 22022: SQLServerAgent Error: Network problems are preventing connection to the Microsoft Exchange Server computer.
- "SQL Execution Error: Timeout expired. The timeout period elapsed..." while opening view from SSMS
- Another good reason why I think we should deprecate AutoRun setting from Command Processor
- Por acaso voçê nao esta a lêr o meu blog so porque nao esta traduzido ao português?
- ¿Hay alguien que esté dejando de leer este blog porque no está traducido al español?
- Is it possible to configure SQL Server Agent to connect to SQL Server using SQL Server authentication?
- Is SQL Agent manipulating the errors raised by SQL Server, before dumping them to the output file?
- Multiple Core and Hyper-Threading enabled CPUs and SQL Server 2005
- How much Virtual Address Space can my SQL Server 2000 process see when running under WOW in an x64 OS?
- ExecuteCaptureLog doesn't work with ErrorConfiguration
- Unexpected "Tuning indexed views requires SQL Server 2005 Enterprise Edition"?
- Flat File Provider and Decimal/Numeric data
- Order in which DTS Packages are displayed from SQL Server 2005 GUI
- Are you suffering from random AdomdConnectionException thrown when trying to connect to a named instance?
- You cannot alter one table using Visual Database Tools (VDT) unless you are either a member of db_dbowner or sysadmin
- Unable to connect to the registry on the Server (MyOLAPServer) or you are not a member of OLAP Administrators group
- I'm logging it!