Forum Replies Created

Viewing 15 posts - 7,606 through 7,620 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Eirikur Eiriksson (10/4/2014)


    Is it just me or does this smell like a spam? A quick search returned few similar postings referencing the same vendor on other sites.

    😎

    It's the same kind...

    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: very large log file due to mysterious replication configuration

    I mean your checks to see if it was safe to delete the log file were inadequate...

    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: Page still marked corrupt after DBCC check returns no errors

    Maybe it wasn't actually repaired, just deallocated by something like an index rebuild.

    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: Page still marked corrupt after DBCC check returns no errors

    SQL logs an entry in suspect pages when it finds a corrupt page. In your case, that happened on the 11th of last month and SQL only found an error...

    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: Login Trigger Causing Deadlocks

    Great, so post them please. Pictures of SSMS's graphical rendition of the deadlock graph files is useless as it's only part of the information. Hence why I asked for 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: restoring System Databases - From SQL Server 2005 into SQL Server 2008R2

    No, it cannot, as the error message says.

    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: DEADLOCK and NOLOCK question for reading parameters from DB.

    If you need to sum the entire Transactions table 300 times a second (with no filtering or grouping), I'd say you need to either reconsider your design or your requirements....

    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: PREEMPTIVE_OS_ENCRYPTMESSAGE and PREEMPTIVE_OS_DECRYPTMESSAGE wait types

    That's very likely going to be the source of those waits then. SQL's probably calling out to the OS to do the encryption and decryption of the 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: DEADLOCK and NOLOCK question for reading parameters from DB.

    aykut canturk (10/3/2014)


    my logic says less lock is better.

    It's no where near that simple.

    Is using the hint going to damage the database? Of course not.

    That doesn't mean you...

    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: PREEMPTIVE_OS_ENCRYPTMESSAGE and PREEMPTIVE_OS_DECRYPTMESSAGE wait types

    Running service broker?

    Using any encryption anywhere?

    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: DEADLOCK and NOLOCK question for reading parameters from DB.

    But in that case, what's the point of the hint?

    You said that data is not getting updated, so why would you need a hint that lets you read through exclusive...

    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: is there any table to know old queries

    kevaburg (10/3/2014)


    The table sys.dm_exec_sql_text only stores currently executing SQL and once the execution is completed will be removed.

    Currently cached, not currently executing, but otherwise, yeah. An insert ... values is...

    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: Unique index on multiple column primary key (composite)

    Please note: 4 year old thread. Please post new questions in a new thread. Thank you.

    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: DEADLOCK and NOLOCK question for reading parameters from DB.

    aykut canturk (10/3/2014)


    but my my question is "is there anything wrong to use WITH (NOLOCK) for reading non-changing fields"

    Yes.

    as I don't need exact results and I'm okay with dirty...

    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: DEADLOCK and NOLOCK question for reading parameters from DB.

    A select alone cannot deadlock. There's likely more to that transaction and there's definitely another process involved.

    If you can get hold of the deadlock graph, it'll be possible to fix...

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