|[CDO][0.8.0] Handling Large Collection [message #609531]
||Sun, 26 August 2007 17:22
| Simon Mc Duff
Registered: July 2009
Do you see any value to chunk collection from the server to the client ? It
is possible to do right now in your framework ?
The problem we have right now is the following.
We have objects that have many attributes. Many of them are ToMany
relationship. In each collection, you have between 100 000 and 500 000
When I fetch the object that own these collections... I don`t want to fetch
all of them.
So if we could fetch let`s say by chunk of 1000 thousand elements, it will
looks like the following
- ObjectA first fetch
- fetch CDOID for collection ObjectA.coll1 [0...1000].
- fetch CDOID for collection ObjectA.coll2 [0...1000].
If I want the last objects of the collection ObjectA.coll1 . I don`t need to
fetch all of them. I can fetch
[499000 to 499 999] (in the case where I have 500 000 item in my
It will be nice to have something hat looks like EStore :
CDORevisionImpl IStoreReader get(CDORevisionImpl object, CDOFeature feature,
int indexFrom, int indexTo);
This bring another problem... how we will write changes...if we have only
a part of it.
It will be nice to have only what changed instead of having the whole
Right now we have the following:
public void writeRevision(CDORevisionImpl revision);
WIll be better to have the following :
public void writeRevision(CDORevisionImpl revision, ListOfChanges .... );
Powered by FUDForum
. Page generated in 0.02599 seconds