Maximum number of files

Brad Fitzpatrick brad at danga.com
Fri Jul 20 19:25:28 UTC 2007


That's actually supported... a switch when you do mogdbsetup.  Vox runs
with 64 bit ints in Mogile.


On Fri, 20 Jul 2007, dormando wrote:

> 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