I'm creating an iOS app where I need to store 7 days data for each Minute. It contains 5 different Parameter Values along with some Other Information. So I need to store 7 * 24 * 60 * 5 = 50,400 records. Like that I need to Store for 5 different Scenarios. So, I need to Store 50,400 * 5 = 252,000 records. When I open my app, I need to load all these data into Objects. But, the main thing is I cannot use each Record directly as an Object. The Object Structure is different from Storage. So, I required to prepare all objects in the app Opening. As I am storing only 7 days data, it is required to delete all older records when I open the app. If the user is not opened the app for 7 days, then I need to delete entire 252,000 records at once. So, for this requirement whether Core Data is the best option, or the sqlite. Suggest me.
Aucun commentaire:
Enregistrer un commentaire