Forum Replies Created

Viewing 15 posts - 16 through 30 (of 112 total)

  • RE: Track queries that caused index scan

    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.

  • RE: Physical reads

    from Hard Drive

  • RE: Physical reads

    Physical Reads= data pages read from hard drive

    Logical Reads= data pages read from buffer pool (data catch)

  • RE: Reading TRANSACTION LOG

    you can read the log using "fn_dblog" function

    but i didn't understand why u would need that

  • RE: Shrining log file not releasing the unused space

    query the sys.databases "log_reuse_wait_desc" column.It could be for several reasons.

  • RE: Index Usage

    just for the count(*) using set statistics io on

  • RE: Index Usage

    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:

  • RE: Index Usage

    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...

  • RE: Index Usage

    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"...

  • RE: Index Usage

    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...

  • RE: Ad-hoc Query Plan flushing GOOD OR BAD?

    set the "optimized for adhoc workload" database option this reduces the size of adhoc plans in your cache

  • RE: Index Usage

    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...

  • RE: Index Usage

    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...

  • RE: SQL Performance Statistics

    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...

  • RE: SQL Performance Statistics

    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...

Viewing 15 posts - 16 through 30 (of 112 total)