Description
We noticed that the way package.jdo is configured, it uses DataNucleus sequence table to maintain keys for table IDs. For new tables we should use datastore-based identity which is much more efficient.
For example, setting
<datastore-identity strategy="identity"> <column name="PATH_ID"/> </datastore-identity>
<datastore-identity strategy="identity"> <column name="AUTHZ_OBJ_ID"/> </datastore-identity>
noticeably improve performance for saving full HMS snapshot in DB.