Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
Description
From previous, Evict all pages that became useless after DROP TABLE or a table rebuild.
Currently they exist in the innodb buffer pool and will be evicted once their LRU drops as they won't exist again.
To be memory efficient we should `set_os_unused()` to allow the OS to reclaim these memory if required.
I don't think we want to do the synchronously otherwise the single query performance drops. So maybe this is some additional thing that happens in the purge thread.
Attachments
Issue Links
- relates to
-
MDEV-25341 innodb buffer pool soft decommit of memory
-
- Closed
-
It could make sense to have the dedicated buf_flush_page_cleaner() thread evict all pages from the buf_pool.LRU list that are associated with a dropped tablespace or a freed page in an existing tablespace.