• Julien Muchembled's avatar
    storage: commit from time to time when truncating · 910d1e91
    Julien Muchembled authored
    This is all the more important for RocksDB that it wants to keep all
    transaction work in RAM.
    
    Once we had to truncate 40% of a 1TB MyRocks DB with 24 partitions,
    4 being processed in parallel. Even when committing between partitions,
    MariaDB used up to 200 GB. Without the commit, 1TB RAM would not have
    been enough.
    910d1e91
manager.py 35 KB