Forum Replies Created

Viewing 15 posts - 8,701 through 8,715 (of 49,552 total)

  • RE: Are the posted questions getting worse?

    Gotta love a review system where an above-average rating requires "Leaves only when work is done and stays to assist others"

    "No pressure to work overtime" they say. :ermm:

    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: Current resource hogs

    Most queries don't use much memory, the buffer pool is shared. Only workspace memory grants are per query.

    For overall CPU, reads, duration, take a look at this (aging) article:

    https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    https://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    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 replicate CREATE/DROP table in transactional replication ?

    You should be able to use the snapshot agent as it's just a couple of tables, but test and see.

    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: Shrinking the database and log file questions

    kevinsql7 (6/17/2014)


    Did the log file not shrink as much because the DBCC SHRINKDATABASE command is also writing to the log file?

    No. The log can only be shrunk to the end...

    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 replicate CREATE/DROP table in transactional replication ?

    CREATE - once created add it to the articles published and run the snapshot agent. It *should* just snapshot the new table

    DROP - remove the table from the articles published...

    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: Really hope SSC can remove these annoying posts for the World Cup!

    Wrong forum 🙂

    It's been reported and raised to the relevant people

    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 Last Line of Defense

    Andrew Kernodle (6/17/2014)


    But technically, I've gotten leave time in both DBA jobs I've had so far; I've just not been allowed to use it.

    That's the same as 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: Is Killing Database Shrink via SSMS a risk?

    Grant Fritchey (6/17/2014)


    But there are processes that you don't really want to have mess up in the middle because of a somewhat higher likelihood of corruption wouldn't you agree?

    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: Is Killing Database Shrink via SSMS a risk?

    Eirikur Eiriksson (6/17/2014)


    GilaMonster (6/17/2014)


    Welsh Corgi (6/17/2014)


    If I were to kill the process could I corrupt the Database?

    No.

    There is no process in SQL that you can run or kill that will...

    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: does choosing indexed table col for where clause helps and does order of table matters?

    These may help

    http://www.sqlservercentral.com/articles/Indexing/68439/

    http://www.sqlservercentral.com/articles/Indexing/68563/

    http://www.sqlservercentral.com/articles/Indexing/68636/

    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 does rollback work after log file ran out of space?

    ggoble (6/17/2014)


    Rollback operations are also logged. Each transaction reserves space on the transaction log to make sure that enough log space exists to support a rollback that is caused by...

    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 Killing Database Shrink via SSMS a risk?

    Welsh Corgi (6/17/2014)


    If I were to kill the process could I corrupt the Database?

    No.

    There is no process in SQL that you can run or kill that will cause 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: The Last Line of Defense

    Andrew Kernodle (6/17/2014)


    Beatrix Kiddo (6/17/2014)


    Andrew, how do you cope with no annual leave? (If that's not too personal.)

    Simple! No job I've ever held so far has allowed me to...

    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: Drop table rollback

    Yup, any single statement. Thing is, you have to stop it before it completes, and SQL won't always process a stop request immediately so you can easily stop too late...

    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: CheckDB is failing

    Interesting...

    CheckDB shouldn't be trying to take locks at all. I wonder if it's failing to create the DB snapshot and resorting back to table locks. Can you check the 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

Viewing 15 posts - 8,701 through 8,715 (of 49,552 total)