目錄
為什麼要理解這件事
電腦儲存層級:從 Register 到 SSD
資料庫引擎核心架構:Page Cache、WAL、Checkpoint
實際範例
目錄 為什麼要理解這件事 電腦儲存層級:從 Register 到 SSD 資料庫引擎核心架構:Page Cache、WAL、Checkpoint 實際範例 總結 ...
資料庫引擎透過 Page Cache(緩衝池)、Write-Ahead Log(預寫日誌)與 Checkpoint 三層機制保證交易耐久性:修改先寫入記憶體 Page,同時記錄到磁碟日誌,確保崩潰後可透過 Redo/Undo 恢復。理解 WAL、Flush、Commit 的區別與 ARIES 演算法對設計高可靠系統至關重要——影響隔離級別選擇、備份策略、recovery 時間與查詢效能的權衡。
目錄
為什麼要理解這件事
電腦儲存層級:從 Register 到 SSD
資料庫引擎核心架構:Page Cache、WAL、Checkpoint
實際範例

What are database transactions and how do SQL databases isolate one transaction from another?

A transaction groups several database writes into one atomic unit. Either all of them commit, or none...

目錄 ACID 簡單介紹 Consistency 是什麼 Consistency 的兩個層面:資料庫/應用層 如何達到 Consistency 總結 ...

In Parts 1-3, we built a storage engine: WAL, memtable, SSTables, and compaction. Every operation is...

As developers, we interact with databases every single day. We write a line of code like UPDATE users...

Guia completo sobre ACID, níveis de isolamento, armadilhas comuns e como implementar transações robustas em Laravel com exemplos…