Forum Replies Created

Viewing 15 posts - 1,051 through 1,065 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Shameless self-promotion:
    https://www.pluralsight.com/courses/solving-real-world-problems-sql-server-2016-query-store

    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: Consistency Errors on System Tables

    CheckDB with repair (any repair) WILL NOT fix these errors, so please don't suggest it.
    You probably do have some IO subsystem problems, as that's the main cause of corruption,...

    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: Msg 823 and Msg 8921

    palasatenea_hermi - Wednesday, July 26, 2017 8:55 AM

    GilaMonster - Friday, July 21, 2017 2:24 PM

    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: Recovery Pending Status

    coolchaitu - Wednesday, July 26, 2017 7:54 AM

    GilaMonster - Wednesday, July 26, 2017 1:19 AM

    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: Recovery Pending Status

    Someone restarted the server and deleted old error logs?
    If that was my server, I'd be talking it IT security at this point, as it smells like someone's trying...

    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?

    All my home machines have names out of Arthurian stories.

    Desktop: Myrlin (and  new desktops get the same name)
    Server: Old server was Camelot, when I got a new...

    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: Track User level metadata changes in SQL Server

    GA_SQL - Tuesday, July 25, 2017 5:03 AM

    Any Script to do past 2 weeks monitoring, please suggest

    GilaMonster...

    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: Track User level metadata changes in SQL Server

    You can look in the default trace. It rolls over though, so doesn't go back very far.
    Other than that, you need custom monitoring (not CDC, that's for data)

    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: Recovery Pending Status

    How does an error log get truncated?
    Unless you've messed with the default settings, it should contain 6 older logs and the current one, and the recovery pending messages...

    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: Recovery Pending Status

    Before you restart, what messages are there related to the DB in the error log?
    There will be messages in the error log saying why the DB couldn't recover. Always...

    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: ~Licensing help

    sqlmatt 1398 - Monday, July 24, 2017 3:00 PM

    Thank you Gail

    So in which case I can get a standard /enterprise edition...

    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: Question about TABLOCKX and HOLDLOCK

    You don't really need the explicit transaction. A single statement is its own transaction, and since there's no error handling, there's no real gain from explicitly declaring a transaction.

    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: Question about TABLOCKX and HOLDLOCK

    divinomestre79 - Monday, July 24, 2017 1:33 PM

    Ok, in that case i need help...
    Is it possible to get a exclusive lock on...

    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: Question about TABLOCKX and HOLDLOCK

    No, serialisable doesn't force exclusive locks or table-level locks.
    The isolation levels mostly change how read queries behave, not data modifications

    You get a upd lock, on whatever...

    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: Question about TABLOCKX and HOLDLOCK

    divinomestre79 - Monday, July 24, 2017 12:16 PM

    Hi, sorry for the late replay, but have been working on something else and also...

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