deleting a corrupted database with invalid checksum on page

2014-03-10 Thread EagleS
error: SQLCODE: -1, SQLSTATE: XSDG2, SQLERRMC: Invalid checksum on Page Page(0,Container(0, 474144)), expected=229,350,622, on-disk version=1,888,684,690, page dump follows: Hex dump: : 0076 0001 93b4 .v..モᄡ.. 0010: 0006

Re: deleting a corrupted database with invalid checksum on page

2014-03-10 Thread Bryan Pendleton
What can I do to just delete this table and then rebuild it from the Mirror file? Can you use RENAME TABLE? Then you can create your new table with the old name, and just leave that old, damaged table around. Of course, you'll want to arrange a more long-term solution, but that might get you

Re: deleting a corrupted database with invalid checksum on page

2014-03-10 Thread EagleS
with invalid checksum on page Date: Mon, Mar 10, 2014 14:55 What can I do to just delete this table and then rebuild it from the Mirror file? Can you use RENAME TABLE? Then you can create your new table with the old name, and just leave that old, damaged table around. Of course, you'll want

Re: deleting a corrupted database with invalid checksum on page

2014-03-10 Thread Myrna van Lunteren
and hex dump. - Reply message - From: Bryan Pendleton-3 [via Apache Database] [hidden email]http://user/SendEmail.jtp?type=nodenode=137791i=0 To: EagleS [hidden email]http://user/SendEmail.jtp?type=nodenode=137791i=1 Subject: deleting a corrupted database with invalid checksum on page

ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1216)).

2010-02-10 Thread Shankar Devi
Hi, I have an intensive data-processing application which utilises Apache Derby version - 10.3.1.4. My Customer is running this application on Windows 2003 and has 30GB derby database size. Customer has reported the following error. ERROR XSDG2: Invalid checksum on Page Page(0

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1216)).

2010-02-10 Thread Shankar Devi
on database directory G:\Nortel\ddb Database Class Loader started - derby.database.classpath='' BEGIN SHUTDOWN ERROR STACK - ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1216)), expected=2,123,489,974, on-disk version=4,195,712,410, page dump follows: Hex

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1216)).

2010-02-10 Thread Knut Anders Hatlen
. ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1216)). Hi Devi, I suspect you've been hit by a data corruption bug present in Derby 10.3.1.4 and 10.3.2.1: https://issues.apache.org/jira/browse/DERBY-3347 You'll have to recover the database from backup and upgrade to a Derby version

RE: Repairing a corrupted database with invalid checksum on page

2009-06-15 Thread derby
-Original Message- From: David Sitsky [mailto:s...@nuix.com] Sent: Monday, June 15, 2009 12:11 AM To: Derby Discussion Subject: Re: Repairing a corrupted database with invalid checksum on page Thank you for posting your solution.  I added a reference to this thread in: https

Re: Repairing a corrupted database with invalid checksum on page

2009-06-15 Thread David Sitsky
I would suggest considering the creation of a recovery mode where the user has access to a simple interface (or command line) and the process is more automated and logged. This would definitely be the best outcome.. as an end-user, being able to launch something like ij in recovery mode, and

Re: Repairing a corrupted database with invalid checksum on page

2009-06-14 Thread David Sitsky
Thank you for posting your solution.  I added a reference to this thread in: https://issues.apache.org/jira/browse/DERBY-1648 Perhaps you could post your patch there and hit the grant to apache button in case someone wants to use it as the basis for an integrated solution. Done. -- Cheers,

Re: Repairing a corrupted database with invalid checksum on page

2009-06-12 Thread Kathey Marsden
David Sitsky wrote: I realise this is hackery, but would there be any benefit for a polished version of this to go into the main code? Sadly, corruption is a fact of life, whether it is due to software or hardware (or humans).. Hi David, Thank you for posting your solution. I added a

Re: Repairing a corrupted database with invalid checksum on page

2009-06-11 Thread David Sitsky
Kathey Marsden wrote: Mike Matrigali wrote: Then you could figure out how important container 1105 is. The best case is if 1105 is an index then one need only drop the index and recreate it. From the conglomerate id I think it is an index: Once you get your database in a bootable state you

Repairing a corrupted database with invalid checksum on page

2009-06-10 Thread David Sitsky
ERROR STACK - ERROR XSDG2: Invalid checksum on Page Page(3586,Container(0, 1105)), expected=1,077,491,282, on-disk version=1,792, page dump follows: Hex dump: : 0075 .u.. 0010: 0006

Re: Repairing a corrupted database with invalid checksum on page

2009-06-10 Thread Mike Matrigali
:\Baulderstone\Stores\Complete-bea2c17c113d42519b6ff5aa5d9b0141\Stores\EvidenceDatabase BEGIN SHUTDOWN ERROR STACK - ERROR XSDG2: Invalid checksum on Page Page(3586,Container(0, 1105)), expected=1,077,491,282, on-disk version=1,792, page dump follows: Hex dump:

Re: Repairing a corrupted database with invalid checksum on page

2009-06-10 Thread Kathey Marsden
Mike Matrigali wrote: Then you could figure out how important container 1105 is. The best case is if 1105 is an index then one need only drop the index and recreate it. From the conglomerate id I think it is an index: Once you get your database in a bootable state you can identify the

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-08 Thread Stanley Bradbury
David Sitsky wrote: Ok - we are restructuring the application, so that now, we can get away with a primary key field of just an INTEGER, rather than the two BIGINT columns. Also, because of the restructure, we don't need to check for the existence of a duplicate record before insertion, so we

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-02 Thread David Sitsky
Ok - we are restructuring the application, so that now, we can get away with a primary key field of just an INTEGER, rather than the two BIGINT columns. Also, because of the restructure, we don't need to check for the existence of a duplicate record before insertion, so we can now create the

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-01 Thread Dyre . Tjeldvoll
David Sitsky [EMAIL PROTECTED] writes: For what its worth, I did another run last night on my 6 quad-core system. This time I had the derby issue happen for a JVM process on machine 1, two processes on machine 4, and one on machine 5. I run four JVM processes per quad-core machine. All

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-01 Thread David Sitsky
[EMAIL PROTECTED] wrote: David Sitsky [EMAIL PROTECTED] writes: For what its worth, I did another run last night on my 6 quad-core system. This time I had the derby issue happen for a JVM process on machine 1, two processes on machine 4, and one on machine 5. I run four JVM processes per

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-01 Thread Stanley Bradbury
(guidhigh, guid)) What is interesting is if I perform a simple query on text_table, I get the following: ij select count(*) from text_table; ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313)), expected=304,608,373, on-disk version=2,462,088,751, page dump follows: Hex dump

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-04-01 Thread David Sitsky
Hi Dave - The good news is that it looks like you do not have to recover this database from backups because: 1) since you can boot the database using IJ the corruption is not in the transaction log (I assume you did not directly modify or delete any files in the database directory tree in

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-31 Thread David Sitsky
than a hardware one. The OS has not reported any disk issues at all. Cheers, David Narayanan wrote: Hi David, You might find the following links containing earlier discussions on the similar issue useful, http://www.nabble.com/invalid-checksum-tt9528741.html#a9528741 http://www.nabble.com

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-31 Thread Stanley Bradbury
a software issue than a hardware one. The OS has not reported any disk issues at all. Cheers, David Narayanan wrote: Hi David, You might find the following links containing earlier discussions on the similar issue useful, http://www.nabble.com/invalid-checksum-tt9528741.html#a9528741 http

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-31 Thread David Sitsky
Hi Stanley, Thanks for your message. The problem is happening on the Page 0 [the first page] of conglomerate 1313 (the conglomerateId) - you can see what table/index this corresponds to with the following query: select CONGLOMERATENUMBER, CONGLOMERATENAME from sys.sysconglomerates where

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-31 Thread David Sitsky
is interesting is if I perform a simple query on text_table, I get the following: ij select count(*) from text_table; ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313)), expected=304,608,373, on-disk version=2,462,088,751, page dump follows: Hex dump: : 0076 0001

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-30 Thread Narayanan
Hi David, You might find the following links containing earlier discussions on the similar issue useful, http://www.nabble.com/invalid-checksum-tt9528741.html#a9528741 http://www.nabble.com/Derby-crash-%28urgent%29-tt16217446.html#a16265491 https://issues.apache.org/jira/browse/DERBY-2475

Re: ERROR XSDG2: Invalid checksum on Page Page(0,Container(0, 1313))

2008-03-30 Thread David Sitsky
a hardware one. The OS has not reported any disk issues at all. Cheers, David Narayanan wrote: Hi David, You might find the following links containing earlier discussions on the similar issue useful, http://www.nabble.com/invalid-checksum-tt9528741.html#a9528741 http://www.nabble.com/Derby

Re: invalid checksum

2007-03-21 Thread Bryan Pendleton
we installed the app serveral times and i think the following lines are per installation (so per installation it happend on the same page): org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page Page(28,Container(0, 1248)), expected=3'455'715'557, on-disk version=3'357'396'866

Re: invalid checksum

2007-03-20 Thread Fabian Merki
and i think the following lines are per installation (so per installation it happend on the same page): org.hibernate.util.JDBCExceptionReporter - Invalid checksum on Page Page(28,Container(0, 1248)), expected=3'455'715'557, on-disk version=3'357'396'866, page dump follows: Hex dump

Re: 'Invalid checksum on Page' error

2005-09-09 Thread SBarboza
| |-+ -| | | | To: Derby Discussion derby-user@db.apache.org | | cc: | | Subject: Re: 'Invalid checksum

Re: 'Invalid checksum on Page' error

2005-09-08 Thread Mike Matrigali
: | | Subject: Re: 'Invalid checksum on Page' error

Re: 'Invalid checksum on Page' error

2005-09-08 Thread Mike Matrigali
| | cc: | | Subject: Re: 'Invalid checksum on Page' error

'Invalid checksum on Page' error

2005-09-07 Thread SBarboza
of this posting ) indicates an invalid checksum on a page . I have only included the first few lines. This may have occurred when i was selecting data from the database. If I restart the application, I sometimes get the same SQLException on the thread that is inserting data , after a few succesful inserts

Re: 'Invalid checksum on Page' error

2005-09-07 Thread Mike Matrigali
'. The derby.log file (at the end of this posting ) indicates an invalid checksum on a page . I have only included the first few lines. This may have occurred when i was selecting data from the database. If I restart the application, I sometimes get the same SQLException on the thread that is inserting