-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improvement](query) Improve fe high concurrent query performance #7936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -471,8 +471,9 @@ public void exec() throws Exception { | |
| addressToBackendID.get(execBeAddr), | ||
| toBrpcHost(execBeAddr), | ||
| queryOptions.query_timeout * 1000); | ||
|
|
||
| LOG.info("dispatch query job: {} to {}", DebugUtil.printId(queryId), topParams.instanceExecParams.get(0).host); | ||
| if (LOG.isDebugEnabled()) { | ||
| LOG.debug("dispatch query job: {} to {}", DebugUtil.printId(queryId), topParams.instanceExecParams.get(0).host); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually this log is useful when tracking a query. Does it really impact the performance?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. by the flame graph and the statistic provided above,for most users,query performance is the most important thing |
||
| } | ||
|
|
||
| if (topDataSink instanceof ResultFileSink | ||
| && ((ResultFileSink) topDataSink).getStorageType() == StorageBackend.StorageType.BROKER) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why call
numberConnection.decrementAndGet();here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should reduce the connection number when connect failed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I miss it.