Update ZigHouse#901
Open
donge wants to merge 1 commit into
Open
Conversation
- Refresh c6i.4xlarge result with v0.2.0-clickbench binary - Bump install to v0.2.0-clickbench (SHA256 5c30c8e3...) - Add generic-smoke.sh demonstrating the generic SQL execution path (responds to feedback in ClickHouse#895 about hardcoded query handling)
a420294 to
6552027
Compare
Member
|
Could you please sign a CLA? |
Contributor
Author
|
Sure, done. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update ZigHouse
Refresh the
c6i.4xlargeresult withv0.2.0-clickbench, and address thefeedback in #895 about hardcoded query handling.
Two execution paths, one storage
of the 43 ClickBench queries. Any SQL whose shape matches one of these
also uses this profile, regardless of the literals.
ZIGHOUSE_QUERY_PATH=generic.comparemode runs both paths and checksbyte-identical output.
zighouse/generic-smoke.shruns a few non-ClickBench statements through thegeneric path so the capability frontier is easy to inspect.
Currently supported on the generic path:
COUNT(*),SUM/MIN/MAX/
AVG,COUNT(DISTINCT col),GROUP BYon a single low-cardinalitycolumn,
WHEREwith numeric and date comparisons combined byAND.Not yet supported (on the roadmap):
GROUP BYon high-cardinality stringcolumns with
ORDER BY ... LIMIT,JOIN, subqueries, arbitrary tableimport, and broader operator coverage.
Performance vs v0.1.0-clickbench (AWS c6i.4xlarge, 100M rows)
Largest improvements: q39 −29 %, q37 −28 %, q15 −21 %, q33 (7.2s → 6.2s) −14 %.
Largest regressions: q40 +27 % (+82 ms), q28 +17 %, q26 +8 %.
Load-time regression is mostly the
native_title_derivedimport phase(+35 %); under investigation.
Install
Binary: https://github.com/donge/zighouse/releases/tag/v0.2.0-clickbench
SHA256:
5c30c8e3a56639a1d769ff1d3246c91109c47e9c97e776aec046519dcc66f3a6