MySQL Forums
Forum List  »  MyISAM

Re: myisam_data_pointer_size
Posted by: Rick James
Date: January 14, 2010 12:02AM

It would be best to simply add MAX_ROWS and AVG_ROW_SIZE onto the CREATE TABLE statement (or ALTER). This will force the 'pointer' to be big enough for that table. Be conservative -- have the product of those two values be more than the 20G you mention.

This is the variable that controls the default:
myisam_data_pointer_size
but it did not exist in earlier versions.

4 (the old default) leads to a 4GB limit; 6 leads to 256TB limit. 5 would suffice for your case.

Options: ReplyQuote


Subject
Views
Written By
Posted
6840
January 12, 2010 08:41PM
Re: myisam_data_pointer_size
3097
January 14, 2010 12: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.