Viewing 15 posts - 32,161 through 32,175 (of 49,552 total)
Dave Ballantyne (6/28/2010)
Update the statistics and issue sp_recompile "STOREROOM", to force the plan out of the cache.
No need for the recompile, the stats update will invalidate the plan.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 9:10 am
sam-1083699 (6/28/2010)
Here are execution plans for procedure and view on both servers.
Which is fast, which is slow?
Is the procedure slow or are adhod queries of the view slow?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 9:09 am
Gianluca Sartori (6/28/2010)
Gail, I found the perfect present for your birthday!!!
I always need more coffee coasters, the more colourful the better
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:57 am
Anyone willing to drop everything for an urgent performance issue? http://www.sqlservercentral.com/Forums/Topic943983-360-1.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:55 am
Post both execution plans.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:54 am
Have you tried a statistics update?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:52 am
That'll work, but I strongly suggest that you consider transactional replication.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:05 am
Why do you need a case statement?
create table #t
(i int)
insert into #t(i) values (null)
insert into #t(i) values (1)
SELECT Count(*)
FROM #t
WHERE i IS NULL
As for the case statement you have, you're...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 8:04 am
Please post the deadlock graph
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 7:55 am
rew-370421 (6/28/2010)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 7:55 am
No, it's from some different event that your trace is picking up. Check what events you have the trace listening for.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 7:37 am
A clustered index does not ensure that the data is stored physically in the order of the index. Only if there's 0 fragmentation of index and file does the logical...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 7:31 am
If you are using SQL 2008 and (I believe) .Net 3, you can use the table valued parameter.
http://www.codeproject.com/KB/cs/CSharpAndTableValueParams.aspx
http://msdn.microsoft.com/en-us/library/bb675163.aspx
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 28, 2010 at 7:02 am
Please post new questions in a new thread. Thanks.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 27, 2010 at 11:36 pm
Is reporting services available?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
June 27, 2010 at 11:36 pm
Viewing 15 posts - 32,161 through 32,175 (of 49,552 total)