by grep_it on 5/1/23, 12:43 PM with 35 comments
by wswope on 5/1/23, 4:54 PM
https://dev.mysql.com/doc/refman/8.0/en/ansi-diff-foreign-ke...
by Dachande663 on 5/1/23, 3:36 PM
by ksec on 5/1/23, 3:59 PM
by frazerclement on 5/1/23, 11:42 PM
Note that there's more than one 'MySQL FOREIGN KEY' implementation. MySQL Ndb Cluster also supports foreign keys with some differences wrt the InnoDB implementation :
- NDB, therefore not limited to a single MySQL Server, shard etc - Not limited to references between tables in a single database - Supports NoAction deferred constraint checks - Cascaded changes Binlogged independently as part of RBR (Nice side effect of reducing replica apply time work) ...
https://dev.mysql.com/blog-archive/foreign-keys-in-mysql-clu...
Some of the issues described wrt DDL limitations are shared.
Many schemas seem to overuse foreign keys perhaps under the assumption that they are required for or accelerate joins?
by ComputerGuru on 5/1/23, 3:48 PM
by pjungwir on 5/1/23, 5:24 PM
> MySQL is pushing towards INSTANT DDL
When I need MySQL these days I automatically go for MariaDB instead, but I guess they are going to diverge more and more. Does anyone more involved in the MySQL/MariaDB world have any thoughts about how they choose and the future of those two projects?