Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shtannikov/db-anomalies
RDBMS and their anomalies
https://github.com/shtannikov/db-anomalies
concurrency-control github-codespaces mssql mvcc playground postgres rdbms sql-server
Last synced: 25 days ago
JSON representation
RDBMS and their anomalies
- Host: GitHub
- URL: https://github.com/shtannikov/db-anomalies
- Owner: shtannikov
- Created: 2024-08-31T18:21:22.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-04T10:37:35.000Z (27 days ago)
- Last Synced: 2025-01-04T11:00:46.463Z (27 days ago)
- Topics: concurrency-control, github-codespaces, mssql, mvcc, playground, postgres, rdbms, sql-server
- Language: PLpgSQL
- Homepage:
- Size: 1.17 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## General
The main goal of this repo is to compare MS SQL and PostgreSQL in terms of anomalies and, as a result, better understand the key differences between Locking-Based Concurrency Control and Multiversion Concurrency Control.
## Getting Started
This repo provides a zero-setup playground in GitHub Codespaces. With just one click, you can dive into experiments without the need for manual database configuration.
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/shtannikov/db-anomalies?quickstart=1)
### How It Works
1. Click the button above.
2. Codespace will launch, automatically preparing all required databases and environment configurations for you.👉 It may take up to two minutes to prepare everything the first time 👈
4. Start experimenting with the provided SQL scripts directly in your browser### Repository Structure
Each folder in this repository corresponds to a specific database anomaly. Inside, you'll find:
- **Documentation**: A brief explanation of the anomaly.
- **SQL scripts**: reproducible examples for both MS SQL and PostgreSQL.### Demo
https://github.com/user-attachments/assets/33ba1f97-3549-462a-87f7-0d0cf5dd0cde
## References
This repository draws inspiration from the following article, which provides excellent insights into database anomalies:
- https://postgrespro.com/blog/pgsql/5967856