Viewing 15 posts - 1 through 15 (of 21 total)
What I dont understand is why does it work on one database and not the other, is there a specific configuration setting that would effect this?
January 6, 2013 at 11:06 pm
I've checked for open transactions and there are none
I saw the clustered insert in the plan but have no idea why its there, I dont know what tempdb.CWT_PrimaryKey and there's...
November 27, 2012 at 3:56 pm
First off why is the statement wrapped in sp_cursorprepexec?
Second, the parameters supplied in both sql scripts are different so will affect query time.
Third, read uncommitted brings in a whole different...
November 26, 2012 at 4:48 pm
Not sure what the problem is here, I can open the attachment fine, if you have a look it is saved as a .sqlplan file. It may be the version...
November 25, 2012 at 4:27 pm
OK I just uploaded them again, whats the error when you try to open them?
November 22, 2012 at 11:19 pm
Thanks for the reply Pooyan
To answer your questions, the writes/sec is quite low on the principal server, averages around 30 and the disk subsytem is the same as the principal...
September 12, 2012 at 7:53 pm
OK I did some more investigations and found that the select query is acquiring an 'intent shared lock' on a certain page which is blocking the update statement. The interesting...
July 1, 2012 at 8:30 pm
Hey Guys
Thanks for the solutions, they're all great ideas, I'm looking to change the query structure first and see how that goes.
two questions
Why...
June 19, 2012 at 8:38 pm
Hey Thanks for the reply, I was actually looking to turn off table locking for the specific tables as there was some clear evidence in some traces that I ran...
December 15, 2011 at 11:12 pm
Hey Guys apologies for the delay, I've uploaded the proper execution plan. Thanks for all the help so far
December 15, 2011 at 8:47 pm
Here is the query and I have attached the plan. I assumed a like operator required a index scan? Anyway any help would be appreciated, I have created a non...
December 7, 2011 at 6:06 pm
Thanks for the reply Vishal,
I'm actually getting an error when I run the SQL:
/*------------------------
EXEC master..sp_MSForeachdb '
declare @db_type as varchar(10)
set @db_type = ''%_lts%''
USE [?]
IF ''?'' like '@db_type'
BEGIN
declare @sql as...
November 6, 2011 at 8:21 pm
Is it possible to use a variable with the if statement when using the proc sp_MSforeachdb. I'm trying to do the following and getting errors
EXEC master..sp_MSForeachdb '
USE [?]
IF ''?'' like...
November 2, 2011 at 7:39 pm
Hello
I have been monitoring the following counter SQLServer: General Statistics\User Connections through performance monitor but the user connection count is lower than the number of rows returned by sysprocesses, sp_who...
May 8, 2011 at 10:19 pm
Viewing 15 posts - 1 through 15 (of 21 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy