I'm using the following query:
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED ;
SELECT * FROM TABLE_NAME ;
SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ ;
The table has lots of write operations and heavy read operations. To get a minimum effect from the read operations I wanted to use nonlocking read operations. In MySql it is done with "READ UNCOMMITTED" (according to what I read).
How to test whether this code is actually working?