Forum Replies Created

Viewing 15 posts - 7,591 through 7,605 (of 18,923 total)

  • RE: Query Execution Plan

    Grant Fritchey (10/22/2010)


    Yep. In the properties. And yes, it needs to go in my book. That's one of the MANY things that are going to get added in the rewrite.

    No...

  • RE: Query Execution Plan

    winash (10/22/2010)


    If you right click on the SELECT operator on the plan and choose "Properties" there's a "Reason for Early Termination of Statement Optimization" that has the value "Time Out"....

  • RE: Wierd one..

    Ninja's_RGR'us (10/22/2010)


    Actually I'd save both for further analysis and backup.

    Then I'd clear only the bad one and see if everything is fixed.

    Except that you're on 2005 and I have no...

  • RE: Wierd one..

    Actually I'd save both for further analysis and backup.

    Then I'd clear only the bad one and see if everything is fixed.

  • RE: Query Execution Plan

    Grant Fritchey (10/22/2010)


    Looking at the plan... First thing, it's timing out on the optimization process, which is an issue. The only way to reduce that is to simplify the query,...

  • RE: Wierd one..

    Also if you are using dynamic sql, different accounts mean different permissions hence possibly different "best" plans.

    At the very least it can be considered 2 distinct requests if you forgot...

  • RE: Wierd one..

    It still means different plan.

    For sql server those are 4 distinct queries :

    exec dbo.spProc

    exec spProc

    exec Dbo.spProc

    exec dbo.SPPROC

    Depending on what the parameters of the first call were, that's the plan...

  • RE: Average Salary

    GilaMonster (10/22/2010)


    Please note: 2 year old thread.

    So you're working for free since then? :w00t:

  • RE: Average Salary

    Ninja's_RGR'us (4/30/2008)


    Sherbrooke, Québec, Canada (90 minute south of Montréal).

    It was more a contract than a job... but I'm sure I can find more of those if I need to... but...

  • RE: Wierd one..

    Do a simple test in your test proc on prod.

    Add with no lock or readuncommitted.

    That will tell you if you are experiencing locking.

    You way also be waiting on disks, cpu...

  • RE: Wierd one..

    krypto69 (10/21/2010)


    okay so I followed your advise ...ran the execution plan on both prod and stage boxes..

    On my prod box (query 4) I have a clustered index scan..cost of 81...

  • RE: Wierd one..

    Have you tried running it with different parameters to try to get the "fast" plan back?

    Once you get it back you can always use plan guides or always force that...

  • RE: Efficiency

    AJHall (10/22/2010)


    This disconnect has become niche as I’m aging. I often find myself explaining, especially in this economy, that firing a high salary IT worker might be more crippling to...

  • RE: Long Running Sproc

    We need way more info than that to optimize this query.

    We need table definitions (create table scripts) along with all the keys, indexes and triggers if any.

    We also need sample...

Viewing 15 posts - 7,591 through 7,605 (of 18,923 total)