Bug #71476 | InnoDB memory consumption with "bad" query | ||
---|---|---|---|
Submitted: | 25 Jan 2014 11:22 | Modified: | 26 Feb 2014 13:35 |
Reporter: | Florian Gusinde | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
Version: | 5.6 | OS: | Linux (debian squeeze) |
Assigned to: | CPU Architecture: | Any |
[25 Jan 2014 11:22]
Florian Gusinde
[25 Jan 2014 13:22]
Florian Gusinde
I deleted *many* rows and converted to MyISAM. From > 5 mio. I deleted all entries older than 2014; now there are only 172k rows left. (all on my local VM). Same thing happens again. format.ibd has 653 MB (2.2 mio rows) content.ibd has 108 MB. (172k rows) VM has 2 GB of RAM; innodb_buffer_pool_size is 256 MB. On idle time mysqld is show with 359 MB RES, 909 MB VIRT, 9.8 MB SHR. After that I delete nearly all rows from format (I left 14 rows). format.ibd has 112 kb (14 rows) content.ibd has 108 MB. (172k rows) I recreated both tables with alter table x = InnoDB Statement is running > 2 sec. I ran my tests (created from slow-query-log) again, and, you know it, it crashed again. linux "top" tool showed me all memory was consumed from MySQL.
[26 Jan 2014 13:35]
Sveta Smirnova
Thank you for the report. Please specify exact minor version of MYSQL 5.6 server you use, provide output of SHOW CREATE TABLE, SHOW TABLE STATUS for all tables, used in the query, specify how many rows this query actually returns and provide output of following test: FLUSH STATUS; Run problematic query SHOW STATUS LIKE 'Handler_%';
[27 Feb 2014 1:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".