• L
    Break down the amount of data written during flushes/compactions per file type (#8013) · a46f080c
    Levi Tamasi 提交于
    Summary:
    The patch breaks down the "bytes written" (as well as the "number of output files")
    compaction statistics into two, so the values are logged separately for table files
    and blob files in the info log, and are shown in separate columns (`Write(GB)` for table
    files, `Wblob(GB)` for blob files) when the compaction statistics are dumped.
    This will also come in handy for fixing the write amplification statistics, which currently
    do not consider the amount of data read from blob files during compaction. (This will
    be fixed by an upcoming patch.)
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/8013
    
    Test Plan: Ran `make check` and `db_bench`.
    
    Reviewed By: riversand963
    
    Differential Revision: D26742156
    
    Pulled By: ltamasi
    
    fbshipit-source-id: 31d18ee8f90438b438ca7ed1ea8cbd92114442d5
    a46f080c
internal_stats.h 26.5 KB