Deadlock reports not appearing in log
On our dev system, the trace flags 1204 and 1222 are on, deadlocks are detected and resolved, the reports appear nicely in the profiler, but they are not appearing in the system log. SQL 2008 not R2,...
View ArticleAvailability Group Listener and Named pipes
In a 2 node Availability Group with tcp and named pipe protocols enabled, how can you get named pipes to work ?Say for example I have a Windows cluster called DEVL with 2 nodes DEVLA and DEVLB with an...
View ArticleDatabase in Recovery Mode
I have a big delete operation, then while deleting the server went on a restart.When opening the server again, I got the database In Recovery mode.What is the solution?
View ArticleNeed to script/loop adding new databases to SQL 2012 AlwayOn configuration...
Greetings! I've installed and successfully configured our SQL 2012 AlwaysOn 2-node servers for our new "Intranet" that is coming out. I've gotten AlwaysOn working great, and our Front End servers for...
View ArticleSSIS package and Performance
We have a SQL server which has 24 GB RAM that runs slowly when doing a big SSIS package run (last about 4 hours). I see Page Life expectancy is very low , it goes down to 7 when the packages are...
View Articlecalling an sp with dbo. specified
I have heard rumors that calling a stored procedure runs a little faster if you specify the schema, as in "exec dbo.mysp".We have an app that is sending commands to SQL Server as RPCs, judging by the...
View ArticleAny way to tell who created a job or more detailed history?
Had the case a few days ago I get an email about a job that failed. Although the name looked familiar, after taking a look at the server, I concluded it was not something I had worked on. What are...
View ArticleSQL Server 2008 on VM
Hi,We migrated our sql server instances that are mix of 2005, 2008, 2008 r2 (standard, enterprise) from physical to virtual. We have UCS in our data centre. In VM environment we are sharing CPU. Our...
View Articlecan't locate foreign key
Hi,Newbie question. if this is not the right forum, let me know (I'm sure someone will!) SQL SERVER 2012 - I cannot create a foreign key. Error is: Unable to create relationship...
View ArticleIndian Standard DateTime without based on System DateTime
Hi all,I am unable to get the Indian Standard DateTime without based on System DateTime in sql server 2008 r2.Can you please solve my problem.Thanks in advance
View ArticleWhich is better ? DBCC MEMORYSTATUS or sys.dm_os_sys_info ?
Am a beginner to SQL Server usage. What is the difference between using DBCC MEMORYSTATUS to get the memory usage detail (i.e. % of memory usage), and using columns from sys.dm_os_sys_info ? I heard...
View ArticleNolock hint
I have a SQL server database using SQL Server 2008.I had an update performance issue and found that it block by a stored procedure select SQL.I put with (NOLOCK) on the stored procedure and the issue...
View ArticleError 9002 lead to a shutdown of db
Hello,My database shutdown due to error 9002, instead of get in the read-only mode.The error message is :04/12/2013 16:34:15,spid169,Unknown,Database BizTalkMsgBoxDb was shutdown due to error...
View Articlesql server service terminated unexpectedly
A SQL crash has occurred on a clustered SQL Server 2008 R2 SP2 system. The service crashed and restarted itself, any pointers? Error in event log: The SQL Server service terminated unexpectedly. It has...
View ArticleHow to find our that the sqlserver have got enabled MSTSC ?
Please anyone let me know hot to figurout that the sqlserver was having MSDTC.
View ArticleArchive table data will speed up inserts?
I have a table that gets inserted into several times a day. The current archive process thats in place does not include this table and it has almost a million rows in it, along with several...
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 ArticleHow to reduce DB restore hrs
Hi, We are facing some slower DB restoration in one of the production Server. Is there any best method, where we can to reduce DB restoration ?Let me give overview :Our database size is 8...
View Articlehow to find out perticular database has performance issue?
I have Altiris application database on sql server 2008 R2. user is requesting to find out performance issue on database.I need to know how to troubleshoot for perticular database performance issue or...
View ArticleSQL Server 2005 Timeout expired exception
Hi,I have a program in C# that I used to run on Visual Studio 2000 and SQL Server 2000 without any problem.Now I upgrade to VS2005 and SQL Server 2005 and get and exception whileinsert via...
View Article