I am currently designing an app where a user uploads several daily informartion. I see two different ways to accomplish this:
- Fewer, larger objects: Save all information in an
array
in the_User
class of Parse. - More, smaller objects: Create a new class
Information
and save every information there with a pointer to the_User
class.
Let's assume the Information
class contains 1,000,000 records:
Which option is preferable? Are there actually any CPU / RAM differences regarding queries? Since in case 1 all the information are stored in the PFUser.currentUser()
's object, so there is actually no need for a query
.