Forum Replies Created

Viewing 15 posts - 14,446 through 14,460 (of 49,552 total)

  • RE: How to use Select within select in the same Select statement..??

    Case statement is probably what you're looking for, but not enough information to be sure.

    All this is in one table? What do you want the model size column to show...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: get SQL server memory usage

    sqlfriends (2/1/2013)


    SQL Pizza (2/1/2013)


    Hi sqlfriends,

    as you've already learned, memory management in sql server is a very complicated topic. Could you please describe your problem more precise, to give us a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: get SQL server memory usage

    SQL Pizza (2/4/2013)


    For example : Page Life Expectancy should be well above 300 (which are seconds, so they should last longer than 5 Minutes)

    That was a poor threshold when Microsoft...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: get SQL server memory usage

    sqlfriends (2/1/2013)


    Sorry, I mean Total server memory is much lower than target server memory.

    No, it means that SQL is ramping up its memory usage.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: logical consistency-based I/O error

    Which command did you run? The repair? If so, what was the output?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Lot Of Blockings in production server

    Do you know what those killed sessions were doing and the consequences of killing them?

    Blocking: chapter 6 of http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: logical consistency-based I/O error

    Stop SQL agent.

    ALTER DATABASE msdb SET Single_User WITH ROLLBACK IMMEDIATE

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: my queries are too slow when SET FORCEPLAN OFF

    Exec plan without forceplan please, need to see what SQL's doing wrong to help.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: NOT makes query never complete?

    Sergiy (2/3/2013)


    Different story when you apply the WHERE clause.

    Because there is no way any index can be used SQL Server needs to build the recordset from the subquery as a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Microsoft Certified Master

    Considering how many times Seacom has developed faults off the Senegalese coast, sometimes I think they don't.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Microsoft Certified Master

    Robert Davis (2/3/2013)


    Uwe, if I'm not mistaken, the latency problem for Gail that would prompt her to travel to Europe to do the lab exam is due to issues with...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: when i am removing user from the server it's promoting an error

    GilaMonster (2/3/2013)


    That's an informational message informing you that deleting logins does not delete the associated database users and to complete the delete you have to delete the database users yourself,...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Microsoft Certified Master

    Uwe Ricken (2/3/2013)


    Hi Gail,

    your words frighten me 😉

    I was so confident that problems will not occur when I have my own infrastructure (6 Mbit).

    Well that's about 3 times the best...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Execute task based on INSERT - but without triggers

    Missing, no, seriously, majorly overcomplicating, yes. For what you describe you'll need unsafe CLR, elevated permissions on the client computer (so that SQL can talk to the client machine), lots...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Moving TempDB - SQL School Video

    Shane Clarke (6/21/2012)


    How would you do it on a SQL cluster (active/passive)? Would you need to run it while each node is active?

    Same way. No, just once. The settings...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 14,446 through 14,460 (of 49,552 total)