This repository has been archived by the owner on Dec 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 66
restore: optimize SQL processing speed #110
Merged
Merged
Conversation
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
lonng
added
the
status/DNM
Do not merge, test is failing or blocked by another PR
label
Dec 25, 2018
Hi contributor, thanks for your PR. This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically. |
/run-integration-test |
lonng
force-pushed
the
lonng/opt-sql-proc
branch
2 times, most recently
from
December 25, 2018 07:03
9249430
to
0bb02d6
Compare
/run-integration-test |
lonng
force-pushed
the
lonng/opt-sql-proc
branch
from
December 26, 2018 05:41
459ceaf
to
07232e3
Compare
/run-integration-test |
lonng
added
the
Should Update Docs
Should update docs after this PR is merged. Remove this label once the docs are updated
label
Dec 26, 2018
lonng
force-pushed
the
lonng/opt-sql-proc
branch
from
December 26, 2018 07:12
2a3e7f9
to
e96ca9c
Compare
/run-integration-test |
lonng
force-pushed
the
lonng/opt-sql-proc
branch
2 times, most recently
from
December 26, 2018 08:58
c7f283b
to
7315ef5
Compare
add test result into description, like |
lonng
force-pushed
the
lonng/opt-sql-proc
branch
2 times, most recently
from
December 27, 2018 00:34
ccfe5ef
to
6baedce
Compare
lonng
force-pushed
the
lonng/opt-sql-proc
branch
3 times, most recently
from
December 30, 2018 03:59
5fc836f
to
79efc70
Compare
/run-integration-test |
lonng
added
status/PTAL
This PR is ready for review. Add this label back after committing new changes
priority/normal
type/feature
New feature
and removed
status/DNM
Do not merge, test is failing or blocked by another PR
labels
Dec 30, 2018
/run-unit-test |
kennytm
reviewed
Dec 30, 2018
lonng
force-pushed
the
lonng/opt-sql-proc
branch
2 times, most recently
from
December 30, 2018 07:55
c15fa92
to
9139e2e
Compare
/run-all-tests |
kennytm
reviewed
Dec 30, 2018
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.
Rest LGTM
lonng
force-pushed
the
lonng/opt-sql-proc
branch
from
December 30, 2018 08:28
9139e2e
to
fef33c2
Compare
/run-all-tests |
kennytm
reviewed
Dec 30, 2018
kennytm
added
status/LGT1
One reviewer already commented LGTM (LGTM1)
and removed
status/PTAL
This PR is ready for review. Add this label back after committing new changes
labels
Dec 30, 2018
lonng
force-pushed
the
lonng/opt-sql-proc
branch
from
December 30, 2018 08:54
fef33c2
to
54688f3
Compare
IANTHEREAL
reviewed
Jan 2, 2019
IANTHEREAL
reviewed
Jan 2, 2019
Rest LGTM |
/run-all-tests |
some problems with ci |
IANTHEREAL
added
status/LGT2
Two reviewers already commented LGTM, ready for merge (LGTM2)
and removed
status/LGT1
One reviewer already commented LGTM (LGTM1)
labels
Jan 2, 2019
well done! LGTM |
/run-integration-test |
kennytm
added
Should Update Ansible
The config in TiDB-Ansible should be updated
and removed
Should Update Docs
Should update docs after this PR is merged. Remove this label once the docs are updated
labels
Jan 8, 2019
kennytm
removed
the
Should Update Ansible
The config in TiDB-Ansible should be updated
label
May 2, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
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.
What problem does this PR solve?
Optimizing SQL processing speed
Result:
PR 109:
TableConcurrency = 20, RegionConcurrency = 40
, the metrics data has been lost due to cluster be cleanup.PR 110:
TableConcurrency = 20, RegionConcurrency = 20, IOConcurrency = 5
, Test1 metrics snapshot, Test2 metrics snapshotCAN NOT REPREDUCE [IO Delay unstable]
PR 110:
TableConcurrency = 40, RegionConcurrency = 40, IOConcurrency = 10
160G, MetricsEarly conclusion:
Concurrent IO causes delays to lengthen, which lengthens SQL processing time
What is changed and how it works?
Limiting IO concurrency
Check List
Tests
Code changes
Side effects
Related changes