Re: Doubt about where leave File objects
Santi Camps <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
En/na Toby Dickenson ha escrit: >On Tuesday 25 January 2005 17:24, Santi Camps wrote: > > >>Hi all, >> >>First of all, congratulations for your great work. DirectoryStorage is >>really impresive, a magnific product. I'm using it intensively in >>production and it really works fine. By now, my great database is >>about 6 Gb size and working very well. >> >>Despite of this, I've a design doubt of my software. Nowadays, I'm >>storing all Files and its data as objects in ZODB. In fact, 4.5 Gb of >>my 6 Gb database are Files. It could take a little effort maintain the >>Files as objects in ZODB but put its data somewhere in the filesystem. >>A change like this one, will improve DirStorage performance in some way >>? I know that it could affect Zope caches and so on, and also is >>obvious that packs and backups will take few time, I'm just asking if >>this could help DirectoryStorage in its normal work. Is better to >>maintain storages as little as possible ? Or DirStorage can work with >>30 Gb as better as with 6 Gb ? >> >> > >Yes, it does seem a little unnecessary to store files in an object database, >then store the objects in files. This cant be solved at the storage level.... >All DirectoryStorage sees of the data is opaque pickles. It cant tell which >objects contain flat files, rather than more structured data. > >There are some moves so solve this at ZODB level. See the thread starting >here: http://mail.zope.org/pipermail/zodb-dev/2005-January/008385.html >Any features that come out of that work I would like to support in >DirectoryStorage too, but that is unlikely to happen without sponsorship or a >volunteer :-( > > > Thanks for your answer. It sounds interesting. We can't offer sponsorship by now, I hope be able to do it in a near future. Until that, I can try to help in development of DirectoryStorage. I've few time, but I'm very interested into learn more about ZODB, in special about DirectoryStorage. I'm a developer of Zope applications, and my knowledge of ZODB/ZEO/DirectoryStorage is just a user knowledge, perhaps and advanced user, but not more. If you think I can help fixing bugs or implementing some easy change, let me know. Regards Santi Camps ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl