[Mediawiki-l] location of images
Rob Church
robchur at gmail.com
Wed Mar 7 14:34:51 UTC 2007
On 07/03/07, Fernando Correia <fernandoacorreia at gmail.com> wrote:
> 2007/3/7, Platonides <Platonides at gmail.com>:
> > The wiki can handle it without problems, splitting on folders is done
> > because some filesystems have problems (are slower) when a folder has
> > lots of files.
>
> Aretai, mind this warning. It can be *extremely slow* if you have a
> large number of files (several thousands, or close to a million).
>
> I suggest you estimate how many images your wiki may accumulate for
> some time, say a few years, and try to create that many files on your
> filesystem using an automated script. Then test access time to these
> files.
>
> Anyway, are you sure you need them in just one directory?
Oh, and just to add - if the whole reason for asking is due to
concerns over migration or mass-imports, then there are maintenance
scripts (maintenance/importImages.php, maintenance/rebuildImages.php)
that can help.
Rob Church
More information about the MediaWiki-l
mailing list