Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

enabling page verification Expand / Collapse
Author
Message
Posted Wednesday, August 21, 2013 7:11 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 7:09 AM
Points: 231, Visits: 908
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
Post #1486683
Posted Wednesday, August 21, 2013 7:19 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 3:03 PM
Points: 2,201, Visits: 2,610
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’! **
Post #1486692
Posted Wednesday, August 21, 2013 7:25 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 7:09 AM
Points: 231, Visits: 908
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.
Post #1486699
Posted Wednesday, August 21, 2013 7:31 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:00 PM
Points: 42,301, Visits: 35,356
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 2008, MVP
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

Post #1486704
Posted Wednesday, August 21, 2013 8:15 AM


SSC-Dedicated

SSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-DedicatedSSC-Dedicated

Group: Administrators
Last Login: Wednesday, June 11, 2014 5:42 PM
Points: 33,007, Visits: 15,132
Was this database upgraded from an earlier version?






Follow me on Twitter: @way0utwest

Forum Etiquette: How to post data/code on a forum to get the best help
Post #1486743
Posted Wednesday, August 21, 2013 9:58 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Yesterday @ 7:09 AM
Points: 231, Visits: 908
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.
Post #1486787
Posted Thursday, August 22, 2013 3:30 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 4:00 PM
Points: 42,301, Visits: 35,356
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 2008, MVP
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

Post #1487134
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse