vendredi 23 janvier 2015

Performance of multi threaded read using Ormlite on Android

I want to read two different tables (DAOs) with Sqlite on Android using Ormlite. Each table has more than 10.000 rows.


I am aware that I should use only one connection via OpenHelperManager.getHelper(context, DatabaseHelper.class);


No problem.


My question is:


Will it be quicker, if I use two parallel threads to read the two tables?


Or is the database not meant for parallel access with regards to performance?


Aucun commentaire:

Enregistrer un commentaire