Bug #30090 | DELETE from MEMORY table with BTREE primary key extremely slow | ||
---|---|---|---|
Submitted: | 27 Jul 2007 6:23 | Modified: | 4 Dec 2007 5:07 |
Reporter: | Trent Lloyd | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Memory storage engine | Severity: | S3 (Non-critical) |
Version: | 5.0.44 | OS: | Any |
Assigned to: | Assigned Account | CPU Architecture: | Any |
Tags: | bfsm_2007_08_02 |
[27 Jul 2007 6:23]
Trent Lloyd
[27 Jul 2007 6:43]
Trent Lloyd
It's worth noting it took some 16+ minutes to delete the last 8,000 of 650,000 rows when i tried this.
[29 Aug 2007 6:43]
Jeff C.
I experienced this same issue on 5.0.46. My situation I was doing: select left(toquery,2) as l,count(*) from t group by l; insert into processing (toquery) select toquery from t where toquery like 'aa%'; delete from t where toquery like 'aa%'; .. then ab, then ac, ad, ae, af .. and then all of a sudden it started to chug, going up to 3 minutes to delete 569 rows. Strange, only experienced this recently.. I suspect somehow code got pushed that caused this. I will try older versions to report back.
[3 Dec 2007 16:25]
Jeff C.
Just wondering what the status of this bug is? Almost 3 months since last update... Thanks
[4 Dec 2007 5:07]
Ramil Kalimullin
The issue has been fixed by patch for bug #30590: "delete from memory table with composite btree primary key". Setting to "Duplicate".