Earlier quoted context omitted.
Former MySQL Product Manager here (no longer affiliated). To cover your specifics: MySQL was first in offering JSON with 5.7. It is still well ahead, for example, there is no JSON_TABLE, aggregate functions, native type or partial update in MariaDB. Some examples of the value here: https://mysqlserverteam.com/mysql-8-0-from-sql-tables-to-jso... Both have always had GIS support, but have taken it in a different direct…
Mariadb has JSON it just doesn't call it that - it's terminology is dynamic columns. Source: have code that works on both.
MySQL 8.0 is now generally available
41–50 of 105 posts
Re: MySQL 8.0 is now generally available
#42Earlier quoted context omitted.
Former MySQL Product Manager here (no longer affiliated). To cover your specifics: MySQL was first in offering JSON with 5.7. It is still well ahead, for example, there is no JSON_TABLE, aggregate functions, native type or partial update in MariaDB. Some examples of the value here: https://mysqlserverteam.com/mysql-8-0-from-sql-tables-to-jso... Both have always had GIS support, but have taken it in a different direct…
Mariadb has JSON it just doesn't call it that - it's terminology is dynamic columns. Source: have code that works on both.
* The JSON datatype guarantees the content is valid JSON
* access to fields can be faster even without dynamic/virtual columns
* since 8.0 there are special optimizations for doing partial updates, which means that not the full JSON data has to be rewritten on small changes https://mysqlserverteam.com/partial-update-of-json-values/
Re: MySQL 8.0 is now generally available
#43Re: MySQL 8.0 is now generally available
#44Earlier quoted context omitted.
There are a lot of postgres fans on HN, would you mind giving some more info on why you want to go from PG to MySQL?
There are some nice features that MySQL lacks. Personally, the thing I like best in Postgres is transactional DDL. In MySQL, if halfway through a database transformation your migration script fails, you are in a broken state and you are on your own. Postgres rolls the whole transaction back. Ofcourse there are some other features MySQL lacks, such as variable length character columns (varchar) where you don't need to…
I thought so as well from the release note wording, thanks to theptip for confirming in the docs that DDL is not transactional in 8.0, just crash-safe. see https://news.ycombinator.com/item?id=16876549.
Re: MySQL 8.0 is now generally available
#45Re: MySQL 8.0 is now generally available
#46Earlier quoted context omitted.
In what way is 5.8.0 "ossified"? I swear you're just making up terms now :P ... verb past tense: ossified; past participle: ossified 1. turn into bone or bony tissue. "these tracheal cartilages may ossify" synonyms: turn into bone, become bony, calcify, harden, solidify, rigidify, petrify "the cartilage may ossify" 2. cease developing; be stagnant or rigid. "ossified political institutions" synonyms: become inflexibl…
The same thing happened with Java. After Java 1.4 they just dropped the 1 and released Java 5.
Re: MySQL 8.0 is now generally available
#47Earlier quoted context omitted.
Mariadb has JSON it just doesn't call it that - it's terminology is dynamic columns. Source: have code that works on both.
It has both (now). It's a stretch to say Dynamic columns are on the same level. For example, could you index them with virtual generated columns? The syntax is also not as transparent to applications as the ->> JSON operator.
I think Mariadb was there first. I think the format is very similar at the bit level, but the MySQL has nicer API with automatic returning it as text to apps rather than exposing the bits. I dislike json_extract and wish >> worked but it doesn't seem to on my percona server :(
Anyhow, you'll look back when you've got more distance from Oracle and realize that you don't need to try and convince yourself that MySQL was better quite so hard ;)
Re: MySQL 8.0 is now generally available
#48Does anyone have any idea when this will be available on Amazon RDS?
Re: MySQL 8.0 is now generally available
#49There are some very useful features there, but I can't help but think that MySQL should have had them a long time ago. Is there something MariaDB doesn't have? I'm genuinely curious as I've only really followed PostgreSQL development.
Re: MySQL 8.0 is now generally available
#50Earlier quoted context omitted.
It has both (now). It's a stretch to say Dynamic columns are on the same level. For example, could you index them with virtual generated columns? The syntax is also not as transparent to applications as the ->> JSON operator.
Oracle owns the JavaScript trademark and has started enforcing it. Kinda wise in hindsight that Mariadb didn't call it json? I think Mariadb was there first. I think the format is very similar at the bit level, but the MySQL has nicer API with automatic returning it as text to apps rather than exposing the bits. I dislike json_extract and wish >> worked but it doesn't seem to on my percona server :( Anyhow, you'll lo…
I wish we could be more civil and not resort to petty insults. Is there anything I wrote you can dispute with a source?