Forum Replies Created

Viewing 15 posts - 12,826 through 12,840 (of 22,214 total)

  • RE: Execution plans and restores

    SQLHeap (4/4/2011)


    If I were to restore a DB from production to any other server, would the execution plans and statistics come with the prod backup?

    Yes, on the statistics, no, on...

  • RE: Restore Database Failed: 'Exclusive access could not be obtained because the database is in use.'

    Can you try using restricted user instead of single user? I've seen applications that constantly refresh their connection so they can squeek in before you start the restore.

  • RE: monitoring sql servers

    forsqlserver (4/5/2011)


    Is there any free tool but good also?:hehe:

    Yes.

    Performance Monitor comes free with every instance of windows. You can combine that with the Dynamic Management Objects within SQL Server and...

  • RE: monitoring sql servers

    Gianluca Sartori (4/5/2011)


    kstjacques (4/4/2011)


    If you have a windows administration team, you should inquire if they are using SCOM to monitor the windows environment. If they are, you can ask...

  • RE: Query Performance Tuning

    Grubb (4/4/2011)


    Craig Farrell (4/4/2011) SELECT * FROM master..sysprocesses.

    Thanks, Craig. The problem with that is that the query only runs ~400 ms. Do you know of a...

  • RE: Query Performance Tuning

    Grubb (4/4/2011)


    Grant Fritchey (4/4/2011) since "slow" in this case is 300ms

    Tell me about it. Not a good one to really cut my teeth on.

    The Tuning Advisor recommended my covered...

  • RE: Query Performance Tuning

    It absolutely could be parameter sniffing, yes, but it also could be contention on resources. Does the table have inserts, updates or deletes that occur? If so, you might be...

  • RE: monitoring sql servers

    Reinforcing what Gianluca said, Red Gate's SQL Monitor really is an excellent choice for monitoring servers and the price is very reasonable. If you want to, you can actually play...

  • RE: Restore Database Failed: 'Exclusive access could not be obtained because the database is in use.'

    Even if you place it in single user mode, if you're connected to that database or another connection is there, it might still be active when you try to run...

  • RE: SQL Server Execution Plans

    Abrar Ahmad_ (4/4/2011)


    [font="Verdana"]Grant, if following tiny confusion can be explained?

    Do DMV/Fs provide "Actual Execution Plan" or "Estimated Execution plan" specially Sys.DM_exec_Query_Plan?

    Logically it should be "Actual Execution Plan" rather than "Estimated...

  • RE: Are the posted questions getting worse?

    SQLkiwi (4/4/2011)


    Darn my addled jet-lagged brain - I forgot to mention how great it was to meet Jack Corbett and have a couple of good long chats with him. ...

  • RE: Are the posted questions getting worse?

    WayneS (4/3/2011)


    Grant Fritchey (4/3/2011)


    I'm just glad it's over. All that crap is out of my basement. Yay!

    So, whose more glad about that... you or your family?

    Oh, the wife is pretty...

  • RE: How should ORM tools perform SQL actions?

    WayneS (4/1/2011)


    I'd like to start a discussion for how ORM tools (Entity-Framework, nHibernate, etc.) should perform SQL actions.

    I'm specifically interested in the use of stored procedures.

    1. Should ORM tools...

  • RE: How should ORM tools perform SQL actions?

    Jeff Moden (4/3/2011)


    Oh yeah... I almost forgot. If you're going to use an ORM so the "developers" don't have to work with the DBA and don't really have to...

  • RE: Are the posted questions getting worse?

    SQLkiwi (4/2/2011)


    What an amazing day at SQL Saturday #71 in Boston today.

    Got to meet heaps of great people including Grant and Stefan K!

    If anyone would like to see the slides...

Viewing 15 posts - 12,826 through 12,840 (of 22,214 total)