db4o

IObjectClass.Indexed Method 

turns the class index on or off.

void Indexed(
   bool flag
);

Remarks

turns the class index on or off.

db4o maintains an index for each class to be able to deliver all instances of a class in a query. If the class index is never needed, it can be turned off with this method to improve the performance to create and delete objects of a class.

Common cases where a class index is not needed:
- The application always works with subclasses or superclasses.
- There are convenient field indexes that will always find instances of a class.
- The application always works with IDs.

See Also

IObjectClass Interface | Db4objects.Db4o.Config Namespace