Table contention

Hi there our application has multiple process paths that run at random times - but constantly...

Several of these processes write to the same table and at times we're seeing failed DB transactions. I assume it is due to DB contention - because if I stop 2 of the three processes - the single one runs perfectly.

I am after some advice on how I might go solving the issue.

I am tempted to lower the isolation level to READ COMMIT. But will this solve the issue? And do I do it just in the SQL transaction in my application code? Session or global?

And to complicate matters, perhaps... is that we use an ORM in our apllication code.

As always - thanks very much for your help!

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.