View Issue Details

IDProjectCategoryView StatusLast Update
0005526MMW v4Main Panel/Toolbars/Menuspublic2009-05-08 17:57
ReporterLudek Assigned To 
PriorityimmediateSeverityminorReproducibilitysometimes
Status closedResolutionsuspended 
Product Version3.1 
Fixed in Version3.1 
Summary0005526: Expanding 'Title' node can freeze MM for minutes on some systems
DescriptionStart MediaMonkey and then expand the Title node. The first time it can take a long while. Any subsequent openings of the Title node are a lot faster due to caching.

Studing the Lowlander's log I found out that this SQL:
SELECT DISTINCT upperw(substr( songtitle, 1, 1)) AS letter
takes the time and makes MM unresponsive for 3 minutes!, it takes only 0.2 seconds on my 10k tracks DB, but Lowlander owns 800 MB's DB with 150k tracks.


Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=6&t=38649
TagsNo tags attached.
Fixed in build1238

Activities

Ludek

2009-04-21 09:31

developer   ~0017534

Last edited: 2009-04-21 17:16

Note that for MM 4.0 we could change the design and keep another SQL table that would only contain the letters. That way the expanding of main 'Title' node would be just about selection from table with tens of rows.

Another way is to add a new DB field to the Songs table that would keep the letter's ordinal value.

Ludek

2009-04-21 19:50

developer   ~0017539

I have got the Lownlander's DB and done a trick that seems to solve this issue for MM 3.1. Nevertheless the full solution for MM 4.0 should be one of the suggestions in my previous note.

peke

2009-05-08 17:57

developer   ~0017753

Verified 1244