10000 (8.4) PS-9647: MySQL Perf Improvements (deque) by kamil-holubicki · Pull Request #5640 · percona/percona-server · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

(8.4) PS-9647: MySQL Perf Improvements (deque) #5640

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

Open
wants to merge 1 commit into
base: 8.4
Choose a base branch
from

Conversation

kamil-holubicki
Copy link
Contributor

https://perconadev.atlassian.net/browse/PS-9647

This patch uses list instead of deque for memory efficiency reasons, primarily to optimize operations like bulk insert

Cherry pick of 7509e14

Copy link
Collaborator
@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Clang-Tidy found issue(s) with the introduced code (1/1)

@@ -7107,11 +7107,12 @@ static uint get_semi_join_select_list_index(Item_field *item_field) {
if (emb_sj_nest && emb_sj_nest->is_sj_or_aj_nest()) {
const mem_root_deque<Item *> &items =
emb_sj_nest->nested_join->sj_inner_exprs;
for (size_t i = 0; i < items.size(); i++) {
const Item *sel_item = items[i];
size_t i = 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ readability-identifier-length ⚠️
variable name i is too short, expected at least 2 characters

https://perconadev.atlassian.net/browse/PS-9647

This patch uses list instead of deque for memory efficiency reasons,
primarily to optimize operations like bulk insert
Copy link
Collaborator
@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants
0