forked from NEventStore/NEventStore
-
Notifications
You must be signed in to change notification settings - Fork 0
SQL Server Isolation Levels
Fabian Schmied edited this page Mar 26, 2016
·
3 revisions
Be sure to run NEventStore's MsSqlDialect queries in READ COMMITTED isolation level (which is NEventStore's default).
- With
SERIALIZABLE(possible, e.g., by enabling theEnlistInAmbientTransactionsoption and either creating serializableTransactionScopes, or not creating anyTransactionScopesat all, see also https://github.com/NEventStore/NEventStore/issues/414), the chance of deadlocks under high load is highly increased. - With
READ COMMITTED SNAPSHOT(this is a database option that NEventStore does not set by default), theGetFromAPI and theCommitPollingClientare broken because these APIs rely on blocking behavior while aCommitoperation is active. SinceREAD COMMITTED SNAPSHOTdisables the blocking behavior, commits can be skipped when using those APIs.
- Home
- Quick Start
- Architecture
- [Overview](Architectural Overview)
- Transactional Integrity
- Supported Persistence Engines