Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Checkpoint reads only internal pages into the cache for the purpose of removing any obsolete pages as part of the checkpoint cleanup. Evicting these internal pages asap can add an overhead to the next checkpoint to read them back again into the cache. Instead of evicting them asap, evict the internal pages read by the checkpoint like a regular page. It is unnecessary to remove leaf pages tagged as READ WONT_NEED from the cache by the checkpoint because the checkpoint never reads any pages from the leaf pages (apart from history store pages used for reconciliation). This will avoid the unnecessary slowdown of the checkpoint by evicting the pages that are not read by the checkpoint.
- Loading branch information