Forum Replies Created

Viewing 15 posts - 25,111 through 25,125 (of 49,552 total)

  • RE: deadlock graph

    3000 lines? Eeep.

    What's the following fragment of that proc?

    line="239" stmtstart="16530" stmtend="17452"

    (stmtstart and stmtend are character offsets. So looking for about 1000 characters starting 16530 characters into the proc)

    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: Tracking "Invalid Object" errors on a server-level basis

    AlexSQLForums (7/6/2011)


    Setup another profiler session for Error = 208 missing tables.

    Just be aware that may fire a lot of false alerts. If a batch is submitted that contains a create...

    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: Duplicate key error when inserting into a table that has no records!!! Please help!

    The data you are inserting has duplicates in it.

    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: Delete After Trigger

    There are no other triggers on either table? Absolutely sure of 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
  • RE: Recovery Mode Change

    Steve Jones - SSC Editor (7/6/2011)


    I was surprised, but a quick test shows that a diff actually does reset the log chain.

    As in restart the log chain after a switch...

    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 expensive are my page checksums

    Steve Jones - SSC Editor (7/6/2011)


    If you cannot tune the queries, analyze them and send back information and suggestions to the third party providers, either about better queries or better...

    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 graph

    That's a intra-query parallelism deadlock. If you look, all the processes have the same SPID. That's actually a bug, they shouldn't occur.

    The lack of query text is most likely a...

    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 graph

    Can you post the entire of that deadlock graph please?

    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 graph

    I'm guessing that's it. It's clearly noting the proc as an object in TempDB. Probably some complex reason why they can't get the text from a temporary proc.

    If you've got...

    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: Delete After Trigger

    As Lowell said, replace it with a print. If the raiserror rolls back the delete the trigger will roll back too.

    There is nothing I can see wrong with your trigger....

    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: Brain racking for fun (Can you track/capture a select from a specific Login)

    You don't. You tell whoever wrote the app that they must call stored procs not run adhoc queries.

    Frankly the idea of modifying the returned data is terrifying. If I could...

    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: Delete After Trigger

    The trigger's fine, just RAISERROR with a severity of 16 is used for errors. Informational messages are severity 10 or lower.

    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: Brain racking for fun (Can you track/capture a select from a specific Login)

    Write a stored procedure and make them call that rather than running ad-hoc queries.

    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 graph

    Are you using temporary procedures? The proc references DB 2 - TempDB. Real procedures shouldn't be in there.

    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 graph

    Post an example graph.

    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 - 25,111 through 25,125 (of 49,552 total)