MySQL Forums
Forum List  »  GIS

Re: myisamchk -n corrupts spatial index?
Posted by: P R
Date: August 26, 2009 05:02AM

I searched through the mysql source code...
apparently, in mi_check.c, there's logic that always forces spatial indexes to be rebuilt from keycache and not using filesort.

perhaps this is why it breaks when using myisamchk to force a sort repair directly.
so, the mysql developers must have purposely disabled filesort rebuilds for spatial keys; they must also know that it doesnt work...

now, the big question is 'why dont filesort repairs work for spatial indexes & is this a permanent limitation for spatial indexes in mysql, or is this something that can & should be fixed???'

Options: ReplyQuote


Subject
Views
Written By
Posted
4595
P R
August 25, 2009 05:45PM
Re: myisamchk -n corrupts spatial index?
2797
P R
August 26, 2009 05:02AM


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.