Bug #22169 | Too much memory consumption with count(distinct) | ||
---|---|---|---|
Submitted: | 9 Sep 2006 10:13 | Modified: | 20 May 2007 5:36 |
Reporter: | Georg Richter | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 5.2 | OS: | Any (all) |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
[9 Sep 2006 10:13]
Georg Richter
[21 Sep 2006 16:35]
Jim Starkey
It doesn't crash for me on either Win32 or AMD64. I'm going to mark it closed. If the reappears, please re-open this bug.
[3 May 2007 16:29]
Christopher Powers
This problem was resolved by the changes associated with Worklog #3722, Falcon Record Scavenging. When the number of pending records in a transaction reaches a threshold, the records are removed from the record cache and written to the Serial Log until needed, thus freeing space for additional records. Hakan verified that the test case succeeded on a 1GB Linux system, apparently with little or no memory swapping. I found that repeated invocations of the test case within the same instance of the engine succeeded on a 2GB Windows system, and that the amount of memory used by the mysqld process remained stable.
[3 May 2007 16:48]
Hakan Küçükyılmaz
Test case falcon_bug_22169.test runs fine now on a Linux 32-bit 1GB RAM system. Memory usage is high but stable and I see no swap activity during the test. Best regards, Hakan
[20 May 2007 5:36]
MC Brown
A note has been added to the 6.0.1 changelog.