The tab made in the transaction is visible SELECT before the transaction

I need confirmation.

Client 1 inserts rows into the table inside the transaction.

Client 2 will query this table using SELECT. If at this isolation level of the client is set to READ COMMITTED, can you confirm that SELECT will not return rows that have not yet been executed by client 1.

thank

+3
source share
3 answers

It depends on the level of transaction isolation. If the isolation level is indeed โ€œRead Committedโ€, other connections cannot see rows that were inserted by another client in a transaction that has not yet been committed.

Some reading:

+4

, . READ COMMITTED , , , .

+1

.

MSDN , () :

, , , . . , phantom . SQL Server.

SELECT READ UNCOMMITTED, , , .

+1

Source: https://habr.com/ru/post/1740434/


All Articles