Error chain starting with write failure (error 655) during a DBCC CHECKDB...
Hello,We experienced the following error chain (extracted from the SQL Server logs) that ultimately caused our instance to restart and fail over one of our primary AGs, causing us unexpected (albeit...
View ArticleThere is insufficient system memory to run this query Error: 701, Severity:...
SQL 2005 SP3 64bit, 48GB of memory, I have min memory=0 max memory=40GB, mem per query 1024KB, AWE is off. I am only getting this error when I run a query that creates a few namespaces. Any ideas on...
View ArticleRestored master not restored msdb now have error
Some time ago I have server failure and have restored master databases and all user databases. I have not restored msdb database. The msdb database is default after clean install of a server. Now I...
View ArticleSQL Agent - alerts section of job properties, why there?
I use the notifications area of a jobs properties for sending email upon a job failure, but what is the "Alerts" section for? It seems like this is more for server-level events, instead of those...
View ArticleSQL Agent - what are some best practices with regards to job history, logging...
What are some common good ways to handle capturing error information. The error will likely get written in the job history, but if a server is running several busy jobs, your job history might get...
View ArticleError -2147217871 Timeout Expired on Update Command
Hi All,I have an update command within vba that occurs on worksheet_change of a workbook. It works by once something is typed into Excel a connection to the database is opened and I grab variables from...
View Articlewhen option(recompile) hurts
OK now, I have a moderately large and ugly dynamic query from the entity framework coming in, and I thought I'd try playing with it. I added a few indexes and took it from 150++ seconds to about 10...
View ArticleSQL 2012 (on Windows 2012) - High Compiles (not DB specific), Very low Plan...
SQL Server 2012 SP1 (Enterprise Edition) - 11.0.3000Windows Server 2012 (SP0) OS - 160 GB RAM SQL - 100 - 140 GB Allocated MemoryTempDB on Fusion I/O.MAX DOP = 8, OptimizeAdhocWorkload=True,...
View Articlefind what fills T-log
Hi,I have below queries:Sometimes our Transaction log gets filled and I need to shrink the T-log. So first I check logspace using "dbcc sqlperf (logspace)Next I check if there are any inactive vlfs...
View ArticleMonitoring Disk Space Using an Alert
I am on SQL Server 2012. It is installed on a VM. I would like to create an alert that monitors the disk space on a drive. I would like to monitor Drive D when the free space drops below 3GB. I...
View ArticleMessage Error: 18210, Severity: 16, State: 1. and Message Error: 3041,...
i have back failure errors in the sql server logswhen i check maintenance plans history it shows back up ran successfully.I also see the backup files at the destination disk drive and there is lot of...
View ArticleAdd an index, kill performance
Just one for the books. Have a fairly long SP with some nasty complex select statements, have our "big table" at 6m rows with about 28 indexes, trying to tune it up for some slower cases.So, I add a...
View ArticleHow would a SQL Server Agent Job cause an SSIS package to run differently
I have an SSIS package that is scheduled to run every 5 minutes during working hours. For some odd reason when SQL Server kicks off the package we're getting different results than when you run the job...
View ArticleUnable to Unzip SQL2012 SP1 CU4 file - 464142_intl_x64_zip.exe
Hi, I have been trying in vain to unzip this file 464142_intl_x64_zip.exe which is part of the just released sQL2012 SP1 CU4. I get "This self-extracting zip file is part of a multidisk zip file....
View ArticleTempDB data file
Hi,Tempdb data file size shows 50,200GB. In database properties, it shows free space 50,000GB. I want to reduce tempdb datafile size. I tried this option:In database properties, changed initial size to...
View ArticleALTER INDEX (with REBUILD), if run several times both decreases and increases...
ALTER INDEX (with REBUILD), if run several times both decreases and increases the average fragmentation for the non-clustered index. I would expect the average fragmentation to be 0 after the first...
View ArticleReclaiming space available
I have a database that I ran compression on and if you look at the picture it shows SIZE 401407.04MB and Space Available as 210142.89MB. I am trying to free up that space but nothing has worked yet. I...
View ArticleHow to reduce the available space on the db
Hi, My current database size is 300 GB and available space shows 90 GB.I want to reduce available space of the db and return some space to the drive for different purpose.I tried dbcc shrink db which...
View ArticleNet start vs Single user mode
Hi,Could anyone shed light on the significance of starting the SQL Server on net start and starting the SQL on Single user mode. On what occasions should we use each of these? Any detailed explanation...
View Article