One database using most of the CPU
HI,On one of our SQL server, the CPU was really high. I ran a query to find out which database was using most of the CPU. We have about 30 databases on that server. Database 1 is using 90% of the CPU...
View ArticleProblem with SQLServerWriter failing to prepare snapshot
I have been having a problem with a third party tool we are using to do farm backups on Sharepoint. It is backing up the WFEs and app servers fine using VSS.. but when it comes time to backup the sql...
View ArticleRun 2 SQL Agent Steps In Parallel
Hello,Is it possible to execute 2 STEPS within a SQL Agent Job to run in parallel?Right now the option for each step is go to Next Step or Go To Step zzz. Is it possible to go to multiple steps so...
View ArticleThe following error has occurred: Upgrade Failed due to the following...
I mention my problem above, After show the error Shows another message box with try again and Cancel options. I have no choice finally i click cancel. Then setup shows several message boxes. Finally...
View ArticleCREATE COLUMNSTORE INDEX makes server inacessable
SQL SERVER 2012 SP1 on Windows Server 2012 Datacenter Edition. 64 logical CPU 256 GB memoryFor any size of table, partitioned or not, a CREATE COLUMNSTORE INDEX statement runs so fast most of the time...
View Articlehard to understand and limit SQL max server memory usage, can anyone help?
Hello,We have sql server enterprise edition 2008 R2 on windows 2008 R2 x86-64bit.I set the max memory to 10GB but in windows os the sqlserver.exe exactly takes 16GB. I confirm it by using performon...
View ArticleDeadlock captures: "FETCH API_CURSOR..." but not query behind it......
This article shows how to "unmask" the sql query behind a FECTH API_CUSORhttp://www.sqlskills.com/blogs/joe/hunting-down-the-origins-of-fetch-api_cursor-and-sp_cursorfetch/that is shown in a deadlock...
View ArticleTempdb - Resize
One of the tempdb data file is 99% free. I was trying to reorganizing it's size to 50% of free space which means Tempdb data file is 100 GB out of which 99 GB is free. I am trying to resize it to 50...
View ArticleSQL double index
If i have double index OrderID | ProductID and i try to find where ProductID = 30 AND OrderID = 20will sql serever use in this situation the double index , i mean will it switch fields to OrderID = 20...
View ArticleCompatibility_level on SQL Server 2012 in-place upgrade
Hi all,Based on BOL, master and user databases' compatibility_level will not be changed to 110 on SQL Server 2012 in-place upgrade.Database Compatibility Level After UpgradeThe compatibility levels of...
View ArticleSQL Server has encountered 1 occurrence(s) of I/O requests taking longer than...
Dear all,My SQL Server is always alert IO alert , until often hanging and must reboot it !It already drive me mad .May you give some advice ?I already think some solution like below ? Which is better...
View ArticleQuestion regarding memory info in error log after 701 error
We've been getting occasional 701 errors (SQL Server 2012 SP1 standard edition) 64 bit. This instance has 64 GB max server memory on a server with 128 GB of RAM. I'm trying to decode the errorlog...
View ArticleTransaction log backups - Log file free space gradually declining?
Im keeping an eye on the Transaction log for a database that I am cleaning up. There is a 3rd party tool that is supposedly doing Transaction log backups. However, I have been tracking the file space...
View ArticleIs ATA-over-ethernet storage supported for SQL data/log files?
Does someone know if ATA-over-Ethernet kind of storage supported to put SQL Server data/log files on it? I am looking for some official document from MS. I know about iSCSCI and FC supportability......
View ArticleLogin from LAN Client fails
Server: Windows Server 2012, Windows Firewall: Off, SQL Server Database Engines: ON, SQL Browser Service: ONClient: Windows 7 Home Premium (Local Area Network Computer)Issue:From server, I can use...
View ArticleBULK INSERT
I don't know if this has been posted before. I have look around and could not find any similar question.I am written a stored proc that will do a bulk load using bulk insert command. But I am getting...
View ArticleNo Transaction Log choice in drop-down list
I am trying to create a Transaction Log Backup for a database in SQL Server 2008R2, but it does not appear in the drop down list when I choose Tasks==>Backup. It only offers Full and Differential,...
View Article.DAT files being produced from Backup job?
There is an existing job which handles Backups for a given DB. The command being run isBACKUP DATABASE MyDBHere TO SomeNameHere WITH INIT, NOSKIPThe end result is some files on a drive with a .DAT...
View ArticleBIDS - report file permissions issue on master, yet im a sysadmin when...
Im building a report file and when I preview the report, it fails because my account cant access the master database.My dataset is just calling xp_readerrorlog, which is in master.I can call it just...
View ArticleSQL Server 2008 R2 terminating because of fatal exception c0000005
From time to time, SQL is 'randomly' shutting itself down - a production server, so very frustrating. Any help to find the cause, would be appreciated. Having read other threads on a similar theme, I...
View Article