Hi, I would like to know the simpliest way to get the date of the first (oldest) transaction in a ZODB. I use a Zope/Zeo configuration. I was able to retrieve this date by using _p_jar.db().undoInfo(), but this takes time, because the first transaction is the last entry of the returned table... So I was wondering if there was another solution. Thanks. Pascal ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************
Hi Pascal, Pascal Peregrina wrote:
I would like to know the simpliest way to get the date of the first (oldest) transaction in a ZODB. I use a Zope/Zeo configuration.
Probably best to ask on zodb-dev@zope.org and specify if you want to do this as a one-off or as something you need to do/use/display in a ttw user interface... Some of hte ZODB analysis tools are where I'd head, but they aren't really good for getting the value back into a zope UI ;-) Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
Pascal Peregrina wrote at 2005-2-25 10:41 +0100:
I would like to know the simpliest way to get the date of the first (oldest) transaction in a ZODB. I use a Zope/Zeo configuration.
I was able to retrieve this date by using _p_jar.db().undoInfo(), but this takes time, because the first transaction is the last entry of the returned table...
Tim Peters has written a nice document with most information relevant for "FileStorage". I think, its name is "FileStorageBackup". Search for it... -- Dieter
participants (3)
-
Chris Withers -
Dieter Maurer -
Pascal Peregrina