MySQL Forums
Forum List  »  MyISAM

Re: Problem after DELETE
Posted by: consystor
Date: March 04, 2006 06:03AM

Hello!

Thanx for yor answere but I couldn't solve the problem...
The files which I have are the following and I've backuped them:
-rw-r----- 1 mysql mysql 65 Mar 4 12:53 db.opt
-rw-r----- 1 mysql mysql 20985875 Mar 4 12:53 weatherdata.MYD
-rw-r----- 1 mysql mysql 10692608 Mar 4 12:53 weatherdata.MYI
-rw-r----- 1 mysql mysql 8792 Mar 4 12:53 weatherdata.frm


If I run myisamchk without any options I get this:
$ myisamchk weatherdata
Checking MyISAM file: weatherdata
Data records: 0 Deleted blocks: 839435
myisamchk: warning: 1 client is using or hasn't closed the table properly
- check file-size
- check record delete-chain
- check key delete-chain
- check index reference
- check data record references index: 1
MyISAM-table 'weatherdata' is usable but should be fixed

So it can "see" the deleted blocks but if I try to recover by
$ myisamchk --recover weatherdata
then it only deletes the "Deleted blocks" and then the weatherdata.MYD has only 0 bytes...
:-(((

Does anyone know another possibility maybe by hexediting?
Consy

Options: ReplyQuote


Subject
Views
Written By
Posted
3118
March 03, 2006 12:32PM
2446
March 03, 2006 04:40PM
Re: Problem after DELETE
2161
March 04, 2006 06:03AM
1970
March 04, 2006 12:14PM
2138
March 04, 2006 06:16PM
1907
March 05, 2006 05:23AM
2303
March 05, 2006 06:29AM
2301
March 05, 2006 08:35PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.