forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize contiguous runs of put/cput commands if writing to virgin ke…
…yspace If more than 10 contiguous put or cput commands, the keyspace is searched using a full order iterator to determine whether it's clear, in which case the "blind" versions of MVCCPut and MVCCConditionalPut are used to more efficiently write values without requiring a prefix iterator to search for an existing value on each put. Stable sorting was discontinued as it showed a performance hit on the benchmarks, even for randomly ordered insertions.
- Loading branch information
1 parent
38488c4
commit a1e8979
Showing
6 changed files
with
522 additions
and
210 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.