[Mysql] differences between Mysql versions and mysql versions

Source: Internet
Author: User

[Mysql] differences between Mysql versions and mysql versions

I. Differences between Mysql versions:

1,MySQL Community ServerCommunity version, Open source is free of charge, but does not provide official technical support. This is also the MySQL version we usually use. Multiple versions are subdivided according to different operating system platforms
2,MySQL Enterprise EditionEnterprise Edition. You can try it for 30 days.
3,MySQL ClusterCluster version, Open source, free of charge. Several MySQLServer can be encapsulated into a Server.
4,MySQL Cluster CGEAdvanced cluster version, Pay-as-you-go.

 

II,MySQL 4.15.05.15.55.6Major differences between versions

1. 4.1 added support for subqueries, UTF-8 for character sets, ROLLUP for group by statements, and better encryption algorithms for mysql. user tables.

2. Added support for Stored procedures, Views, Cursors, Triggers, and XA transactions and added the INFORATION_SCHEMA system database.

3. Added support for Event scheduler, Partitioning, Pluggable storage engine APIs, Row-based replication, Global-level dynamic modification of general query log and slow query log.

4. New Features of 5.5

1) Change the default storage engine to InnoDB

2) improve performance and scalability

A. Increase the default thread concurrency (innodb_thread_concurrency)

B. Background input/output thread control (innodb_read_io_threads, innodb_write_io_threads)

C. Master thread input/output rate control (innodb_io_capacity)

D. Operating System memory allocation program usage control (innodb_use_sys_malloc)

E. adaptive Hash Index control. You can disable the adaptive Hash function.

F. Insert Buffering control. You can disable innodb's Insert buffer function.

G. Improve scalability through the quick lock algorithm. innodb does not use a proxy (posix) thread, but uses native independent operations to complete mutex and read/write locks.

H. Restore Group Commit (Restored Group Commit)

I. Improved recovery performance

J. Multi-buffer pool instance

K. Multiple Rollback Segments (Multiple Rollback Segments). The previous innodb version can handle a maximum of 1023 concurrent processing operations. Now mysql5.5 can handle up to concurrent transactions,

L. asynchronous input/output inherent in the Linux system, and the mysql5.5 database system also increases the number of input/output requests in the linux system.

M. Extended change Buffer: added Delete buffer and clear Buffer

N. improves the mutex of the log system and the mutex of the Flush list.

O. Improve the purge progress. In mysql5.5, it is clear that the Operation thread is an independent thread and supports concurrency. You can use the innodb_purge_treads configuration.

P. Improve metadata lock in transaction processing. For example, if a statement in a transaction needs to lock a table, it will release the table at the end of the transaction, rather than releasing the table at the end of the statement.

3) Improve Practicality

A. Semi-synchronous Replication (Semi-synchronous Replication)

B. Copy Heartbeat

C. Automatic Recovery of Relay logs (Automatic Relay Log Recovery)

D. Replication Based on Server Filtering items (Replication Per Server Filtering)

E. Replication Slave Side Data Type Conversions)

4) improve ease of management and efficiency

A. Create a fast Index (Faster Index Creation)

B. Efficient Data Compression (Efficient Data Compression)

C. efficient storage for large objects and variable length columns

D. added the INFORMATION_SCHEMA table, which provides specific information related to InnoDB compression and transaction lock.

5) Improve availability

A. New SQL syntax for SIGNAL/RESIGNAL

B. New table/index partition options. MySQL5.5 extends the range of table and index RANG and LIST partitions to non-integer columns and dates, and adds the ability to partition multiple columns.

6) improve detection and diagnosis

Mysql5.5 introduces a new performance architecture (performancn_shema, P_S) to monitor the performance of mysql monitoring servers.

 

5. New Features of 5.6

1) InnoDB can now limit the excessive memory usage when a large number of tables are opened (as mentioned here) (a third-party patch already exists)
2) Enhanced InnoDB performance. Such as splitting kernel mutex, flush operations from the main thread, multiple perge threads, and large memory optimization.
3) InnoDB deadlock information can be recorded in the error log for easy analysis
4) MySQL5.6 supports delayed replication, allowing the slave and master to control a time interval to facilitate data recovery in special circumstances.
5) Enhanced Table Partitioning
6) The Row-level replication function of MySQL is enhanced to reduce the overhead of disk, memory, network, and other resources (only record fields that can be determined by rows)
7) Implement crash-safe using Binlog
8) the replication event adopts crc32 verification to enhance data consistency during master/slave replication.
9) added log_bin_basename (previously, there was no binlog location information in variables and it was inconvenient to monitor the database)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.