Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.1.0
-
7.1.0-1250
-
1
-
Yes
-
Magma May 2022
Description
At the very high load of 10TB, the total number of files are already quire large in number. We try to maintain the files count per level and per kvstore to 300. In order to do that we end up compacting the sstables into larger ones and during this process we get an opportunity to deduplicate the data which is essentially actual compaction process although the overall fragmentation is much below the configured value.
Here is a load of 5B create -> 5B upsert -> 5B create -> 5B upsert
As we can see in the image fragmentation never hit 50% throughout. there was a stage when fragmentation is at 20% which is much below 50% configured value. And as soon as we started upserting the data(last 5B items) the fragmentation started reducing which means aggressive compaction has started kicking in.
Attach the magma stats for better analysis of this test.