-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I think that it should be possible to scan only the keys. It could be faster by the way that we only need to read the index, and no need to read the data.
Actually the scan return both the key and the value.
In the compaction process, we have the same overhead. In case that we have multiple version of a key ( one update or an Tombstone ) we read both value to keep only one. In my use case I have values that has several Mbytes. In case on tombstone, we don't need to read the value.
Do you think it's better to add a ScanKeys in the iterator interface or add a bool to specify if we want only keys ?
I will prepare a new PR fot this change.
Metadata
Metadata
Assignees
Labels
No labels