Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] intermediate save for swapping
[CDO] intermediate save for swapping [message #686865] Wed, 11 May 2011 09:06
John Smith is currently offline John SmithFriend
Messages: 137
Registered: July 2009
Senior Member
Has anybody experiences with models which are build by some algorithm,
getting a size of several gigs, and storing them in a database? I wonder
if one could save the CDOResource in some time intervals while the
algorithm is running, so that the CDOObjects get into the CLEAN state
and can be CDO-garbage-collected, which is not possible for NEW
CDOObjects I guess, is my understanding correct?

The algorithm is designed in a way that it produces no dangling
references at any stage (i.e. each cross-referenced object is contained
in the CDOResource at any time). This should be a good starting point
for my plan of above, right? Anything else to consider?

A further step would be to load a very large XMI file incrementally into
a CDO database. Suitable stages to save the model while reading the XMI
file are maybe at stages where all forward-references are resolved (the
XMI loader I thing resolves all references at the end, but this behavior
can be changed with a little programming I think). Or maybe just saving
the model continuously while reading, and also at the end when all
references get resolved. The XMI resource loader has the
no-dangling-reference property I think (assuming the unresolved
references are not present as proxies but are managed separately and
resolved at the end, not sure about this point).

What are your opinions on this topic?
Previous Topic:(no subject)
Next Topic:EMF generator wizard/Referenced generator models
Goto Forum:
  


Current Time: Thu Sep 19 14:50:26 GMT 2024

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

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

Back to the top