# How to Compare MariaDB Transaction Isolation Across Connections

https://ferkesh.net/uk/baza-znan/stattia/mariadb-transaction-isolation-audit

![Workflow: Identify the participants; Read the actual sessions; Reproduce privately; Review the effect.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-14.svg#mariadb-transaction-isolation-audit)

The value configured globally may differ from what an application connection uses. Record the effective session setting before attributing a read difference to the data.

## Procedure

1. **Identify the participants.** Note the MariaDB version, engine and the writer and reader code paths. Check whether a connection pool, worker or integration sets a session-level option.
2. **Read the actual sessions.** Use documented settings for the installed version through approved diagnostics. Record transaction boundaries and any autocommit assumptions along with the isolation mode.
3. **Reproduce privately.** Use two staging connections and test fixtures to observe when committed changes become visible. Include application behavior and any replication or caching layer.
4. **Review the effect.** Compare expected consistency, lock duration and workload behavior before changing settings. Document a scoped rollback and verify all related clients use their intended configuration.

## Related guides

- [How to Investigate MySQL and MariaDB Lock Waits](https://ferkesh.net/knowledgebase/article/mysql-mariadb-lock-wait-incident)
- [How to Plan Rollback for a Database Schema Change](https://ferkesh.net/knowledgebase/article/database-schema-rollback-checklist)
- [Developer Resources articles](https://ferkesh.net/knowledgebase/category/developer-resources)

## Official references

- [MariaDB SET TRANSACTION](https://mariadb.com/docs/server/reference/sql-statements/transactions/set-transaction)

Ferkesh Hosting. Last reviewed November 26, 2026.
