Viewing 15 posts - 16 through 30 (of 112 total)
Thanks for your reply. I was looking for a way other than searching the plan cache.
I was using the same DMVs but your script is a little bit more complete.
February 21, 2013 at 7:41 am
Physical Reads= data pages read from hard drive
Logical Reads= data pages read from buffer pool (data catch)
February 20, 2013 at 2:36 pm
you can read the log using "fn_dblog" function
but i didn't understand why u would need that
October 23, 2012 at 5:05 pm
query the sys.databases "log_reuse_wait_desc" column.It could be for several reasons.
October 22, 2012 at 11:52 am
thanks Gila I'm a new DBA in this company and there's lots of bad written queries like this one . The query need to optimized obviously :crazy:
October 12, 2012 at 2:36 pm
the "MyPlan" is the plan for the whole query and the "NarrowIndexplan" is just the "select count(*) ..." plan with nrrower index being used and also the "largerindex" is the...
October 12, 2012 at 1:46 pm
the query is not just the "SELECT count(*) FROM PointCurrent WHERE PointTypeID=1" it's an left join query like this "SELECT count(*) FROM PointCurrent WHERE PointTypeID=someOthertable.PointTypeID"...
October 12, 2012 at 12:39 pm
the cost of seeking the larger index was 77% of the whole Sp execution cost.
for the query I mentioned "select count(*) ..." the logical reads dropped from 1023 to...
October 12, 2012 at 12:31 pm
set the "optimized for adhoc workload" database option this reduces the size of adhoc plans in your cache
October 12, 2012 at 11:38 am
Bhuvnesh (10/12/2012)
GilaMonster (10/12/2012)
What do you need me to explain? The index is redundant, it's a subset of an existing index
So you mean to say here that another ( single...
October 12, 2012 at 11:35 am
GilaMonster (10/12/2012)
Low page density from fragmentation or deletes.p.s. The smaller index is redundant, it's unlikely to be needed.
you're right the fill factor is set to 80%.It's true the smaller index...
October 12, 2012 at 11:18 am
SQLSACT (9/19/2012)
pooyan_pdm (9/18/2012)
SQLSACT (9/18/2012)
anthony.green (9/18/2012)
Basic formula is((Cache Hit Ratio / Cache Hit Ratio Base) * 100)
Thanks
And that would give me an accurate % of plan-reuse in my instance?
What is the...
September 19, 2012 at 3:32 pm
SQLSACT (9/18/2012)
anthony.green (9/18/2012)
Basic formula is((Cache Hit Ratio / Cache Hit Ratio Base) * 100)
Thanks
And that would give me an accurate % of plan-reuse in my instance?
What is the Cache Hit...
September 18, 2012 at 12:56 pm
Viewing 15 posts - 16 through 30 (of 112 total)