[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1?page=com....
]
Jay Erb commented on HHH-1:
---------------------------
We've found that this sorting algorithm is prohibitively long for insertions on the
order of 100k records. I think we projected the loop count to be several trillion.
We've developed a solution that provides more linear performance. The sort result is
exactly the same; it just happens more quickly. I'd be happy to submit the change if
anyone is interested.
Optimize Hibernate for the bulk insertion of related entities
-------------------------------------------------------------
Key: HHH-1
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1
Project: Hibernate3
Issue Type: New Feature
Components: core
Environment: Hibernate 1.2, MySql 3.1
Reporter: Bradley Leupen
Assignee: Steve Ebersole
Priority: Minor
Fix For: 3.2.4, 3.3
Attachments: bulk_insert.patch
It is currently difficult to batch the creation of persistent entities that maintain
associations with other entities.
Add necessary api to hibernate to support the save or update of a collection of entities.
An optimization can be applied in this scenario to group inserts / updates by entity
class, or table. This will enable the hibernate engine to utilize batching if available,
drastically improving performance over a network.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira