mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-03 09:42:22 +00:00
![]() Since page cache is now shared by default, we need to cache pages by page number and something else. I chose to go with max_frame of connection, because this connection will have a max_frame set until from the start of a transaction until the end of it. With key pairs of (pgno, max_frame) we make sure each connection is caching based on the snapshot it is at as two different connections might have the same pageno being using but a different frame. If both have same max_frame then they will share same page. |
||
---|---|---|
.. | ||
btree.rs | ||
buffer_pool.rs | ||
database.rs | ||
mod.rs | ||
page_cache.rs | ||
pager.rs | ||
sqlite3_ondisk.rs | ||
wal.rs |