Forum Replies Created

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

  • RE: Backup Automation

    #1 I wouldn't delete the old backup untill the new one is done and verified.

    #2 You can add a step to delete the old backups IE files older than 23...

  • RE: Wierd one..

    Oksana March (10/23/2010)


    So did you ever find out why the same thing ran slow on one server and fast on another?

    And could someone please explain what you mean by "parameter...

  • RE: select query taking more time (execution time)

    Derrick Smith (10/22/2010)


    Out of curiosity...are you executing this on your machine locally connected to a remote server and pulling results over the WAN?

    I second that. What happens if you...

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

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