Bug #60158 Time wasted in cleanup_items(Item*) due to size of free_list
| Submitted: | 17 Feb 2011 12:33 | Modified: | 22 May 2011 15:05 |
|---|---|---|---|
| Reporter: | Maciej F. | Email Updates: | |
| Status: | Duplicate | Impact on me: | |
| Category: | MySQL Server: Stored Routines | Severity: | S5 (Performance) |
| Version: | 5.5.11 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | performance, regression | ||
[17 Feb 2011 12:33]
Maciej F.
[17 Feb 2011 14:26]
Valeriy Kravchuk
Please, send a complete test case, entire code of stored procedure that demonstrates this problem.
[14 Mar 2011 12:05]
Tobias Weiss
I can reproduce the growing item list in cleanup_items (v 5.5.9) with simple date_add operations. Could be related to bug #60025. Test case: CREATE PROCEDURE testen(p_maxcnt INT) BEGIN DECLARE v_reminder DATETIME; DECLARE v_stop DATETIME; DECLARE v_cnt INT; SET v_cnt = 0; SET v_stop = DATE_ADD(sysdate(), INTERVAL 10 MINUTE); WHILE (v_cnt < p_maxcnt) DO SET v_cnt = v_cnt + 1; SET v_reminder = DATE_SUB(SYSDATE(), INTERVAL 80 YEAR); WHILE (v_reminder <= v_stop) DO SET v_reminder = DATE_ADD(v_reminder, INTERVAL 1 YEAR); END WHILE; END WHILE; END; CALL testen(100);
[4 May 2011 8:20]
Maciej F.
Workaround for bug #60025 is working. This may be a duplicate.
[22 May 2011 15:05]
Valeriy Kravchuk
Duplicate of bug #60025.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.