I was trying to run OPTIMIZE TABLE on a that's about 200GB 1billion record big, but couple second after the operation, I was giving a sort_buffer_size too small error and now the table showing as 0 row in phpmyadmin, and still have 200gb in size. I can't read anything from it. Tried to bump the sort_buffer_size to 1gb and ran the OPTIMIZE again, but the operation is done in seconds with no success in restoring....
Now I start running REPAIR TABLE. Since this is probably gonna take days to complete, I just want to make sure I am heading in the right direction before wasting time on it. Seems to me the key file is broken? Anyone with similar experience that could help would be greatly appreciated!!