Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


enabling page verification


enabling page verification

Author
Message
PearlJammer1
PearlJammer1
Old Hand
Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)

Group: General Forum Members
Points: 322 Visits: 1423
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
HanShi
HanShi
Hall of Fame
Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)Hall of Fame (3K reputation)

Group: General Forum Members
Points: 3042 Visits: 3625
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’! **
PearlJammer1
PearlJammer1
Old Hand
Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)

Group: General Forum Members
Points: 322 Visits: 1423
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.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47088 Visits: 44340
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


Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)SSC-Dedicated (35K reputation)

Group: Administrators
Points: 35863 Visits: 18715
Was this database upgraded from an earlier version?

Follow me on Twitter: @way0utwestForum Etiquette: How to post data/code on a forum to get the best help
PearlJammer1
PearlJammer1
Old Hand
Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)Old Hand (322 reputation)

Group: General Forum Members
Points: 322 Visits: 1423
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.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47088 Visits: 44340
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


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search