learning rocksdb with librocksdb.a
I am learning rocksdb and would like to change rocksdb lib codes. I am running ubuntu on windows. librocksdb.a is linked in Makefile. If I make some changes in rocksdb lib codes, do I have to rebuild librocksdb.a? Or is there some quicker way?
Why L0’Rnp1 of rocksdb db_bench with max_background_compactions=1 is 0 while max_background_compactions=8 is not?
I run rocksdb db_bench with configuration of –benchmarks=”fillrandom,stats” –max_background_compactions=8 –max_background_jobs=8 –num=100000000 –key_size=24 –value_size=1000 and get the result as shown in figure 1,figure 1while run db_bench with configuration of –benchmarks=”fillrandom,stats” –max_background_compactions=1 –max_background_jobs=1 –num=100000000 –key_size=24 –value_size=1000 and get the result as shown in figure 2.figure 2Why L0’Rnp1 with max_background_compactions=1 is 0 while with max_background_compactions=8 is not?Does anyone know why this is happening? Thanks for your answer.