5061: Music Database doesn't show all Data... (3 Viewers)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,583
    2,972
    Nuenen
    Home Country
    Netherlands Netherlands
    I can't understand why you have the same sample taking from 0 to over 50 seconds. :cautious: Could it be a disk problem? Defragmentation? Or a memory problem? :coffee:
    My thoughts exactly, I bet my old n95 phone would be able to return 5000 records in a reasonable time :)
    Or perhaps the marshalling is a bit of a performance killer (didn't yet investigate, but it could be...)
    Do we need all the columns (i see a select * done, and I can imagine the calculation time will scale linearly with the number of columns involved)?
    Didn't check the logs but I'm assuming no busy retries are done?

    If this all fails to get the expected improvement, perhaps we can come up with some pagination scheme? (Although pagination and databases aren't exactly the best of friends...)

    And do you really want all those 5000+ entries in one list in mediaportal? that doesn't seem very useful at first sight, but can surely increase the memory usage of your system (possibly starving the sqlite part...)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    For pagination need rework 90% of MP :) I pass :) but 5000 items in the list is not that much. But the main problem is why one and the same request is executed at different times, and the difference is at times.

    -- Tapatalk | WBR, ajs
     

    joEhSuper

    MP Donator
  • Premium Supporter
  • June 2, 2011
    1,012
    589
    Home Country
    Austria Austria
    I'm not a programmer - only a man who likes MediaPortal :) and if I'm talking trash please forgive me - just let me know and I stop :unsure:;)

    Do we need all the columns

    If you are talking about the new columns in MusicDatabaseV14, I have to say I also thought about that...
    In my point of view, it's the only change (related to that) I can see from MP1.26 to MP1.27. And in MP 1.26 all works fine. Because of that I doubt problems with harddisk or memory.

    I think my Laptop should be able to handle this...
    1610496251921.png


    And do you really want all those 5000+ entries in one list in mediaportal?
    In general I absolutly agree - and if it's not possible to handle I can use other MusicViews of course ;)
    But also when I set Index A-Z at first level (to not get that long lists), the error occurs also in subfolders:(
     

    joEhSuper

    MP Donator
  • Premium Supporter
  • June 2, 2011
    1,012
    589
    Home Country
    Austria Austria
    Logs for Test 03 -->
    Logs for Test 04 follow in the evening...
     

    Attachments

    • MediaPortalLogs_Test03.zip
      1.8 MB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,650
    10,605
    Kyiv
    Home Country
    Ukraine Ukraine
    Didn't check the logs but I'm assuming no busy retries are done?
    No retries, I've reviewed many projects on GitHub, no one has a sampling time limit, only Mediaportal. This is good on the one hand, and bad on the other. We work fast, but sometimes not all the way through.
    I filled a music database with random records, the number of 20000 records, and ran the same query in SQLiteExpert. The sampling time with mapping is about 50ms. As confirmed by the log in Mediaportal. But why the time can increase, I do not know. Maybe we should clean the lists in SQLiteClient after the fetching or something like that. :coffee:
     

    Users who are viewing this thread

    Top Bottom