RE: [Zope-dev] GADFLY Database: Can it lose data if the Zope proc ess is aborted?
Hmm, I think it stores everything to flat files on disk, but it can only perform ops and has to keep the entire db in memory at run-time, which means you mave some problems if you have a 1GB database, for example, in that (I think) all the python processes' memory spaces running Zope would have to contain all the Gadfly tables, unless some sort of shared memory setup was used - either way, it's likely not ideal for anything larger than perhaps some commonly used lookup tables, at least that is what I remember reading at some point quite a long time ago... Sean -----Original Message----- From: Andy McKay [mailto:andym@ActiveState.com] Sent: Thursday, July 26, 2001 11:23 AM To: Joachim Werner; zope-dev@zope.org Subject: Re: [Zope-dev] GADFLY Database: Can it lose data if the Zope process is aborted? I thought gadfly didn't store data between restarts. Or am I losing it? Cheers. -- Andy McKay. ----- Original Message ----- From: "Joachim Werner" <joe@iuveno-net.de> To: <zope-dev@zope.org> Sent: Thursday, July 26, 2001 11:17 AM Subject: [Zope-dev] GADFLY Database: Can it lose data if the Zope process is aborted?
Hi!
We have a very strange case of data loss: A client of us is using a Gadfly DB to store some news items. He reported that he lost a couple of his most recent data entries when we restarted our servers after applying the latest Hotfix.
I know that Gadfly is not to be used for serious applications etc., but I thought that this was because of performance issues, not because it can lose data. Has anybody had similar experiences? Our first tests say that Gadfly stores all INSERTs into the DB file right after they have been commited. So the only explanation for data loss would be some strange caching that is not always used ...
Joachim
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
participants (1)
-
sean.upton@uniontrib.com