Viewing 15 posts - 3,151 through 3,165 (of 18,926 total)
GilaMonster (8/22/2011)
Recompiles aren't logged.Besides, procedures aren't recompiled when the statistics update. They recompile next time they run if they used any of the statistics that changed.
Is the engine smart enough...
August 22, 2011 at 10:20 am
GilaMonster (8/22/2011)
Ninja's_RGR'us (8/22/2011)
P.S. when something runs 10X slower than something else, the plan is NOT the same... or should not be the same.
Unless there's major blocking/waits on the slow one.
But...
August 22, 2011 at 10:18 am
P.S. when something runs 10X slower than something else, the plan is NOT the same... or should not be the same.
August 22, 2011 at 10:14 am
You're telling your mechaninc that you have a problem with you car, without any more details and without letting if see the car or run any diagnostics.
Good luck fixing your...
August 22, 2011 at 10:14 am
can you at least post the actual execution plan?
When was the last time you updated the stats on those tables?
August 22, 2011 at 10:06 am
Roy Ernest (8/22/2011)
Let us say we have a table with 6 columns...
August 22, 2011 at 10:05 am
No possible way to make that call without seeing the standard queries hitting that table, their execution plans and the % of each query type.
August 22, 2011 at 10:04 am
Thanks for the very detailed post. It's really helpful to helps us help you.
Now the only missing part is 1-2 sample date + required output.
Right now I don't understand...
August 22, 2011 at 10:02 am
sonythan (8/22/2011)
The problem with div by billion is some of my company store has so little sales. Not even get a billion number.
But i just...
August 22, 2011 at 10:00 am
Grant Fritchey (8/22/2011)
Ninja's_RGR'us (8/22/2011)
The real problem is the join hint.I've never heard of <auto>-update stats causing problems. I'm not saying it's impossible, but on the very improbable side.
I have...
August 22, 2011 at 9:56 am
ColdCoffee (8/22/2011)
The query you posted did not have a join statement, but the error message says differently. Is the procedure complete? or you just posted part of the SP?
Yes you...
August 22, 2011 at 9:54 am
Good thing it doesn't work.
The command you need to run is backup log. Not truncate log.
If you don't care about losing all the data between full backups change the...
August 22, 2011 at 9:51 am
Now keep in mind that I have a tone of tables with very little or no data. So this will get different results that 1 big table.
SELECT COUNT(*) FROM...
August 22, 2011 at 9:50 am
The real problem is the join hint.
I've never heard of <auto>-update stats causing problems. I'm not saying it's impossible, but on the very improbable side.
August 22, 2011 at 9:40 am
I type slower than I think.
ISNULL(Colname, '')
😀
If this was not a one time deal I would put a bunch of ors in the where to only update the rows that...
August 22, 2011 at 9:38 am
Viewing 15 posts - 3,151 through 3,165 (of 18,926 total)