Should I store data in MYSQL as JSON?

413360 pts.
Tags:
JSON
MySQL
Storage
Should I actually store data in MySQL as JSON? A friend of mine did this and and it actually made their database's performance better and decreased latency. He's also told me that storing data as JSON makes everything easier. But is it easy to delete /edit data stored as JSON? Thanks.

Answer Wiki

Thanks. We'll let you know when a new response is added.

No, you shouldn’t, unless you have a very good reason.

In most cases it wouldn’t make any sense.  Storing data as JSON would nullify the benefits of using a relational database system, and I don’t see how that could improve performance (unless you have some very particular needs, that work better on other types of database systems).

Deleting and editing data stored as JSON would be much more difficult and slow.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: