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

bug: 2022-09-26 The associated query of multiple tables of the Tianmu engine is slow #567

Closed
1 task done
adofsauron opened this issue Sep 26, 2022 · 1 comment · Fixed by #573
Closed
1 task done
Assignees
Labels
A-bug Something isn't working

Comments

@adofsauron
Copy link
Collaborator

Describe the problem

Mysql Column Storage engine - Multiple table JOIN query slow - Locate the cause

SELECT
	contract.id,
	SUM(item_quantity) AS total_nums,
	SUM(detail_price) AS total_prices
FROM
	contract
JOIN contract_detail ON
	contract.id = contract_detail.contract_id
JOIN day_dimension ON
	contract_detail.sign_day = day_dimension.day_str
GROUP BY
	contract.id;

Expected behavior

No response

How To Reproduce

No response

Environment

No response

Are you interested in submitting a PR to solve the problem?

  • Yes, I will!
@adofsauron adofsauron added the A-bug Something isn't working label Sep 26, 2022
@adofsauron adofsauron added this to the stonedb_5.7_v1.0.2 milestone Sep 26, 2022
@konghaiya
Copy link
Collaborator

ACK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants