Hi all,
I am trying to parse some resources to the to a HAPI server with a Sql Server backend. However some of the transactions fail with a deadlock exception...looking at the sql log...I can see that the lock is caused at the table :
Enabling the Hibernate SQL logs on my app shows some inserts and writes on to the table at what seems to be the same time
Scenario:
I have a few hundred bundles of PractitionerRole that I am trying to POST to the HAPI server in a parallel manner at about 50 bundles per second
Each bundle has a 100 PractitionerRoles
I presume this happens when creating a forced_id several times for the resources causing a deadlock.
Other types of databases did not cause this (tested on hsqldb and derby), so I think this is specific to the Sql Server Engine. However I am limited to using Sql Server due to circumstances so I would like to try to resolved this issue
I have also tried setting the transaction isolation level to read_uncommited to no avail at both the spring boot application level as well as the database level
spring.jpa.properties.hibernate.connection.isolation=READ_UNCOMMITEDSET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
Does anyone perhaps have some insight into the matter
p.s. also post on chat.fhir.org
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/4351ec1a-0f6c-4f22-bb57-9fff813f51b5%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/5934cb4c-d725-4cf9-91d8-0f3127314ac6%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/5934cb4c-d725-4cf9-91d8-0f3127314ac6%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/1252bca8-69a2-4dcb-86e3-9506c29f2963%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/1252bca8-69a2-4dcb-86e3-9506c29f2963%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/0cb875ac-0a8a-49c2-acb7-a616fde78851n%40googlegroups.com.