When network latency is high between Nuxeo and the database, having many round-trips to do several INSERTs or UPDATEs or DELETEs for the same table with the same number of arguments gets very costly.
Improve this by using JDBC batching or other techniques if possible.