Forum Replies Created

Viewing 15 posts - 17,971 through 17,985 (of 49,552 total)

  • RE: gaps after restarting SQL server 2012

    By the way... Identity has never guaranteed no gaps. This is a bit extreme, but there's nothing technically invalid about 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: Stored Proc Recompile

    Neither of which will show all procedures executed. If your app calls a proc which calls another proc, the RPC will only show the outer.

    Trace for SP:Started or SP:completed (or...

    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: gaps after restarting SQL server 2012

    Yes, it's a known issue as per that connect item.

    Workaround - don't restart 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: Stored Proc Recompile

    What did you trace for?

    Procedure or function?

    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: Database Mirroring - witness

    Any edition, even Express.

    A witness is only needed with synchronous mirroring if you want auto failover. Async doesn't involve a witness since it can't automatically fail over.

    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: Disk defragmentation - can this corrupt SQL data?

    AlexKlein (6/19/2012)


    I know we are a Gold Certified Microsoft Partner

    So's the company I work for.

    The IO reliability program's got nothing to do with the company, it's a set of...

    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: Disk defragmentation - can this corrupt SQL data?

    AlexKlein (6/19/2012)


    I fully understand your hesitation and you should understandably be cautious when trying something new. However, as LeVar Burton would say, you don't have to take my word for...

    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: Disk defragmentation - can this corrupt SQL data?

    I would be very, very, very, very careful about any online defrag or smart disk management tool. Diskeeper 10 for example had bugs that caused checkDB to fail (http://www.sqlskills.com/blogs/paul/post/diskeeper-10-intelliwrite-corruption-bug.aspx)

    Better safe...

    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: Stored Proc Recompile

    The cached_time column in that DMV tells you when the procedure was cached, the execution count is the count since that time.

    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: Stored Procedure Errors - Read Log via T-SQL?

    All errors of severity 19 or above go into the error log.

    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 can we get the logs of database

    SGT_squeequal (6/19/2012)


    Thanks Gila, not noticed that it wokred on size just noticed last tiem i restarted SQL server the report was empty

    Default trace doesn't just store schema chances, so entirely...

    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: ALTER INDEX ..... SORT_IN_TEMPDB

    TheSQLGuru (6/19/2012)


    GilaMonster (6/19/2012)


    TheSQLGuru (6/19/2012)


    GilaMonster (6/18/2012)


    No. It's roughly 20%, but you'll need to test on your largest tables to see exactly.

    Hey Gail - do you have a reference for that number...

    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 can we get the logs of database

    SGT_squeequal (6/19/2012)


    PS. there is a report that you can run that will also show what schema changes have been made against your database but it will only show you 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: ALTER INDEX ..... SORT_IN_TEMPDB

    TheSQLGuru (6/19/2012)


    GilaMonster (6/18/2012)


    No. It's roughly 20%, but you'll need to test on your largest tables to see exactly.

    Hey Gail - do you have a reference for that number you can...

    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: memory

    Please don't post multiple threads for the same problem.

    No replies to this thread please. Direct replies to http://www.sqlservercentral.com/Forums/Topic1317550-391-1.aspx

    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 - 17,971 through 17,985 (of 49,552 total)