[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how is data loaded into ozone



Hi Falko,  

Thanks for answering my questions about ozone.  I have another follow-on 
question regarding how the system "loads in objects" - by this I mean
how much of the objects are loaded into memory?  

e.g. Suppose I have a collection of objects of a certain class that
are stored to the database.  I want to present a list of the names
of the objects to the user, have them pick one or more, then retrieve
the selected objects.  

If I keep the objects together in a collection, then to present the
list of names, does each object get loaded into memory in its entirety?
Does ozone buffer the objects somehow?  Or, can it detect that I'm only
accessing the name field and load only that part into memory?  (Some
commercial dbs claim to be able to detect the parts of the object that
are referenced and load only those into memory).  We are concerned about
this because we may have hundreds or thousands of objects that we may
need to get a small piece of information about and choose from them.

Also, I remember you said that "Java is the query language".  So, if
I had a collection of objects to query from, should I store them 
individually in the database or as a collection?  If I store the
whole collection, does the whole thing get loaded into RAM to do the 
query?  (This is a similar, but slightly different case than the above).

Thanks for your help!

Alison Eyth