mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
This PR makes few improvements to the partial sync performance. 1. `segment_size` configuration is exposed and set to 128kb by default - this setting makes sync engine to load pages in batches (even when only one page is requested). This reduces amount of requests and also makes requests more friendly to the server, because internally server group pages in segments and independent requests to the pages within same segment introduce unnecessary overhead (for server it simpler to return just the batch of pages stored in one segment) 2. `speculative_load` configuration is exposed which makes sync engine to speculatively load children pages for the accessed page. This will also reduce amount of requests and makes tables to lazy-load faster (because all internal nodes will be loaded quickly with fewer requests) Closes #4144 |
||
|---|---|---|
| .. | ||
| btree.rs | ||
| buffer_pool.rs | ||
| checksum.rs | ||
| database.rs | ||
| encryption.rs | ||
| mod.rs | ||
| page_cache.rs | ||
| pager.rs | ||
| slot_bitmap.rs | ||
| sqlite3_ondisk.rs | ||
| state_machines.rs | ||
| subjournal.rs | ||
| wal.rs | ||