Forum Replies Created

Viewing 15 posts - 541 through 555 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Michael L John - Friday, December 29, 2017 9:45 AM

    Lynn Pettis - Friday, December 29, 2017 9:10...

    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: Need Help for performance

    Please don't post multiple threads for the same question.
    No replies here. Replies to https://www.sqlservercentral.com/Forums/1914800/Need-Help-for-performance

    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: Need Help for performance

    Please don't post multiple threads for the same question.
    No replies here. Replies to https://www.sqlservercentral.com/Forums/1914800/Need-Help-for-performance

    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: Need Help for performance

    If that's in a scalar user-defined function, it will be very slow. Nothing you can do about that, functions are very slow. Try converting it to not use a function.

    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: 350GB virtual memory usage only 163MB RAM SQL is limited to 32GB memory.

    gatorx - Thursday, December 28, 2017 11:42 AM

    What in the OS could cause it to page SQL, by the way this...

    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: 350GB virtual memory usage only 163MB RAM SQL is limited to 32GB memory.

    gatorx - Thursday, December 28, 2017 11:18 AM

    I agree something is wrong, but it is SQL that is paging out, I start...

    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: SQL Grouping

    There's no reason to have a subquery there.

    SELECT [Agent Name] AS AgentName
      , [Reason Code] AS ReasonCode
      , SUM(Cast(Datepart(Second, [Duration]) AS INT)...

    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: high signal wait and slowness

    Recompiling it made the problem go away temporarily. It hasn't fixed it. Fixing will require changing the code or using plan guides or query store forced plans (if an upgrade...

    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: high signal wait and slowness

    Bad parameter sniffing, or some form of unstable plan. Almost always the result of the way stored procedures are written, and fixable by making sure that procedures only have one...

    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: Plan reuse. How to find it out?

    https://www.sqlinthewild.co.za/index.php/2011/08/16/compiles-and-recompiles/

    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: suggestion on table order inside a join ?

    vsamantha35 - Wednesday, December 27, 2017 9:02 PM

    Not sure where I read it and couldn't recollect, but I read that in the...

    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: 350GB virtual memory usage only 163MB RAM SQL is limited to 32GB memory.

    SQL doesn't use the page file. If it ever gets paged out, something has gone *seriously* wrong (and there will be messages in the error log stating that it's been...

    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: Overriding error message sent back

    If you're using Entity Framework, and it's running ad-hoc SQL against the DB, no. Handle the error in your application and present to the user something meaningful.
    If you have...

    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: Corrupt SQL file how to restore?

    It's not SQL Server. vBulletin uses MySQL. So, given the version, this is MySQL 5.1.54 (still pretty outdated)

    This isn't exactly T-SQL afterall - IF(votenum >= 1, votenum, 0)...

    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: Choose: SQL 2012 Enterprise or SQL 2016 Standard

    Why is SQL 2016 Enterprise not an option?

    SQL 2012 is out of support, so just from that, it's a sub-par choice.

    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 - 541 through 555 (of 49,552 total)