I am coding a small app and have a question. i am deciding if storing data in JSON or mysql row is best for my scenario.
I am coding an app that may have lots of page hits, and because of that, i am thinking to store JSON encoded array into a column VS mysql rows. One query will be faster to execute VS 2.
The problem i am trying to figure out is i need to delete part of the JSON encoded array, but doing that means upon delete request, i will have to get the entire data, JSON decode and unset the object then update the row again. VS mysql delete row.
Is there a way that maybe i don't know of that can make this much easier to handle?
JOINto relate multiple rows in a child table to a master table.