MySQL MyISAM Table File is now Too Large -


i have mysql myisam table handles medium blob data. reaches 1.09tb. worried now. possible split table multiple files? file.myd01, file.myd01,... etc.

or in case, if have better idea alternative path take on, love hear.

(added comment:)

create table filetbl (     fileid int(11) not null auto_increment,      docid int(11) not null,      versionid int(11) not null,      doccode varchar(30) not null,      filedata mediumblob,      docsalt varchar(1000) default null,      primary key (fileid),      key docversion (versionid,docid) ) engine=myisam auto_increment=0 default charset=latin1  

please provide show create table , show table status.

for long time default limit myisam data size has been 2^48 bytes. indexing, default has been 2^40 rows fixed format, not case -- since have mediumblob.

2^48 limit; 256tb. long way hitting it. pain of doing merge or partition not worth it. , probably gain no performance benefit.

more limits.

compression suggestion

what kind of data blob before encrypted? if text (or more text images), compress before encrypting it. shrink space factor of 3. (of course, can't space until optimize or alter table.)

any change table require @ least enough space copy of table. if can compression @ same time, might require 400gb of disk space. can drop 1.09tb, leaving 400gb.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -