Skip to content

Add explain support for CHbenchmark#164

Merged
dbsid merged 1 commit intopingcap:masterfrom
breezewish:ch-explain
Mar 29, 2023
Merged

Add explain support for CHbenchmark#164
dbsid merged 1 commit intopingcap:masterfrom
breezewish:ch-explain

Conversation

@breezewish
Copy link
Copy Markdown
Member

@breezewish breezewish commented Mar 29, 2023

  1. Support --use-explain for CHbenchmark.
  2. Always drain the result by calling rows.Next() and then report the duration. Otherwise the reported CHbenchmark query time may be inaccurate sometimes.
  3. Use logger to output stderr to avoid interleaving results.

Signed-off-by: Wish <breezewish@outlook.com>
@dbsid dbsid merged commit 0c29c49 into pingcap:master Mar 29, 2023
@breezewish breezewish deleted the ch-explain branch March 29, 2023 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants