java - The best way to organise data on SD card for fast searching -


i have next model, need store on sd card:

artist->album->track  playlist (user adds here tracks) 

currently store tracks on 1 level using playlistid_artistid_albumid_trackid name. after downloading lot of tracks performance falls. best way store hierarchical data(playlists not in hierarchy - problem) fast searching?

edit:

i need have possibility looking for:

  • tracks trackid, albumid, artistid, playlistid

  • albums artistid, playlistid

  • artists playlistid

    and on...

i've reorganised structure next one:

 - tree structure "artist->album->track"` on sd card  - db on sd card links playlists , tracks ids. 

it resolved performance problem.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -