Forum Replies Created

Viewing 15 posts - 256 through 270 (of 49,552 total)

  • RE: SQL Server Memory Utilization - Best way to determine how much memory SQL Server is Actually using versus what is allocated

    ericwenger1 - Monday, March 19, 2018 7:11 AM

     We all know that SQL Server grabs all the memory that is allocated via Max...

    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: Rebuilding Indexes very often is good?

    Please note: 5 year old thread.
    Please post new questions in a new thread. Thanks

    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: Upgrade of SQL Server from 2014 to 2017.

    No idea about the SSIS.

    Availability groups cannot be set up between different versions.

    And please, test carefully before you upgrade production.

    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: update vs insert deadlock...update seems to be taking X lock and not a U lock

    Just noticed the deadlock graph is Excel. I don't like downloading unknown spreadsheets, and Excel mangles the data as it is.
    Can you attach either the deadlock graph (.xdl) or...

    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: update vs insert deadlock...update seems to be taking X lock and not a U lock

    sambartick 90616 - Wednesday, March 14, 2018 7:44 AM

    when you have a second to confirm your theory by checking the deadlock graph.

    Nothing...

    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: update vs insert deadlock...update seems to be taking X lock and not a U lock

    I haven't looked at the deadlock graph as I have a meeting in a couple minutes, but updates absolutely do take X locks.

    The update will initially take U...

    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: How to find if someone ran SQL profiler 2 days back

    Short of asking people, no.

    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: Ginormous Production Log File - Help!

    If you're going to switch to simple recovery, don't bother taking log backups first. Just switch to simple, and then shrink the log to a sensible size.

    Just keep...

    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: Ginormous Production Log File - Help!

    If the database is in full recovery (almost certainly) then the log gets retained until a log backup is taken. Not a full backup, not a differential, a log. 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: Avoid subselects for single condition with max()

    adiedler - Tuesday, March 13, 2018 4:10 AM

    Hello,
    Personally I feel bad about to use subselects in queries

    Why?

    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: DATALENGTH function

    What's the data type of the State column?

    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: Prevent SQL from locking at the table level

    Look at the queries, make sure they're efficient. Look at the indexes, make sure that they support the queries
    If SQL's locking at the table level then either it can'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: Determining what version of SQL Server to use

    No reasons. I recommend 2017.

    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: Multiple tempdb files feature when database compatibility version is reduced

    Rather upgrade to SQL 2017, not 2016..
    The work in testing and upgrading will be the same.

    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: Multiple tempdb files feature when database compatibility version is reduced

    Compatibility is just for the query optimiser/query processor when executing query features that have changed across the versions. It's nothing more than that.

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