Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738792 - dev-db/mariadb: InnoDB performance regression for write-heavy workloads
Summary: dev-db/mariadb: InnoDB performance regression for write-heavy workloads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 741624
  Show dependency tree
 
Reported: 2020-08-24 06:33 UTC by Tomáš Mózes
Modified: 2020-11-10 09:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2020-08-24 06:33:55 UTC
After upgrading my testing machine from 10.2.32-r2 -> 10.2.33 a huge performance drop was discovered during our production to testing restore procedure on Innodb. Normally we restore our 700G db in 2 days, but now it's only in 1/3 of the restore.

It's probably caused by this: https://jira.mariadb.org/browse/MDEV-23475

I'll try to apply the patch (https://github.com/MariaDB/server/commit/309302a3dad5f06cb62b0846dcb8a3671d91ff29) locally and report back.
Comment 1 Tomáš Mózes 2020-08-24 16:16:36 UTC
The restoring is much faster with the patch. In 9 hours we have restored 240G of data while it took 2 days to process that amount of data without the patch.
Comment 2 Tomáš Mózes 2020-08-31 06:16:22 UTC
I can confirm that our weekly restore took the normal 2 day time using the patch (already included in 10.2.34).
Comment 3 Tomáš Mózes 2020-10-08 06:25:41 UTC
Just checking the 10.2.34 changelog, but the fix is not included:
https://mariadb.com/kb/en/mariadb-10234-changelog/

Instead, only 1 security fix is included and 1 bugfix, while the 10.2 branch is full of other fixes (along with the fix for this bug).
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2020-10-08 12:48:55 UTC
Yes, that's why we decided to rev bump current stable version to add the patch because we cannot stabilize new version.
Comment 5 Tomáš Mózes 2020-10-08 15:20:14 UTC
Agreed, thanks.
Comment 6 Tomáš Mózes 2020-11-04 09:03:57 UTC
The fix is included in https://mariadb.com/kb/en/mariadb-10235-changelog/, but failed to find the fix in later major versions.
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2020-11-09 17:02:28 UTC
Should be good, https://github.com/mariadb/server/commit/309302a3dad5f06cb62b0846dcb8a3671d91ff29
Comment 9 Tomáš Mózes 2020-11-10 09:19:07 UTC
Huge thanks Thomas!