When running a large (large SQLite DB file) vacuum I have problems with the Android OS killing the app or perhaps just the vacuum process.
I say "perhaps just the vacuum process" as sometimes the app is not killed but the vacuum has done nothing, meaning the size of the DB file has not reduced
and also running:
pragma freelist_count
gives the same (non-zero) number before and after the vacuum.
There is no error message at all, so either the app or the vacuum process are killed silently.
As mentioned in a previous thread (getting too long now) regarding this I have a solution by making use of this SQLCipher function:
SELECT sqlcipher_export
but I am still interested to make the vacuum work.
RBS
I say "perhaps just the vacuum process" as sometimes the app is not killed but the vacuum has done nothing, meaning the size of the DB file has not reduced
and also running:
pragma freelist_count
gives the same (non-zero) number before and after the vacuum.
There is no error message at all, so either the app or the vacuum process are killed silently.
As mentioned in a previous thread (getting too long now) regarding this I have a solution by making use of this SQLCipher function:
SELECT sqlcipher_export
but I am still interested to make the vacuum work.
RBS