limbo/core/storage
Pere Diaz Bou 39a75147d4 Page cache by page_number and frame_number
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.
2024-12-13 21:57:27 +01:00
..
btree.rs core: change Rc<RefCell<Page>> to Arc<Page> 2024-12-13 13:09:13 +01:00
buffer_pool.rs core: Move buffer_pool.rs to storage module 2024-08-01 11:53:14 +03:00
database.rs state machine cacheflush 2024-11-05 15:29:54 +01:00
mod.rs Page cache by page_number and frame_number 2024-12-13 21:57:27 +01:00
page_cache.rs Page cache by page_number and frame_number 2024-12-13 21:57:27 +01:00
pager.rs Page cache by page_number and frame_number 2024-12-13 21:57:27 +01:00
sqlite3_ondisk.rs Page cache by page_number and frame_number 2024-12-13 21:57:27 +01:00
wal.rs Page cache by page_number and frame_number 2024-12-13 21:57:27 +01:00