Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] About revisions
[CDO] About revisions [message #426114] Tue, 16 December 2008 17:43 Go to next message
Eclipse UserFriend
Originally posted by: mathieu.garcia.anyware-tech.com

Hi,
I'm very beginner in CDO and I'm currently doing a quick study in order
to replace Teneo with CDO in an existing RCP software.

So, I tried some examples following tutorials. Chosen store in this
configuration was derby.

Because database structure remains important (because of external
access), I took a look on it after some insertions through CDO.

And I discovered CDO handles revision. Basically, that is a very good
feature. But, what about very large databases ? Number of revision of a
same CDOId may increase very quickly and decrease performance.

So, my questions are:
- does it exist a way to suppress storing of each revision by keeping
only the last one.
- or does it exist a way to limit number of revisions for a CDOId.

Thanks in advance and congratulations for your work!


Mathieu
Re: [CDO] About revisions [message #426117 is a reply to message #426114] Tue, 16 December 2008 18:07 Go to previous message
Victor Roldan Betancort is currently offline Victor Roldan BetancortFriend
Messages: 524
Registered: July 2009
Senior Member
Mathieu,

> - does it exist a way to suppress storing of each revision by keeping
> only the last one.

Yes, you could deactivate audits. If you look at cdoserver.xml:

<property name="supportingAudits" value="false"/>

Unfortunately, this isn't yet implemented for DBStore :(
There is a bug already opened:

253110: [DB] Support non-auditing mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=253110

I'm sure Eike agrees this is high priority right now :)

> - or does it exist a way to limit number of revisions for a CDOId.

There is also another enhacement going that should address this:

256490: Add feature to purge revision history to reduze size
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256490

HTH,
VĂ­ctor.
Previous Topic:XML Validation
Next Topic:access element contents as raw text?
Goto Forum:
  


Current Time: Wed Feb 19 10:17:29 GMT 2020

Powered by FUDForum. Page generated in 0.02147 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top