GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — SQL Server Isolation Levels

SQL Server Isolation Levels

Jump to bottom Edit New page
Fabian Schmied edited this page Feb 18, 2022 · 4 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 the EnlistInAmbientTransactions option and either creating serializable TransactionScopes, or not creating any TransactionScopes at 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), the GetFrom API and the CommitPollingClient are broken because these APIs rely on blocking behavior while a Commit operation is active. Since READ COMMITTED SNAPSHOT disables the blocking behavior, commits can be skipped when using those APIs. See https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/31 .
  • Due to the previous issue, you need to derive from MsSqlDialect and add WITH (READCOMMITTEDLOCK) table hints if you want to use Azure SQL (because that database always uses the READ COMMITTED SNAPSHOT option).
Add a custom footer
  1. Home
  2. Quick Start
  3. Architectural Overview
  4. Transactional Integrity
  5. Supported Persistence Engines
  • Required permissions on persistence back ends
  • SQL Server Isolation Levels
  1. Logging
  • Log4Net
  • NLog
  1. Transaction Support
  2. Building
  3. Running Persistence Tests
  4. Statement on strong naming
  5. License

Clone this wiki locally

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.