Hello,
I am using jRDC2 with SQLite.
I have already set my SQLite db in PRAGMA journal_mode = wal:
https://www.b4x.com/android/forum/t...ent-access-to-sqlite-databases.39904/#content
but I read here:
https://www.b4x.com/android/forum/t...ate-your-own-back-end-database.31616/#content
that I should set the min & max pool size to 1:
Is this correct? Because in my tests, that appeared to slow down the jRDC server.
If I leave the default value of the pool, it returns results faster when I do multiple queries.
Also, any other tweaks I could perform to improve the performance? For example, is there a way to cache queries?
Thanks for your help
I am using jRDC2 with SQLite.
I have already set my SQLite db in PRAGMA journal_mode = wal:
https://www.b4x.com/android/forum/t...ent-access-to-sqlite-databases.39904/#content
but I read here:
https://www.b4x.com/android/forum/t...ate-your-own-back-end-database.31616/#content
that I should set the min & max pool size to 1:
B4X:
Dim jo As JavaObject = pool
jo.RunMethod("setMaxPoolSize", Array(1))
jo.RunMethod("setMinPoolSize", Array(1))
Is this correct? Because in my tests, that appeared to slow down the jRDC server.
If I leave the default value of the pool, it returns results faster when I do multiple queries.
Also, any other tweaks I could perform to improve the performance? For example, is there a way to cache queries?
Thanks for your help