db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » performance » Index   (RSS)
  • Terrible performance with a uniqueness constraint/check

    I'm playing around with db4o to see if I can use if for future projects. I have created a simple application with one entity to store. The entity has a string data member that I require to be unique. I will always retrieve objects based on this data member thus I removed the class index and and defined a new one for the data ...
    Posted to db4o User Forum (Forum) by exyll on May 27, 2007
  • Re: slow retrieving data from sample

    > To do this, call the following two lines *before* you call > > fillUpDB() > Db4o.configure().objectClass(Car.class).objectField(''pilot'').indexed(true); > Db4o.configure().objectClass(Pilot.class).objectField(''points'').indexed(true); Carl,  thanks for tip. Unfortunately it doesn't work. Result is forever ...
    Posted to db4o User Forum (Forum) by Jan Chodura on May 23, 2007
  • Re: slow retrieving data from sample

    Thank you Carl, > If you want to measure the difference between indexed > queries and non-indexed queries in one app, you should > test storing and retrieving objects of different classes. I cut the example to only one searching method - fullIndex: import java.io.File;import com.db4o.Db4o;import com.db4o.ObjectContainer;import ...
    Posted to db4o User Forum (Forum) by Jan Chodura on May 22, 2007