In my iPhone app, I have large amount of data i.e. around 1000 pages of text.
Where should I do to store them?
Should I use plist or Sqlite Database table?
Which of them would prove to be more efficient?
Please Help and Suggest.
Thanks in Advance.
SQLite works great as the database engine for most low to medium traffic websites (which is to say, most websites). The amount of web traffic that SQLite can handle depends on how heavily the website uses its database. Generally speaking, any site that gets fewer than 100K hits/day should work fine with SQLite.
SQLite is a high-reliability storage solution. It does not give problems. It just works.
SQLite is one of the most popular and easy-to-use relational database systems. It possesses many features over other relational databases. Many big MNCs such as Adobe, use SQLite as the application file format for their Photoshop Lightroom product.
SQLite usually will work great as the database engine for low to medium traffic websites (which is to say, 99.9% of all websites). The amount of web traffic that SQLite can handle depends, of course, on how heavily the website uses its database.
For big amount of data, sqlite or coreData are better because all data are not load in memory to access to one.
With pList, entire file is read in memory. After, you can retain only data what you want, but it is not optimized.
Depends on how and for what you want to store the data:
Use SQLite if:
- Data needs to be accessed only partially
- Repeated updates
- Data itself is large in terms of bytes
Use plist otherwise!!
In your case, I would reccomend, using SQLite 3 or coredata.
You should use a plist for storing configuration settings.
For what you're doing I'd use sqlite3 or core data storage.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With