Viewing 15 posts - 48,961 through 48,975 (of 49,552 total)
Could you please start your own thread for this. You'll get more replies and reads than if you hijack another.
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
November 1, 2006 at 3:47 am
Strange. I know the query optimiser has changed in 2005 and often picks different plans to what the 2000 one would have picked.
Can you check the execution plan of the...
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
November 1, 2006 at 2:46 am
Is any error been thrown? Does the user executing it have update rights to the table? Are there any triggers on the table that might be rolling back your changes?
Can...
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
November 1, 2006 at 1:35 am
Rebuild all your indexes and update all your statistics.
The upgrade from 2000 to 2005 doesn't do that and I have heard of several issues where queries run slower in 2005...
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
November 1, 2006 at 12:08 am
Not too hard and perfect for CASE. Try this
SELECT CustID, InvID,
CASE isRegularCustomer WHEN 1...
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
November 1, 2006 at 12:04 am
Dunno. Depends on whether or not you need (business and complience requirement) to do a report on them first.
If not, a SQL agent job, command line doing a delete would...
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
October 31, 2006 at 7:05 am
My guess is that you have c2 auditing switched on. Run sp_configure and have a look at the value of the c2 auditing option.
If it is on, you will...
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
October 31, 2006 at 1:28 am
I have a habit, if I'm sitting in on an interview, of asking a very difficult question related to the position that the person's applying for.
I'm not necesarily looking 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
October 27, 2006 at 7:06 am
It's fairly simple
Open profiler and create a new trace.
Connect to the server you want to profile.
On the first screen check the box that says save to table. Enter the table...
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
October 26, 2006 at 12:42 pm
I glanced through the dm views and I can't find anything there either.
You can set profiler to log to a table (provided your server's not too busy) and then just...
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
October 25, 2006 at 11:41 pm
What data type is calldatetime?
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
October 25, 2006 at 11:29 pm
I just got back from leave and Tech-Ed and noticed this
Very nice article.
There's nothing that gets at me more than a harsh or insulting reply to a post I've made,...
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
October 25, 2006 at 12:07 pm
My recomendation would be to use profiler.
The event you want is under stored procedures, sp:recompile
You want to catch the object name, the event subclass (which gives you the reason 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
October 25, 2006 at 11:03 am
I can't reproduce the problem, but something I saw a couple days ago at teched might help you.
You aren't by any chance connected to a SQL 2000 instance are you?...
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
October 25, 2006 at 10:25 am
Can you post the sp code please?
The only thing that imediately comes to mind is that it was a real table created, not a temp table
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
October 4, 2006 at 12:27 am
Viewing 15 posts - 48,961 through 48,975 (of 49,552 total)