.NET:
void ClientServerConfiguration.PrefetchIDCount(int prefetchIDCount);
Sets the number of IDs to be pre-allocated in the database for new objects created on the client
Prefetching several IDs for the new objects created on the client allows to improve the performance by reducing client-server communication.
When a new object is created on a client, the client should contact the server to get the next available object ID. PrefetchIDCount allows to specify how many IDs should be pre-allocated on the server and prefetched by the client. This method helps to reduce client-server communication.
PrefetchIDCount can be tuned to approximately match the usual amount of objects created in one operation to improve the performance.
If PrefetchIDCount =1 a client will have to connect to the server for each new objects created
If PrefetchIDCount is bigger than the amount of new objects to be created the database will keep unnecessary preallocated space.
The default PrefetchIDCount is 10.