Maximum number of files

dormando dormando at rydia.net
Fri Jul 20 19:18:16 UTC 2007


4 billion, actually ;) A lot less than that, but higher than 4 million.

AFAIK you can just alter the column to bigint. Won't hurt anything, but 
will make the file_on table nearly twice the size.

-Dormando

stefan wrote:
> Hi  !
> 
> I'm in the process of migrating a few medium/large services to MogileFS, 
> pretty
> late in the process actually, and I just realized that file identifiers 
> are "int unsigned" !
> 
> So... can I really store "only" 4 million files in a given mogile 
> installation ? (Or in
> fact, 1 million files, since I use mysql master-master with 4 hosts...)
> 
> Would a simple alter table to change this column to long work ?
> 
> Stefan



More information about the mogilefs mailing list