[Zope-dev] Migrating from ZClasses to Python Products

Jason Spisak 444@hiretechs.com
Wed, 25 Oct 2000 23:50:04 GMT


Ender writes:

Point taken.


> Jason Spisak wrote:
> > 
> > Ender writes:
> > 
> > > Jason Spisak wrote:
> > > >
> > > > The only problem I am dealing with is size.
> > > > What kind of a transaction will that be?
> > > > Huge, no doubt.
> > > >
> > > > I would run out of space to buffer it.  Does Zope do subtransactions now,
> > > > or is that still just the ZCatalog?
> > >
> > > zope has done subtransactions for a while, i'm not sure if this predates
> > > zcatalog or not ( i assume'd it does).
> > >
> > > just call get_transaction.commit(1) to save work. and call
> > > get_tranaction.commit() when you're done. i'm in the process of writing
> > > an advanced transaction how-to which will hopefully give some more
> > > enlightenment on this process, but i've been busy with work so i don't
> > > expect to have it public for another week.
> > >
> > > > Also, I am running on stock RH6.2 linux and to double my ZODB puts me near
> > > > the 2 gig file limit.  Not as much of a concern as a pain in my neck.  Is
> > > > it faster to modify my installation to allow > 2GB or create from
> > > > xml/export?
> > >
> > > you could create the python product instances in a mounted db.
> > >
> > 
> > I looked into this.  The webpage is very exclamitory about it's volitility,
> > and yet Zope.org uses it.  Worth a shot.
> 
> do make a backup, i hosed something in my zodb using it.
> 
> kapil


Jason Spisak