High Memory Consumption With Foreign Key Cascades in MySQL< 5.7.21
Last updated on DECEMBER 12, 2017
Applies to:MySQL Server - Version 5.7 to 8.0 [Release 5.7 to 8.0]
Information in this document applies to any platform.
mysqld consumes a far higher than expected mount of memory when performing DML that modifies many rows via foreign key delete/update cascades.
This issue only occurs in MySQL 5.7 (up to and including 5.7.20). What triggers the problem is doing bulk updates via cascaded foreign keys.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms