[ZODB-Dev] how big can a ZODB get?

Jeremy Hylton jhylton at gmail.com
Wed Jan 12 17:02:16 EST 2005


On Wed, 12 Jan 2005 15:07:26 -0500, Tim Peters <tim at zope.com> wrote:
> >  - What's a second-class persistent object?
> 
> A Jeremyism <wink>.  It means any object stored in ZODB whose type isn't a
> subclass of Persistent.  For example, all builtin Python objects (ints,
> floats, strings, lists, dicts, ...) are "second-class".  They can be stored
> in ZODB if a Persistent ("first-class") object contains them, but don't have
> (persistent) object ids of their own; the persistence machinery doesn't
> notice when they get mutated; they can't be loaded in a ghost state.

The old terminology was to talk about persistent objects and
non-persistent subobjects.  It is confusing (even with capitalization
of Persistent) to talk about non-persistent objects that are actually
persisted in ZODB.  It's just the manner of their persistence; do they
have a name (oid) of their own?

Jeremy


More information about the ZODB-Dev mailing list