Forum Replies Created

Viewing 15 posts - 241 through 255 (of 429 total)

  • RE: Bad performance of a query

    Grant Fritchey (8/22/2011)


    Indexed views are really only good if you have reasonably unvolatile data. If your data is being updated constantly then the indexed view is going to hurt more...

  • RE: Bad performance of a query

    Actually I should have been more precise and accurate here. The above query is actually a view and in my procedure, there are some filter operations in where clause. I...

  • RE: SQL Agent not starting

    Sachin Nandanwar (8/12/2011)


    See whether this helps

    http://support.microsoft.com/kb/975752/en-us?sd=rss&spid=13165

    It does not let me run this CU. I have repaired the shared features in SQL installation through repair wizard. I have rebooted it and...

  • RE: Transactional Replication on a table carrying incompatible data type

    I know replication a a bit tricky subject. So I am requesting all of you to atleast give some hint even if you do not know the complete answer.

  • RE: moving system database

    Ignacio A. Salom Rangel (8/11/2011)


    You can use the steps in this link. Good luck!

    Big daddy. you are correct. Some forums suggested to use detach attach method for system databases using...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    <Almost> no change. Bottom line is that every single estimate is wrong, at every level.

    Let's try to clean this mess up.

    Take the first query. Start using joins,...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    chandan_jha18 (8/9/2011)


    Ninja's_RGR'us (8/9/2011)


    I stopped asking why many moons ago.. just give you headaches ;-).

    Do you have the new execution plan? At least we can see how we can...

  • RE: Tuning a query

    GilaMonster (8/9/2011)


    The execution plan % are based on the estimated costs, which are based on the row estimations, which are incorrect in this case.

    Use profiler, use Statistics IO, use statistics...

  • RE: Tuning a query

    I did'n use the profiler. I ran the whole procedure once and then found that each batch was taking almost 20-25 percent in the execution plan. So i just picked...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    I stopped asking why many moons ago.. just give you headaches ;-).

    Do you have the new execution plan? At least we can see how we can help there.

    Last...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    ELEPHANT.

    The first 4 inserts could be merge into a single one as far as I can see.

    The FROM / where / group by seem 99% identical.

    A couple well placed...

  • RE: Tuning a query

    GilaMonster (8/9/2011)


    chandan_jha18 (8/9/2011)


    If a plan has seek operators, does it mean that it is good enough? My plan has so many scalar operators too. Not sure what to make out...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    chandan_jha18 (8/9/2011)


    Ninja's_RGR'us (8/9/2011)


    Yes, stats seem stale / wrong.

    The row estimate is 1 and the actual count is over 100K iirc. That's why we're all pounding on this one.

    As...

  • RE: Tuning a query

    Ninja's_RGR'us (8/9/2011)


    Yes, stats seem stale / wrong.

    The row estimate is 1 and the actual count is over 100K iirc. That's why we're all pounding on this one.

    As per the...

  • RE: Tuning a query

    If a plan has seek operators, does it mean that it is good enough? My plan has so many scalar operators too. Not sure what to make out from the...

Viewing 15 posts - 241 through 255 (of 429 total)