I have a problem that I can't really figure out. My intuition sais some sort of logging problem. But I don't know.
Envoronment:
Hibernate 2.03
Cache: Ja (But gives no real difference in performance)
Linux: RedHat
Java: v1.4.2
The system:
Advanced business system for web shops and administration of orders and so on...
Currently have prox 1000 items in database and 10 customer.
My preformance test is to continously create orders. For each 100 orders created I do a printout. Wicth looks something like following:
------------Created 100 objects tid 115.892 sec
------------Created 100 objects tid 183.202 sec
------------Created 100 objects tid 239.113 sec
------------Created 100 objects tid 321.016 sec
------------Created 100 objects tid 385.821 sec
The real paradox is that I get the same performance timing each time I restart the test program. It's seems to be a linear performance degredation eavenly distributed over the different hibernate functions used by the system. Eaven if the system contains more than 4300 orders when I start the preformance test, the timing still remains the same.
Regards
Christian
Developer at Intermax Sweden AB
www.intermax.se