Bug #21348 | Memory storage engine poor performance relative to 4.1.20 and HASH vs BTREE | ||
---|---|---|---|
Submitted: | 30 Jul 2006 10:37 | Modified: | 30 Sep 2006 12:46 |
Reporter: | Edgar Scrase | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S5 (Performance) |
Version: | 5.0.21 | OS: | Windows (Windows) |
Assigned to: | CPU Architecture: | Any | |
Tags: | HASH instead of BTREE, Indexing, Memory Engine, Poor Performance |
[30 Jul 2006 10:37]
Edgar Scrase
[31 Jul 2006 15:45]
Valeriy Kravchuk
Thank you for a problem report. Please, upload the data that will help to demonstrate the behaviour described. At least, please, send SHOW TABLE STATUS results for the problematic table.
[1 Aug 2006 7:43]
Edgar Scrase
Here are the table statuses for three memory tables that we join in pairs using the query above. These start with the prefix "Coords". The "Temp" table is the product of one of these joins. "coords_itnblocks_vm","MEMORY",10,"Fixed",6544,84,598608,259059528,1002744,0,,"","","","latin1_swedish_ci",,"","" "coords_itnstreets_vm","MEMORY",10,"Fixed",13059,84,1197728,259059528,1898898,0,,"","","","latin1_swedish_ci",,"","" "coords_itnstreetsegments_vm","MEMORY",10,"Fixed",38733,84,3474384,259059528,5647374,0,,"","","","latin1_swedish_ci",,"","" "temp_itnstreettosegment","MEMORY",10,"Fixed",25061,265,6780392,627453220,1052562,0,,"","","","latin1_swedish_ci",,"","" Hope this helps. The data is not ours, otherwise I would upload this as well. To replicate, simply fill the Min and Max X & Y columns in the coords tables with 5-7 digit integers in the same approximate region (easy to generate in a spreadsheet package).
[30 Aug 2006 12:46]
Valeriy Kravchuk
Please, send the results of SHOW CREATE TABLE for Coords_Blocks_VM table also. Are you able to repeat the behaviour described with a newer version, 5.0.24?
[30 Sep 2006 23: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".