Files
turso/core/storage
Pere Diaz Bou a03749be21 Merge 'Page cache by page_number and frame_number' from Pere Diaz Bou
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.

Closes #468
2024-12-16 10:08:34 +01:00
..
2024-12-15 03:31:46 +09:00
2024-11-05 15:29:54 +01:00
2024-12-15 18:55:23 +00:00
2024-12-15 22:54:32 +01:00