Re: [ZODB-Dev] Upgraded from ZODB 3.8 to 3.10, do I need to upgrade my Data.fs?

2012-04-16 Thread Hanno Schlichting
Paul Warner paul.warner at gmail.com writes: 
 We have been running an in house application on ZODB 3.8.2 and
 recently upgraded to 3.10.5.  We run a ZEO server with FileStorage.
 It seems like everything works great, no actions on our part, but I
 wondered if it is suggested to some how migrate the on disk
 FileStorage to take advantage of new features or optimizations in
 3.10?

The format and data in the file storage has stayed exactly the same for quite
some time, so no migration is necessary. For 3.10 the index file format
(data.fs.index) has changed, but this has happened transparently.

ZODB 3.8 introduced experimental support for blobs (binary large objects), which
have gotten stable and production ready with 3.9. There's no good documentation
for them, but z3c.blobfile might serve as an example
(http://svn.zope.org/z3c.blobfile/trunk/src/z3c/blobfile/). If you have any data
that's bytes of 1mb or more each, you should investigate blobs. Not having to
load all that data into the ZODB caches alone is really helpful, not to mention
the various nice effects of having a smaller main file storage or the various
supported backends for blobs.

Apart from those, there's been a multitude of new config options listed in the
changelogs (http://pypi.python.org/pypi/ZODB3/3.9.7#id14 and
http://pypi.python.org/pypi/ZODB3/3.10.5#id10). It's hard to tell, if any of
those would be helpful in your particular case.

Hanno

___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Upgraded from ZODB 3.8 to 3.10, do I need to upgrade my Data.fs?

2012-04-16 Thread Paul Warner
Many thanks, this helps to clear things up.

Those new features look great.  We do store a few large objects so I
will look at moving them over to blobs.

-Paul

On Mon, Apr 16, 2012 at 9:17 AM, Hanno Schlichting ha...@hannosch.eu wrote:
 Paul Warner paul.warner at gmail.com writes:
 We have been running an in house application on ZODB 3.8.2 and
 recently upgraded to 3.10.5.  We run a ZEO server with FileStorage.
 It seems like everything works great, no actions on our part, but I
 wondered if it is suggested to some how migrate the on disk
 FileStorage to take advantage of new features or optimizations in
 3.10?

 The format and data in the file storage has stayed exactly the same for quite
 some time, so no migration is necessary. For 3.10 the index file format
 (data.fs.index) has changed, but this has happened transparently.

 ZODB 3.8 introduced experimental support for blobs (binary large objects), 
 which
 have gotten stable and production ready with 3.9. There's no good 
 documentation
 for them, but z3c.blobfile might serve as an example
 (http://svn.zope.org/z3c.blobfile/trunk/src/z3c/blobfile/). If you have any 
 data
 that's bytes of 1mb or more each, you should investigate blobs. Not having to
 load all that data into the ZODB caches alone is really helpful, not to 
 mention
 the various nice effects of having a smaller main file storage or the various
 supported backends for blobs.

 Apart from those, there's been a multitude of new config options listed in the
 changelogs (http://pypi.python.org/pypi/ZODB3/3.9.7#id14 and
 http://pypi.python.org/pypi/ZODB3/3.10.5#id10). It's hard to tell, if any of
 those would be helpful in your particular case.

 Hanno

 ___
 For more information about ZODB, see http://zodb.org/

 ZODB-Dev mailing list  -  ZODB-Dev@zope.org
 https://mail.zope.org/mailman/listinfo/zodb-dev
___
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev