enabling page verification

  • Hi

    I have spotted a couple of databases that have the page verification turned off and i wish to enable this immediately. Can this be done in production hours without causing downtime ? Or is the fact an ALTER DATABASE command is issued mean it kicks everyone out while the change is made ? and is running the T-SQL code:

    ALTER DATABASE <dbnameHere>

    SET PAGE_VERIFY CHECKSUM

    GO

    the easiest method. Is there not an option to toggle this on/off from the properties ? I can't see one if there is ?

    Thanks

  • You can execute this command on-the-fly without effect on the current activities.

    You can also change this setting in the GUI: go to the property of the database and select "Options". Scroll down to the "Recovery" section and you'll see the "Page Verify" setting.

    ** Don't mistake the ‘stupidity of the crowd’ for the ‘wisdom of the group’! **
  • got it. Simple enough - not sure why its even turned off or if somebody turned this option off ? I'm thinking it has been on at some point because we use monitoring software and the alert only just came through warning it was off.

    Thanks for the quick reply.

  • Someone turned it off at some point after creating the database (first creation). When, that's going to be very hard to tell, if not impossible.

    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
  • Was this database upgraded from an earlier version?

  • Steve - Its a question i would have to ask the boss - Ive been here for approx 5months so its always been 2005 on this particular server (all the others are 2008r2). As far as i know its always been 2005 version.

    My main concern is that sql monitor picked up the alert a few days ago so it must have been switched off recently (checksum). I suppose I could ask if anybody turned it off - I cant see a reason why they would do it, especially has the server isnt under any strain cpu wise.

    We do a weekly index rebuild so i guess that will then let me know if anything is worng now that i have renabled the checksum.

  • Even if it was from an earlier version, page verify would not be off. If it was upgraded from SQL 2000 and that setting not changed, it would be page verify = Torn Page, not none.

    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 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply