What is the best way to process queries? How to get the optimum performance for your application needs?
Those of you, who have dealt with query time and memory constraints (situations, when query result is bigger than the memory available, or when query time is longer than the whole functional operation) should know how searching a suitable solution might affect the whole application design and implementation.
Luckily db4o takes most of the trouble for itself. There are 3 query modes allowing to fine tune the balance between speed, memory consumption and availability of the results:
The query mode can be set using:
.NET:
configuration.Queries().EvaluationMode(QueryEvaluationMode)
Let's look at each of them in more detail.