In my android app, i’m planning to store data locally to reduce data usage of internet and allowing offline access also. My current schema contains 9 columns. Out of which 2 columns are for storing urls, one for plain text of 140 chars, 1 for datetime, 2 for plain text of 100 chars, 3 other for integers. Number of records to be inserted is depend on user ie how much records he wants. He can delete them whenever he wants. Multiple records are to inserted one time. Same with deletion.
Now my question is, will this cause app overload in terms of insertions, deletion and maintenance? I first thought of storing this data in filesystem (xml file) but then deletion of records can be difficult. So should I go for SQLite approach or xml file as storage. Other solutions are also welcomed.
In my android app, i’m planning to store data locally to reduce data usage
Share
I would recommend SQLite over xml for what you are wanting to do. SQLite is going to be faster and easier IMHO. I have done reads from both. Never done inserts and updates.
the xml file would have to be openned, then parsed to get any data out of it, the closed :0) You are correct as well deletes, updates, inserts would be a lot more difficult with an xml file.