The android documentation describes "EnableWriteAheadLogging" over here:
"This method enables parallel execution of queries from multiple threads on the same database"
However, according to the SQLite documentation: http://ift.tt/1dkDSrz
there are two kinds of multithreading for SQLite: "Serialized" and "Mulit-thread". Which one is used when using "EnableWriteAheadLogging"?
In addition, if my database needs to be accessed by both my app and a background service, does it help to use EnableWriteAheadLogging? Which actions should I take to make sure this can be done in a thread safe way?
Aucun commentaire:
Enregistrer un commentaire