[Zope-CMF] storing in ZODB vs filesystem
Max M
maxm@mxm.dk
Sat, 24 Aug 2002 19:15:04 +0200
cijiisen wrote:
> That would involve a lot of document upload.
> Can some one advice me on whether its wise to store all the documents
> as zope does
> by default into the database or store the file on to some place in the
> file system.
Do the easiest thing first, and then if that is to slow, change your
approach. Right now you are trying to solve a problem you don't have.
> I have a feeling that storing all the documents in the database might
> slow down the database!
There are several projects with a database size in the Gigabyte range.
But if you are in doubt about the systems ability to handle a lot of
files, why don't you just write a script that fills the database with a
lot of files and see how it reacts? Beware that you got to write them
one at a time as the Zodb needs to make a commit once in a while to be
efficient..
regards Max M
"klaatu verata niktu"