M
M
memba2016-05-26 12:14:00
MySQL
memba, 2016-05-26 12:14:00

How is the work with transactions on one connection to the DBMS for all users?

Hey!
I want to use one database connection for all connected clients to my application. But I'm not sure how transactions work in this situation.
If one client opens a transaction and hangs for a while, will other clients work within this open transaction? Those. Is the scope of a transaction bound to and delimited by a connection? I do not really understand how this could be solved at the level of the DBMS kernel.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
spotifi, 2016-05-26
@spotifi

Have you turned them on?
Transactions? https://habrahabr.ru/post/238119/
It will be blocked if you use them.
MySQL is a blocking server, not versioned, unlike PostgreSQL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question