i profiled batch importer jdbc / hibernate. it takes csv, converts it to an array, and imports it into a database sitting on the local host.
to my surprise, the operation was not related to I / O, but rather cpu-bound.
according to jmx / jconsole, as well as the netbeans profiler, it seems that 60% of the processor time was spent on the “old generation” garbage collector, the rest is used for geometric transformations (this is reasonable) and for managing the hibernation session.
other applications used around 5-10% according to jconsole so what is the "typical" relationship for the processor / young GC / old GC for such insertion tasks in the package?
source
share