cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Insertion times for new records using modelService.save takes a long time when the table is large

Former Member
0 Likes
771

We are experiencing issues in Hybris 6.5 where modelService.save(...) is taking a long time to insert in new records when our table sizes grow large (>200k records). I've seen that modelService.save(...) executes a query before saving to determine if a record exists or not. We've taken steps to index the field that modelService.save(...) uses but we are still not seeing any performance improvements.

Any suggestions on how to improve the performance of modelService.save(...)?:

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

Were you able to may any headway on this

Former Member
0 Likes

It was ultimately because of the indexes. There is still some considerable performance hit due to the way that modelService.save(...) works but if you optimize your indexes, it should minimize the impact.