Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 12.0.0 (Français) » UltraLite - Database Management and Reference » Introducing UltraLite » UltraLite isolation levels


Isolation level side effects

As UltraLite operates by default at an isolation level of 0, which is also known as ReadUncommitted the following side effects are possible:

  • No locking operations are required when executing a SELECT statement.

  • Applications can read uncommitted data (also known as dirty reads). In this scenario, transaction may access rows in the database that are not committed and may still get rolled back by another transaction. This phenomena can result in phantom rows (rows that get added after the original query, making the result set returned in a repeated, duplicate query different).

    For a tutorial that demonstrates the effects of dirty reads, see Tutorial: Dirty reads. For a tutorial that demonstrates a phantom row, see Tutorial: Phantom rows.

  • Applications can perform non-repeatable reads. In this scenario, an application reads a row from the database, and then goes on to perform other operations. Then a second application updates/deletes the row and commits the change. If the first application attempts to re-read the original row, it receives either the updated information or discovers that the original row was deleted.

    For a tutorial that demonstrates the effects of non-repeatable reads, see Tutorial: Non-repeatable reads.

 See also