Forum Replies Created

Viewing 15 posts - 44,371 through 44,385 (of 49,552 total)

  • RE: Performance issue on my PROD server

    Jeffrey Williams (9/19/2008)


    Just a guess, but I think you'll find that the difference in the execution plans is due to your production system escalating to a parallel plan.

    I'm thinking much...

    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: Clarification of NoLock

    If you run a select under the default isolation level (read committed), the lock taken will prevent any changes to the table while the select is running (insert, update, delete),...

    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: Not using Index

    What's the fragmentation on that index and the clustered index like?

    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: The index entry for row IDwas not found in index ID n, of table nnn, in database 'xx'

    You may want to contact customer support on this. It sounds like a bug.

    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 issue on my PROD server

    avipenina (9/19/2008)


    both server was restart so the execution plan on both are from scratch.

    Doesn't mean they'll be the same. Please look at the exec plan on the two servers and...

    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 2005 Architecture

    Inside SQL Server 2005: The storage engine goes into a fair bit of detail on the storage engine.

    The Guru's guide to SQl Architecture and internals has a lot of info...

    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: Help with best approach for triggers that need cursors

    SQL triggers fire once per operation, not once per row. SQL doesn't have row-triggers.

    Cursors in a trigger are a near-guarantee of poor performance and potential deadlocks. Triggers should be written...

    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: Throwing error while restoring msdb database.

    And make sure that the SQL service and SQL Agent are shut down.

    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: Truncate Log

    Shark Energy (9/19/2008)


    Is it just me or was some of the advice in this topic very very risky?

    It's not just you. Some were more than 'very risky'

    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: The index entry for row IDwas not found in index ID n, of table nnn, in database 'xx'

    Odd. That message indicates a forced disconnect (a kill command, or an error of severity 20 or higher) or a network glitch.

    A kill or severe error should show up...

    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 Perfmon Counter: Databases

    Run perfmon and monitor from there. I normally just run it directly from the run dialog or command line.

    For the databases counters you should see something like the attached...

    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: ALLOW_PAGE_LOCKSand ALLOW_ROW_LOCKS

    If ALLOW_PAGE_LOCKS is off, then SQL will not take page locks on that index. It will only take locks at the row or table level.

    IF ALLOW_ROW_LOCKS is off, then 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: SQL Server Perfmon Counter: Databases

    When you set up the counters you can specify which DB it's for, or specify counters for all databases overall.

    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 issue on my PROD server

    Developer (as it's name implies) is licenced for development usage only. I would suggest you replace the version on the test server with dev edition and put standard 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: Thank You All

    jcrawf02 (9/19/2008)


    With the knowledge I've gained here at SQLServerCentral, I've gone from (December 2007) a guy who didn't know how to join tables at all and wouldn't have been...

    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 - 44,371 through 44,385 (of 49,552 total)