I'm building an API and I need to store some data, I'm using JSON as my response format instead of XML but I really dont know how to store my data, for example I have this
{users: [
user: "name",
products: [Array with more than 100 products],
etc: "other items"], etc...
}
the problem is that inside the user i have many arrays so maybe it may affect my db performance so I dont know if to choose NoSQL or Relational DB. So my question really is, does having too many nested arrays with many items inside an object affect my db performance? or should i choose another method for saving my data