MySQL is a Better NoSQL
engineering.wix.com
MySQL is a Better NoSQL
1–10 of 91 posts
Re: MySQL is a Better NoSQL
#2Good write up though.
Re: MySQL is a Better NoSQL
#3Adding Hadoop in the mix tells me he doesn't know what a NoSQL is.
Re: MySQL is a Better NoSQL
#4http://www.postgresql.org/docs/9.4/static/datatype-json.html
Re: MySQL is a Better NoSQL
#5Re: MySQL is a Better NoSQL
#6Re: MySQL is a Better NoSQL
#7Storing JSON as TEXT is great, but you really only query the data based on the mySQL index.
What if you need to query based on the site_data?
This is really not NoSQL this is just a key value store with a JSON object that is not even native type to the database, you will still need to parse back/forth.
What about updating the data? You need to get the object and then you need to parse it, change it and send it back marshalled to TEXT that MySQL can understand.
Even as a KV store, using MySQL simplifies a lot of things but there are MUCH better solutions out there.
[EDIT] One other thing that this fails to mention is that TEXT in MySQL will in most cases go to disk to get the "document" which will be slower.
In Wix case, getting a website and having all the data available this is most likely not relevant, but if you want to get multiple rows at a time, this will become a consideration for you.
Re: MySQL is a Better NoSQL
#8Interesting that he advocates MySQL. PostgreSQL can index and interact with the JSON stored in it's columns, which make it a better choice as a NoSQL replacement. http://www.postgresql.org/docs/9.4/static/datatype-json.html
Re: MySQL is a Better NoSQL
#9Interesting that he advocates MySQL. PostgreSQL can index and interact with the JSON stored in it's columns, which make it a better choice as a NoSQL replacement. http://www.postgresql.org/docs/9.4/static/datatype-json.html
Re: MySQL is a Better NoSQL
#10This is right and wrong in the same time. Not sure which more. Storing JSON as TEXT is great, but you really only query the data based on the mySQL index. What if you need to query based on the site_data? This is really not NoSQL this is just a key value store with a JSON object that is not even native type to the database, you will still need to parse back/forth. What about updating the data? You need to get the obj…