![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I've been luck enough to walk into, and inherit, an site that is running an unsupported version of Ingres. My first week here has handed me three major tables in the production system that are btree and all are having headaches. CA tech support was nice enough to advise me to run verifydb which will probably patch the tables, but we may loose data. The vesion on Ingres is: Ingres Alpha VMS Version II 2.0/9808 (axp.vms/00) The errors we are getting are as follows: E_DM93A7_BAD_FILE_PAGE_ADDR Page 3832 in table a, owner: proddba, database: prodacw, has an incorrect page number: 4567. Other page fields: page_stat 00000150, page_log_address (00000000,00000000), page_tran_id (0000000000000000). Corrupted page cannot be read into the server cache. E_DM9206_BM_BAD_PAGE_NUMBER Page number on page doesn't match its location.E_DM920C_BM_BAD_FAULT_PAGE Error faulting a page. E_DM9C83_DM0P_CACHEFIX_PAGE An error occurred while fixing a page in the buffer manager. There are a few others, but they are all similar in nature to the above. I ran verifydb in report mode and it finds references to missing pages. What are peoples experiences with problems like this? Has verifydb in run mode fixed these problems without data loss and total corruption? I WILL begin working on upgrading Ingres, but I can't do it today, so in the interim I'd like to get the users running again. Thanks, Rob McKenzie Phone: (905) 989-1750 Cell: (905) 715-9593 Email: rob.mckenzie (AT) rogers (DOT) com |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
|
I've tried to modify and copy out the tables - niether will work. A select count(*) fails also. A select * of the table will run to a certain point the crap when it apparently hits the bad addresses. SOOOOO.... I'm fearful that my only options may be to try the verifydb. |
|
Karl suggested DM801 (Ithink) - what do you know about this? |
#6
| |||
| |||
|
|
I've tried to modify and copy out the tables - niether will work. A select count(*) fails also. A select * of the table will run to a certain point the crap when it apparently hits the bad addresses. SOOOOO.... I'm fearful that my only options may be to try the verifydb. |
|
Karl suggested DM801 (Ithink) - what do you know about this? |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
I've tried to modify and copy out the tables - niether will work. A select count(*) fails also. A select * of the table will run to a certain point the crap when it apparently hits the bad addresses. SOOOOO.... I'm fearful that my only options may be to try the verifydb. |
|
Karl suggested DM801 (Ithink) - what do you know about this? |
#9
| |||
| |||
|
|
I've tried to modify and copy out the tables - niether will work. A select count(*) fails also. A select * of the table will run to a certain point the crap when it apparently hits the bad addresses. SOOOOO.... I'm fearful that my only options may be to try the verifydb. |
|
Karl suggested DM801 (Ithink) - what do you know about this? |
#10
| |||
| |||
|
|
Hi Rob, We've suffered from this in the past and it was caused by having an incorrectly configured cache. Basically, the cache was slightly bigger that the memory available (it took tech support several days to come up with the necessary information on how to configure a large cache on AIX and even then I wasn't convinced it was right). The other bad news is that verifydb did not work. It was unable to address the bad pages and consequently couldn't fix the problem. Even if it had, I'd say it would be 99.9% certain of losing the data "associated" with the bad pages. We were forced to restore from a backup that was valid before the corruption occurred. We managed via auditdb to work out what new policies were entered in the period the corruption occurred in but everything else had to manually re-keyed. I'm sure given enough time and patience, you could replay all your transactions but if it's an important production database, you won't be able to afford the downtime. If you have a spare machine, then you could take a ckp now and roll that onto the spare machine so you can post process the data whilst you get your system up and running. If it's just showing one table affected, you might be able to restore that by itself in some way (OS, table recovery or full recovery to another database and do a table copy) but you'll need to work out the logical implications regarding referential integrity of your database. Regards Jon -----Original Message----- *From:* info-ingres-admin (AT) cariboulake (DOT) com [mailto:info-ingres-admin (AT) cariboulake (DOT) com] *On Behalf Of *Rob McKenzie *Sent:* 06 September 2005 15:34 *To:* info-ingres (AT) cariboulake (DOT) com *Subject:* [Info-ingres] Corrupted tables I've been luck enough to walk into, and inherit, an site that is running an unsupported version of Ingres. My first week here has handed me three major tables in the production system that are btree and all are having headaches. CA tech support was nice enough to advise me to run verifydb which will probably patch the tables, but we may loose data. The vesion on Ingres is: Ingres Alpha VMS Version II 2.0/9808 (axp.vms/00) The errors we are getting are as follows: E_DM93A7_BAD_FILE_PAGE_ADDR Page 3832 in table a, owner: proddba, database: prodacw, has an incorrect page number: 4567. Other page fields: page_stat 00000150, page_log_address (00000000,00000000), page_tran_id (0000000000000000). Corrupted page cannot be read into the server cache. E_DM9206_BM_BAD_PAGE_NUMBER Page number on page doesn't match its location. E_DM920C_BM_BAD_FAULT_PAGE Error faulting a page. E_DM9C83_DM0P_CACHEFIX_PAGE An error occurred while fixing a page in the buffer manager. There are a few others, but they are all similar in nature to the above. I ran verifydb in report mode and it finds references to missing pages. What are peoples experiences with problems like this? Has verifydb in run mode fixed these problems without data loss and total corruption? I WILL begin working on upgrading Ingres, but I can't do it today, so in the interim I'd like to get the users running again. Thanks, Rob McKenzie Phone: (905) 989-1750 Cell: (905) 715-9593 Email: rob.mckenzie (AT) rogers (DOT) com __________________________________________________ ___________________ This message has been checked for all known viruses by bluesource. For further information visit www.blue-source.com powered by Messagelabs ************************************************** ******************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. No one else is authorised to distribute, forward, print, copy or act upon any information contained in this email. If you have received this email in error, please notify the sender. Hiscox Syndicates Limited, Hiscox Insurance Company Limited, Hiscox Connect Limited, Hiscox Underwriting Limited and Hiscox Investment Management Limited are authorised and regulated by the Financial Services Authority. Hiscox plc is a company registered in England and Wales under company registration number 2837811 and registered office at 1 Great St Helen's, London EC3A 6HX ************************************************** ******************** __________________________________________________ ___________________ This message has been checked for all known viruses by blue-source. For further information visit www.blue-source.com powered by Messagelabs |
![]() |
| Thread Tools | |
| Display Modes | |
| |