Viewing 15 posts - 7,606 through 7,620 (of 18,926 total)
AJHall (10/22/2010)
October 22, 2010 at 8:55 am
We need way more info than that to optimize this query.
We need table definitions (create table scripts) along with all the keys, indexes and triggers if any.
We also need sample...
October 22, 2010 at 8:43 am
Grant Fritchey (10/22/2010)
Oops. I spend most of my time in 2008 these days. I tend to bleed that stuff back down the chain sometimes.
No sweat, I'm glad I learned this...
October 22, 2010 at 8:38 am
SureshS_DBA (10/22/2010)
GrantI believe DBCC freeproccache (<guid>). will work on 2008 only....
Confirmed, doesn't work on sql 2005 standard SP 2
October 22, 2010 at 8:24 am
It's like air guitar... it's pretend code rather than actual table scripts and actual data which gives you the final and tested query.
October 22, 2010 at 5:13 am
Compare both execution plans to find the difference.
It's likely a parameter sniffing issue (plenty of articles in google about that)
October 21, 2010 at 11:56 am
Why would you leave so much ram for windows?? 38.4 Gb seems like a lot for nothing... especially if nothing else is running besides sql server db engine.
October 21, 2010 at 11:01 am
I don't know if it makes sens for your data, but I usually copy the begin and end date filters in the derived tables as well when I can.
This usually...
October 21, 2010 at 7:57 am
There's no way this is the whole query. I have a small laptop here and returning 1M records takes only seconds.
That means that your query is either way more...
October 20, 2010 at 10:59 am
Geoff A (10/20/2010)
USE [YourDataBaseName]
GO
CREATE NONCLUSTERED INDEX [IX_Deleted_Ind ] ON [dbo].[Table1]
(
[Deleted_Ind] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY...
October 20, 2010 at 10:57 am
How long did it take before you started using our recommendations?
October 20, 2010 at 7:31 am
Bill_CCAC (10/19/2010)
9 seconds total execution time.
How much seconds did you save from the original query compared to the new one.
October 19, 2010 at 2:25 pm
It's 9 seconds less?
9 secs total.
It started from 10 secs or 10 days?
October 19, 2010 at 2:04 pm
Richard M. (10/19/2010)
October 19, 2010 at 1:29 pm
Viewing 15 posts - 7,606 through 7,620 (of 18,926 total)