Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
Sichere ProgrammierungWhy Claude Code keeps writing shell commands that fail on your Mac(20.09.2026 um 21:06 Uhr)
Sichere Programmierungllms.txt v2: What the Spec Says, and What 137,000 Domains Show(20.09.2026 um 21:17 Uhr)
Sicherheitslücken (CVE)NiceTryGPT: Less pattern matching. More actual hacking.(20.09.2026 um 21:19 Uhr)
IT Security VideoActivities BoF (kde2026)(20.09.2026 um 00:00 Uhr)
IT Security Toolsirdoc-app(20.09.2026 um 20:33 Uhr)
Sichere ProgrammierungWhy Claude Code keeps writing shell commands that fail on your Mac(20.09.2026 um 21:06 Uhr)
Sichere Programmierungllms.txt v2: What the Spec Says, and What 137,000 Domains Show(20.09.2026 um 21:17 Uhr)
Sicherheitslücken (CVE)NiceTryGPT: Less pattern matching. More actual hacking.(20.09.2026 um 21:19 Uhr)
IT Security VideoActivities BoF (kde2026)(20.09.2026 um 00:00 Uhr)
IT Security Toolsirdoc-app(20.09.2026 um 20:33 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

ISOLATION

Reagiere als Erste:r — dein Feedback zählt!

Initial Check
SELECT * FROM accounts;

Explanation:
I checked the initial data.
Alice has 1000 and Bob has 500.

Case 1: READ COMMITTED (default)
Session 1
BEGIN;

UPDATE accounts
SET balance = balance - 800
WHERE name = 'Alice';

Explanation:
I started a transaction and deducted 800 from Alice.
I did not commit, so this change is temporary.

Session 2
BEGIN;

SELECT balance
FROM accounts
WHERE name = 'Alice';

Explanation:
I checked Alice’s balance in another session.
It still shows 1000.

What should happen:
It should show old value

What should not happen:
It should not show updated value (200)

Reason:
Uncommitted data is not visible

Session 2 tries update
UPDATE accounts
SET balance = balance - 500
WHERE name = 'Alice';

Explanation:
This query does not run immediately. It waits.

What should happen:
It should wait

What should not happen:
It should not update instantly

Reason:
Row is locked by session 1

Session 1 commit
COMMIT;

Explanation:
Now the change becomes permanent.
Session 2 will now continue.

Session 2 commit
COMMIT;

Explanation:
Second transaction also completes.

Case 2: REPEATABLE READ
Session 1
BEGIN ISOLATION LEVEL REPEATABLE READ;

UPDATE accounts
SET balance = balance - 300
WHERE name = 'Alice';
Session 2
BEGIN ISOLATION LEVEL REPEATABLE READ;

SELECT balance
FROM accounts
WHERE name = 'Alice';

Explanation:
Session 2 reads the balance once.
Even if session 1 commits later, this value does not change.

What should happen:
Same value should be seen inside transaction

What should not happen:
Value should not change in same transaction

Reason:
Data must remain consistent

Case 3: SERIALIZABLE
Session 1
BEGIN ISOLATION LEVEL SERIALIZABLE;

UPDATE accounts
SET balance = balance - 200
WHERE name = 'Alice';
Session 2
BEGIN ISOLATION LEVEL SERIALIZABLE;

UPDATE accounts
SET balance = balance - 200
WHERE name = 'Alice';
Commit
COMMIT;

Explanation:
When both try to update same data, one may fail.

What should happen:
One transaction may give error

What should not happen:
Both should not succeed if it causes wrong balance

Reason:
Database avoids conflicts

Final understanding

In this experiment, I understood that transactions and isolation levels help to control concurrent operations.
They prevent reading wrong data and avoid incorrect balance updates.
This is important for systems like payment apps where accuracy is very important****

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten ISOLATION

Thematisch verwandte Begriffe: ISOLATION · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick