I have a large sqlite database (> 6M records). I use an asynctask to read in background to make UI responsive.
I am trying to read records in chunks (3000 records) so I do not have memory allocation problem. However, the cursor reads the whole result in one shot, which causes app to hang.
Is there away to make cursor read query result sequentially from DB (like .NET SqlDataReader)? Or, I am only set to use select with LIMIT clause (which creates overhead)?
Thanks.