Forum Replies Created

Viewing 15 posts - 1,246 through 1,260 (of 49,552 total)

  • RE: Alternative to Group by and Having

    Can you post the execution plan please? Actual plan, not estimated.

    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: Are the posted questions getting worse?

    Ed Wagner - Wednesday, June 21, 2017 5:49 PM

    And yeah, the Like thing has changed a lot.  I think people are...

    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 Server 2014 Performing slow

    Can you please find Glenn Berry's wait stats queries, capture the waits at one point, wait a couple hours capture them again, take the difference  and post the waits 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: 2008 R2 to 2014 cluster upgrade - rollback possible?

    No.

    will it be able to mount databases as long as compatibility modes are intact?

    Compatibility level has nothing to do with this. Compatibility level is about...

    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: .ldf file

    Ricky Valencia - Wednesday, June 21, 2017 9:06 AM

    You may also refer to this useful article entitled "A beginner’s guide to SQL...

    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: Performance: TRUNCATE vs. DROP/CREATE

    ronmoses - Wednesday, June 21, 2017 9:04 AM

    So now I'm left with the conclusion that my table, when truncated,...

    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: Performance: TRUNCATE vs. DROP/CREATE

    The server-wide waits are uninteresting here, and since they're aggregated from the server start, they're not going to tell you the difference between two statements.

    sys.dm_exec_request and the wait_type...

    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: Alternative to Group by and Having

    John Mitchell-245523 - Wednesday, June 21, 2017 8:03 AM

      Will this one not work just as well?

    Yours returns one row per customer...

    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: Alternative to Group by and Having

    What's wrong with group by and having? If you ned to take aggregates per <some column> and filter on those aggregates, group by and having are what you need.

    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: Performance: TRUNCATE vs. DROP/CREATE

    Did you check for waits, see if the query is waiting for something and if so, what?

    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: Can you disable the sa account if it used as a local login for Linked Server?

    juniorDBA13 - Wednesday, June 21, 2017 5:11 AM

    Would i be best to just update the local login to another account?

    Yes!
    The sa...

    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 server upgrade to new version

    I haven't recommended keeping up to the latest version since SQL 2012, 2 year release cycles are tough to keep up with. 18 month is going to be near-impossible.

    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: Are the posted questions getting worse?

    Sean Lange - Tuesday, June 20, 2017 10:34 AM

    Does anyone know how to disable the intellisense in sql prompt? I only want...

    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: Troubleshooting MEMORY ALLOCATION EXT wait type

    GA_SQL - Monday, June 19, 2017 8:24 AM

    Any Troubleshooting/resolution which we can apply to this wait types, please help

    Yes, ignore it.
    As Jonathan...

    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 behaving strangely on different servers

    Sorry, that was me mis-reading. I could have sworn that the execution plan you posted was for a delete. Apologies.

    Ok, so no blocking. Does the query go suspended...

    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 - 1,246 through 1,260 (of 49,552 total)