MySQL 8.0 official version 8.0.11 released: 2 times faster than MySQL 5.7

Reprinted: https://www.oschina.net/news/95325/mysql-8-0-ga-released

The official version 8.0.11 of MySQL 8.0 has been released. Officially, MySQL 8 is 2 times faster than MySQL 5.7, and it also brings a lot of improvements and faster performance!

Note: Upgrading from MySQL 5.7 to MySQL 8.0 is only supported using in-place upgrades, and downgrading from MySQL 8.0 to MySQL 5.7 (or from a MySQL 8.0 version to any earlier MySQL 8.0 version) is not supported. The only supported alternative is to back up your data before upgrading.

1. Performance: MySQL 8.0 is 2 times faster than MySQL 5.7. MySQL 8.0 brings better performance for read/write workloads, IO intensive workloads, and high contention ("hot spot" contention issues) workloads.

2. NoSQL: MySQL has provided NoSQL storage function since version 5.7, and this part of the function has also been greatly improved in version 8.0. This feature eliminates the need for a separate NoSQL document database, while the MySQL document store also provides multi-document transaction support and full ACID compliance for schema-less schema JSON documents.

3. Window Functions: Since MySQL 8.0, a new concept called window functions has been added, which can be used to implement several new query methods. The window function is similar to aggregate functions such as SUM() and COUNT(), but instead of combining the results of multiple rows of queries into one row, it puts the results back into multiple rows. i.e. window functions do not need GROUP BY.

4. Hide indexes: In MySQL 8.0, indexes can be "hidden" and "shown". When an index is hidden, it is not used by the query optimizer. We can use this feature for performance debugging, for example we hide an index and then observe its impact on the database. If the performance of the database has declined, it means that the index is useful, and then it can be "restored and displayed"; if there is no change in the performance of the database, it means that the index is redundant, and you can consider deleting it.

5. Descending index: MySQL 8.0 provides support for sorting indexes in descending order, and the values ​​in this index will also be sorted in descending order.

6. Common Table Expressions (CTE): When using embedded tables in complex queries, using CTEs makes query statements clearer.

7. UTF-8 encoding: Starting from MySQL 8, use utf8mb4 as MySQL's default character set.

8. JSON: MySQL 8 has greatly improved support for JSON, adding the JSON_EXTRACT() function to extract data from JSON fields based on path query parameters, as well as JSON_ARRAYAGG() and JSON_ARRAYAGG() to combine data into JSON arrays and objects, respectively. JSON_OBJECTAGG() Aggregate function.

9. Reliability: InnoDB now supports the atomicity of table DDL, that is, DDL on InnoDB tables can also achieve transaction integrity, either fail to roll back or submit successfully, so that there will be no partial success when DDL occurs. In addition, it supports Crash-safe feature, metadata is stored in a single transaction data dictionary.

10. High Availability: InnoDB cluster provides an integrated native HA solution for your database.

11. Security: Improvements to OpenSSL, new default authentication, SQL roles, cipher strength, authorization.

Detailed update instructions: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-11.html  
Official release notes: https://blogs.oracle.com/mysql/announcing -general-availability-of-mysql-80 Whats  
new in MySQL 8 official release: https://mysqlserverteam.com/whats-new-in-mysql-8-0-generally-available/

download link

Windows (x86, 64-bit), ZIP Archive(mysql-8.0.11-winx64.zip) 183.3M
https://dev.mysql.com/downloads/file/?id=476233

Windows (x86, 64-bit), ZIP Archive(mysql-8.0.11-winx64-debug-test.zip) 230.5M
Debug Binaries & Test Suite
https://dev.mysql.com/downloads/file/?id=476234

Download address for other versions >>>  https://dev.mysql.com/downloads/mysql/8.0.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324653196&siteId=291194637