Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-6866 Use different thresholds for kp and kv nodes
For views, since values are mostly raw JSON, compression gains are high, therefore chunk threshold (uncompressed size) can be raised, which decreases the number of kv nodes in the trees. For kp nodes, because they all have a 1024 bits bitmask in their reductions, their branching factor was a bit low, which made the trees deeper. These changes made queries and compaction faster both for generic btree tests and evperf lucky8 views (lucky8.conf and lucky8-3d.conf). Inserts and updates also get a small speedup. Change-Id: I2a94ec6005b881c81fd5295a2c89c7657cc6b19f Reviewed-on: http://review.couchbase.org/21484 Reviewed-by: Damien Katz <damien@couchbase.com> Reviewed-by: Volker Mische <volker.mische@gmail.com> Reviewed-by: Farshid Ghods <farshid@couchbase.com> Tested-by: Farshid Ghods <farshid@couchbase.com>
- Loading branch information
Showing
7 changed files
with
66 additions
and
28 deletions.
There are no files selected for viewing
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
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