[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cluster Size
On Fri, 04 May 2001, Roy Ladner wrote:
> Is there any other insight you can offer into this problem.
> Basically, I create a named object in Ozone. Then I add references to other data
> (in the form of properly created database objects) to it and close the database.
> Before closing I do a print out indicating that all data is properly added.
> Immediately after closing, I re-open the database and approximately half of the
> data is null values. As I increase cluster size, the occurrences of this problem
> diminish. Might there be some lock conflict going on, or a commit error?
Do you have _all_ methods that change internal object state actually marked as
update methods? Often random errors that seem to be related to cluster and
cache sizes are indicate that not all update methods are marked properly.
> Falko Braeutigam wrote:
> > On Fri, 27 Apr 2001, Roy Ladner wrote:
> > > Can anyone give any advice on configuring the config.properties cluster
> > > size, cluster space size and cluster size ratio?
> > >
> > > When I've tried to import a large data set into Ozone I've run into the
> > > problem of losing data (null values showing up after a commit). When
> > > I've increased the cluster space size and cluster size, this problem
> > > stopped, but then there are times when the server simply shuts down - no
> > > error messages are given. Should these numbers be set in relation to
> > > the size of the data set being imported into Ozone?
> > ozoneDB.wizardStore.clusterSize = 65536 -- the max size of each cluster
> > ozoneDB.wizardStore.clusterSizeRatio = 256 -- the expected size of each
> > object; helps the kernel to determine the size of newly created objects
> > The size of the data is not that important - more the size of the objects and
> > the granularity of your problem in general. Clusters loaded or locked when one
> > object of the cluster is loaded or locked.
> > Falko
> > --
> > ______________________________________________________________________
> > Falko Braeutigam mailto:email@example.com
> > SMB GmbH http://www.smb-tec.com
Falko Braeutigam mailto:firstname.lastname@example.org
SMB GmbH http://www.smb-tec.com