Skip to content

support plan replayer for tpch#131

Merged
dbsid merged 3 commits intopingcap:masterfrom
Yisaer:support_plan_replayer
Aug 18, 2022
Merged

support plan replayer for tpch#131
dbsid merged 3 commits intopingcap:masterfrom
Yisaer:support_plan_replayer

Conversation

@Yisaer
Copy link
Copy Markdown
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
Copy Markdown

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>
@Yisaer Yisaer force-pushed the support_plan_replayer branch from 35d57af to e5db98f Compare August 15, 2022 07:59
@dbsid
Copy link
Copy Markdown
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
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