tidb数据写入机制请教

第一个阶段写入到memtable是顺序写,但是文件是无序的
后边排序建议看一下lsm tree的mini cpmaction 和major compaction就比较容易理解了