Quantcast
Channel: Forumul SQL Server Database Engine
Browsing all 15780 articles
Browse latest View live

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 Article


There 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 Article


Restored 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 Article

SQL 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 Article

SQL 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 Article


Error -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 Article

when 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 Article

SQL 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 Article


find 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 Article


Monitoring 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 Article

Message 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 Article

Add 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Unable 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 Article

TempDB 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 Article


ALTER 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 Article

Image may be NSFW.
Clik here to view.

Reclaiming 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 Article


How 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 Article

how to check port

Hi,I want to check which port SQL server is using ?please hlep

View Article

Net 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
Browsing all 15780 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>