|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 05 > 18 > Telegram_2020-05-18T03 |
2020-05-18T03:37:03
Sorry Dan I was at work. I am talking about threads from other sessions getting access to the connection at the same time. Ok this is the scenario; each session created, it also creates a separate connection to the same DB. Even with pool connection, you will still have more than one connection created; but the number of connection with pool is small because released connections are reused. However it is still possible to have more than one threads each from different sessions that will attempt to access the same DB. That is the place that I am wondering about.
2020-05-18T03:42:34
I know you can’t have two threads from the same sessions at the same time but intermittently without collusion but what about sessions from others users? My concern is that the point of entry to the DB is not isolated to allow only one thread at the time the TCriticalSection works