Use of Page verify option:
1. Page
verify option identifies the suspected or damaged page from corrupted disk.
2. It logs
the entry of error 824 in SQL error log as well in application event log.
3. On the
basis of this error SQL server writes a record in msdb.suspect_pages table.
There are there options of Page verify
1. Checksum
2. Torn_page_detection
3. None
Microsoft recommended option for page verify is Checksum,
So why it is?
Because the CHECKSUM,
Option advises SQL Server to calculate a checksum over
the contents of each data / index page when it is written to disk.
This calculated value is stored in the page header.
When the page is read from the disk, checksum is computed
again and compared to the value in page header.
Torn
page detection:
Before we go to this option we take one look of what is
torn page?
1. Torn
page is the page which is damaged because of not properly got written on disk.
2. Because of sudden shutdown or
power off the data did not get saved on disk and while recovery of database the page get
suspect.
3. This is nothing but the
incomplete I/O operation.
So you
can add this page verify option to detect torn pages , it configures the 512
byte sector on each data/index pages and if there is any damage to page it
identifies as a suspect page when it get read.
None:
so if you don’t want the above helpful
advises to find the damaged pages and like to loss then u can choose this
option.
Use Alter database command to set this page verify
option.
e.g Alter
database xyz set page_verity Checksum / Torn_page_detection
No comments:
Post a Comment