Forum Replies Created

Viewing 15 posts - 20,281 through 20,295 (of 49,552 total)

  • RE: Block problem !

    Chapter 6: http://www.simple-talk.com/books/sql-books/troubleshooting-sql-server-a-guide-for-the-accidental-dba/

    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 Life Expectancy

    chewychewy (2/16/2012)


    For eg, my PLE is 300. So does it means that one page of the above will flush out every 5 mins to make space for new page?

    No, 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: Backups..

    newkidd (2/15/2012)


    What would be the ideal backup strategy? Fail-over clustering or nightly backups with log file backups every five minutes, for a business with 4 locations wanting 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: when i check the database with following command DBCC CHECKDB(checkerpdatabase) WITH NO_INFOMSGS,these below error occured what i do ????????????????

    Those errors are not fixable, and I told you how to proceed

    The only solution now is to recreate the database. Script all of the objects in the DB, export all...

    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 2008 Transaction Logs for Database with Recovery Model

    Please read the first article again and look at the section on replication waits. It links to a blog post as well. Read that.

    Switching to full recovery just makes 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: Page Life Expectancy

    Nothing's flushed. Flushing the cache every 5 minutes would be silly.

    PLE is the average time that a page will remain in cache before been removed for whatever reason. So if...

    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: Order by While inserting

    ScottPletcher (2/15/2012)


    I wouldn't call it 'auto-magically',

    That's primarily what I meant. I thought it was conditional. I've seen SQL not do it.

    To me it's much safer to code...

    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: back up into many disks

    The backup will be striped equally across all files.

    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: Back up file size

    It's just the default. No real advantage for files.

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

    Open up Books Online (the SQL help file/manual) and read over the page ALTER INDEX

    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: Order by While inserting

    ScottPletcher (2/15/2012)


    IIRC, a single insert of many rows will be done in the clustered index order auto-magically.

    Really? Interesting. I don't recall that. Would be nice tho.

    Yup, does...

    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 SQL Server determine the default DEADLOCK_PRIORITY?

    It could well be setting the deadlock priority implicitly based on the amount that need to be rolled back if the user hasn't explicitly set one already. Alter Index Reorganise...

    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 SQL Server determine the default DEADLOCK_PRIORITY?

    The one that will be the least work to roll back will be the victim, basically the one that's logged the least changes in the current transaction.

    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: Fragmentation still remain same after Index Rebuilding...

    Index fragmentation != file fragmentation. If running a file system defrag tool on SQL databases, SQL Server must be stopped for the duration. While there are tools that claim they...

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

    Just rebuild the clustered index, there's no need to drop anything and having the nonclustered indexes won't make the clustered index rebuild longer or make it do more.

    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 - 20,281 through 20,295 (of 49,552 total)