Viewing 15 posts - 16 through 30 (of 35 total)
Take a look at the database sizes, if it has a lot unallocated shrink it. If the log file is huge take a backup.
July 1, 2010 at 2:55 pm
No dice on the updating of stats, It still takes about the same amount of time. 5-6mins.
I'm going to start logging from a few system views and see...
June 30, 2010 at 8:13 am
Eugene Elutin (6/29/2010)
Have you ever updated statistics on this table? 😀
That's a good call, I'll give that a try and let you know.
June 29, 2010 at 8:46 am
ColdCoffee (6/29/2010)
Jason Messersmith (6/29/2010)
I didnt have any luck with these queries.:doze: i dint quite get u , Jason ; pls elaborate !
they ran for about 10mins and I shut them...
June 29, 2010 at 8:45 am
I didnt have any luck with these queries.
June 29, 2010 at 8:13 am
Ya it still took about 6mins. There is the plan.
June 28, 2010 at 4:04 pm
Jeff Moden (6/28/2010)
Jeff Moden (6/28/2010)
@Jason,The SQLPlan you posted seems to be an "estimated" plan... can you include an "Actual" plan?
Now THAT's interesting... although an INDEX SEEK is listed, no predicates...
June 28, 2010 at 3:54 pm
ya i thought of that about 8mins ago, the query is still running.
June 28, 2010 at 3:47 pm
lmu92 (6/28/2010)
Jeff Moden (6/28/2010)
Except for the fact that I'm generally against using INT to store ISO dates, there's no need to change it here because it won't help for this...
June 28, 2010 at 3:43 pm
Jeff Moden (6/28/2010)
@Jason,The SQLPlan you posted seems to be an "estimated" plan... can you include an "Actual" plan?
done.
June 28, 2010 at 3:29 pm
Lamprey13 (6/28/2010)
Is the table a heap or did you just omit the clustered index?
The other index on it is clustered,
CREATE UNIQUE CLUSTERED INDEX [Idx_BALEOD20091SkuStoreEOD] ON [dbo].[BALEOD2009]
(
[EODDate] ASC,
[Store] ASC,
[SkuNumber] ASC
)WITH...
June 28, 2010 at 3:04 pm
lmu92 (6/28/2010)
Jason Messersmith (6/28/2010)
There is no gain with using Count(*), yup everything is running on an indexCan you post the create index script for the related index?
Here is the...
June 28, 2010 at 2:50 pm
EODDate is an int atm, I am working on some tests to see if changing it will help but the date is used as an int thoughout the database. ...
June 28, 2010 at 2:23 pm
There is no gain with using Count(*), yup everything is running on an index
June 28, 2010 at 2:22 pm
Viewing 15 posts - 16 through 30 (of 35 total)