The MySQL 6.0 goodybag_MySQL
程序员文章站
2022-05-16 17:04:51
...
After MySQL 5.1 was released work started on MySQL 5.2, but then this was renamed to MySQL 6.0. There were many new features introduced in 6.0. But then stabilizing this branch became as huge task. Eventually the decision was made to start of with a stable branch and backport the new features from 6.0. This is how many of the 6.0 features landed in 5.5 and 5.6.
So let's see which features 6.0 brought and were they landed. I'll use theWhat Is New in MySQL 6.0section of theMySQL 6.0 Reference Manualfor this.
- The Falcon storage engine. This never landed anywhere as far as I know. It's not even included in thelist of storage enginesin the MariaDB knowledgbase. As both InnoDB and MySQL are now part of Oracle I don't see any reason for Falcon to exist anymore.
- 4-byte utf8 and support for utf16 and utf32. This is included in MySQL 5.5 together with many other Unicode enhancements.
- Database backup with SQL. This allows you to make backups by executing 'BACKUP DATABASE' SQL statements. This is has not landed anywhere as far as I know, but some of the code might have made it into MySQL Enterprise Backup (both use backup_history and backup_progress tables in the mysql database). This might be an interesting thing to have, but with MEB there is not a real need for it.
- Subquery enhancements, BKA and MRR. This all made it into MySQL 5.6.
- LOAD XML. This made it into MySQL 5.5, but I don't think it is used often.
- The Maria storage engine. This is a transactional MyISAM storage egine. This is not used in Oracle MySQL. It is included in MariaDB, but renamed toAriaas it might otherwise cause confusion. As far as I known there is not much development being done on Aria.
- Foreign Keys. Of course MySQL supports foreign keys (now even with NDB!), but those are implemented in the storage engine, not in the server. This was on the roadmap for 6.x but I don't know if it was actually implemented. Implementing this in the server could make writing storage engines easier and would probably also make it easier to combine partitioning and foreign keys.
Did I forget any 6.x features? Did you ever try 6.x? Let me know in the comments!
上一篇: jQuery实现浮动层随浏览器滚动条滚动的方法_jquery
下一篇: 004-PHP图片上传实例