I just moved from standard SQL to SQLCipher to protect user data, but I noticed a huge increase in query time, literally it can take up to 3-5 times more than what it took the same query with a non encrypted database, some times a few seconds, 1+ seconds of UI frozen is not aceptable in 2017, almost 2018.
This extra time that it takes to query data makes significantly performance issue.
Someone knows what could be wrong? Or is common this delay in encrypted DB? And what can be done to compensate the delay?
Thanks
EDIT: I show the database entries in a ULV (UltimateListView) which add up half a second of delay (only with encrypted db, don't know why)
- I populated this encrypted DB with data stored in the non encrypted DB, one by one. Took several minutes.
- The size(mb) of the encrypted db is larger, as far as I know this is ok.
- My database have 10000 entries and growing.
This extra time that it takes to query data makes significantly performance issue.
Someone knows what could be wrong? Or is common this delay in encrypted DB? And what can be done to compensate the delay?
Thanks
EDIT: I show the database entries in a ULV (UltimateListView) which add up half a second of delay (only with encrypted db, don't know why)
Last edited: