Viewing 15 posts - 1 through 15 (of 244 total)
u may have a USE database at the very top of ur script. I've done that before when not totally paying attention
November 30, 2012 at 8:00 am
Is there a way to querry the estimated reads from a cached exec plan?
Also, why would there be multiple records for a given proc name in th below. Are there...
August 24, 2012 at 11:43 am
Now we're cookin.
One of my issues is i'm getting execution plans on occation going really really bad and i'm trying to monitor when it happens. So here's what i got...
August 24, 2012 at 10:01 am
also, is there a way i can get the actual proc call w/ the input params and all if it exists?
August 24, 2012 at 9:16 am
changed it slightly. changed the status to ISNULL(sp.status,r.status). and added a left join to the sys.dm_exec_procedure_stats view so i can get the proc name and it's status seems to...
August 24, 2012 at 9:11 am
got it.
SELECT *from (
select spid,sql_handle, COUNT(*) as Counter
from master.dbo.sysprocesses
group by spid,sql_handle
HAVING COUNT(1) >1
) dup
CROSS APPLY sys.Dm_exec_sql_text(sql_handle) sp
August 24, 2012 at 7:51 am
I've got processes who do not have maxdop set therefore on occasion the same spid is breaking out to 10- 20 parellel processes. I'm trying to identify them or better...
August 24, 2012 at 7:46 am
Noted. I will keep an eye out for that monday morning when the box starts flying.
thanks.
August 23, 2012 at 9:51 am
oh. and thanks SQL Know It All. I retract my blasphemous statement at Microsoft. I wish I would have known that before
i'll keep u all posted on what the issue...
August 22, 2012 at 9:18 am
GilaMonster. That’s the thing. the execution plan runs fine then all the sudden during one of the recompiles it starts doing 11 million reads. keeps doing that until whatever caused...
August 22, 2012 at 9:17 am
Going to try and answer everyone here.
1) I didn't save the execution plan when it was doing 11 million reads. I wasn’t expecting it to all the sudden fix itself....
August 22, 2012 at 8:27 am
are u replying to my first or second comment?
August 21, 2012 at 12:30 pm
is this saying that i'm getting a cache hit? If so then how do i read this. It appears to me it showing a cache miss and a cache hit.
attaching...
August 21, 2012 at 12:16 pm
Viewing 15 posts - 1 through 15 (of 244 total)