Re: [Zope] ZODB Storage Question
On Tue, 13 Jun 2000 16:31:09 -0400, "Pete Kazmier" <[EMAIL PROTECTED]> wrote: >I have about 400 objects that are updated every ten minutes. Needless >to say, Data.fs grows a little faster than I'd like. I'm only >changing about 5 attributes of each object . Ok, so 5 small attributes change, but how much doesnt change? ZODB will store a new copy of the whole object if just one attribute changes. If you have some large attributes that rarely change then you can save space by storing it in a different object. Toby Dickenson [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZODB Storage Question
- Original Message - From: "Pete Kazmier" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 13, 2000 4:31 PM Subject: [Zope] ZODB Storage Question > I've been reading through the docs, howtos, etc but haven't found an > answer to this question. I was hoping someone could help me out. Is > it possible to use the default ZODB store for everything EXCEPT a > custom built ZClass? or, even better is it possible to tell Zope not > to store more than one copy of my custom ZClass? Zope 2.2 includes a feature that allows you to mount other ZODB storages at specific points in your hierarchy (much like you mount things in Unix). You can store those objects in a mounted BerkeleyStorage, which doesn't do versions. It's important to note that all of that stuff is fairly new, but it is available to try it out. Kevin ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] ZODB Storage Question
I've been reading through the docs, howtos, etc but haven't found an answer to this question. I was hoping someone could help me out. Is it possible to use the default ZODB store for everything EXCEPT a custom built ZClass? or, even better is it possible to tell Zope not to store more than one copy of my custom ZClass? I have about 400 objects that are updated every ten minutes. Needless to say, Data.fs grows a little faster than I'd like. I'm only changing about 5 attributes of each object and multiple versions of the object aren't important to me. I've seen some of the alternatives to the ZODB, but I'm not looking to replace the entire ZODB. I think ZODB is great and I don't want to lose that functionality for the rest of my website. Any pointers to the right direction would be greatly appreciated. As a last ditch effort, I was thinking of just writing the attributes that change to a database (probably MySQL). My custom ZClass is really a custom python class so I can just add the appropriate python code to my python class. I was hoping that there might be a more transparent way of doing this so I don't have to go and change my existing python class. :) Thanks, Pete -- Peter Kazmier http://www.kazmier.com PGP Fingerprint 4FE7 8DA3 D0B5 9CAA 69DC 7243 1855 BC2E 4B43 5654 ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )