-
-
Notifications
You must be signed in to change notification settings - Fork 436
The innodb sort buffer should be optimized for large tables #2567
Copy link
Copy link
Closed
Labels
enhancementGeneral tag for an enhancementGeneral tag for an enhancementinstallerInstallation issueInstallation issueresolvedA fixed issueA fixed issue
Milestone
Description
Describe the bug
When you have over several hundred thousand Data Sources or Graphs, additional sort variables should be tuned including 'innodb_sort_buffer_size' and 'sort_buffer_size' to have the sort indexes created in memory.
To Reproduce
Steps to reproduce the behavior:
- Source Data Sources by Name Cache for very large number of Data Sources
- Adjust the innodb_sort_buffer_size to a larger number like 200M
- Restart mariadb and warm up the table
- Sort again and see the performance difference
Expected behavior
Better performance.
Additional context
There are notes that starting with MySQL 5.6, the sort buffer size is dynamic upto the max settings, so it does not have the same significant effect as it used to have in prior MySQL versions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementGeneral tag for an enhancementGeneral tag for an enhancementinstallerInstallation issueInstallation issueresolvedA fixed issueA fixed issue