Skip to content
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

support plan replayer for tpch #131

Merged
merged 3 commits into from
Aug 18, 2022
Merged

Conversation

Yisaer
Copy link
Contributor

@Yisaer Yisaer commented Aug 15, 2022

Plan replayer is to help us reproduce the environment which is used by optimizer to decide how to generate Plan for each query. This is quite useful for us to debug if the plan unexpected changed.

This requests supports dump plan replatyer for tpch test.

The dumped zip file saved the following file:
/*
|-q1_time.zip (plan replayer results for q1)
|-q2_time.zip
|-q3_time.zip
|-...
*/

As we need status port to download plan replayer results from tidb-server, a quick example is like fowllowing:

go-tpc tpch --sf=1 run -H <host> -P 4000 -S 10080 --use-plan-replayer true

@CLAassistant
Copy link

CLAassistant commented Aug 15, 2022

CLA assistant check
All committers have signed the CLA.

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>

support plan replayer

Signed-off-by: yisaer <disxiaofei@163.com>
@dbsid
Copy link
Collaborator

dbsid commented Aug 16, 2022

@Yisaer please resolve the conflicts.

@Yisaer Yisaer requested a review from dbsid August 18, 2022 07:16
Signed-off-by: yisaer <disxiaofei@163.com>
@dbsid dbsid merged commit 956083c into pingcap:master Aug 18, 2022
This pull request was closed.
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.

3 participants