Searched refs:compaction (Results 1 – 3 of 3) sorted by relevance
| /leveldb-1.20/doc/ |
| H A D | impl.md | 78 thread. The compaction picks a file from level L and all overlapping files from 81 compaction and will be discarded after the compaction. Aside: because level-0 83 level-0 to level-1 specially: a level-0 compaction may pick more than one 86 A compaction merges the contents of the picked files to produce a sequence of 91 compaction of a level-(L+1) file will not pick up too much data from 97 for each level L, we remember the ending key of the last compaction at level L. 98 The next compaction for level L will pick the first file that starts after this 115 ranges at level-L+1). The compaction will therefore read 26MB and write 26MB. 117 compaction cost will be approximately 0.5 second. 120 100MB/s speed, a compaction may take up to 5 seconds. If the user is writing at [all …]
|
| /leveldb-1.20/db/ |
| H A D | db_impl.cc | 52 Compaction* const compaction; member 77 : compaction(c), in CompactionState() 857 compact->compaction->level(), in FinishCompactionOutputFile() 869 compact->compaction->num_input_files(0), in InstallCompactionResults() 870 compact->compaction->level(), in InstallCompactionResults() 871 compact->compaction->num_input_files(1), in InstallCompactionResults() 872 compact->compaction->level() + 1, in InstallCompactionResults() 876 compact->compaction->AddInputDeletions(compact->compaction->edit()); in InstallCompactionResults() 880 compact->compaction->edit()->AddFile( in InstallCompactionResults() 893 compact->compaction->level(), in DoCompactionWork() [all …]
|
| /leveldb-1.20/ |
| H A D | README.md | 133 readrandom : 9.775 micros/op; (approximately 100,000 reads per second before compaction) 134 readrandom : 5.215 micros/op; (approximately 190,000 reads per second after compaction)
|