mysql cluster pdf_mysql-cluster-excerpt-5.7-en.a4 PDF 下载

主要内容:

Chapter 2 MySQL NDB Cluster 7.5 and NDB Cluster 7.6

MySQL NDB Cluster is a high-availability, high-redundancy version of MySQL adapted for the

distributed computing environment. The most recent NDB Cluster release series uses version 8 of the

NDB storage engine (also known as NDBCLUSTER) to enable running several computers with MySQL

servers and other software in a cluster. NDB Cluster 8.0, now available as a General Availability (GA)

release beginning with version 8.0.19, incorporates version 8.0 of the NDB storage engine. NDB Cluster

7.6 and NDB Cluster 7.5, still available as GA releases, use versions 7.6 and 7.5 of NDB, respectively.

Previous GA releases still available for use in production, NDB Cluster 7.4 and NDB Cluster 7.3,

incorporate NDB versions 7.4 and 7.3, respectively. NDB 7.2 and older release series are no longer

supported or maintained.

Support for the NDB storage engine is not included in standard MySQL Server 5.7 binaries built by

Oracle. Instead, users of NDB Cluster binaries from Oracle should upgrade to the most recent binary

release of NDB Cluster for supported platforms—these include RPMs that should work with most

Linux distributions. NDB Cluster users who build from source should use the sources provided for NDB

Cluster. (Locations where the sources can be obtained are listed later in this section.)

Important

MySQL NDB Cluster does not support InnoDB cluster, which must be deployed

using MySQL Server 5.7 with the InnoDB storage engine as well as additional

applications that are not included in the NDB Cluster distribution. MySQL Server

5.7 binaries cannot be used with MySQL NDB Cluster. For more information

about deploying and using InnoDB cluster, see InnoDB Cluster. Section 3.6,

“MySQL Server Using InnoDB Compared with NDB Cluster”, discusses

differences between the NDB and InnoDB storage engines.

This chapter contains information about NDB Cluster 7.5 releases through 5.7.30-ndb-7.5.19 and

NDB Cluster 7.6 releases through 5.7.30-ndb-7.6.15, both of which are General Availability (GA)

releases supported in production. NDB Cluster 8.0 is the current GA release and recommended for

new deployments; for information about NDB Cluster 8.0, see What is New in NDB Cluster. For similar

information about NDB Cluster 7.5 and 7.6, see Section 3.4, “What is New in NDB Cluster”. NDB

Cluster 7.4 and 7.3 are previous GA releases still supported in production; see MySQL NDB Cluster

7.3 and NDB Cluster 7.4.

Supported Platforms. NDB Cluster is currently available and supported on a number of platforms.

For exact levels of support available for on specific combinations of operating system versions,

operating system distributions, and hardware platforms, please refer to https://www.mysql.com/support/

supportedplatforms/cluster.html.

Availability. NDB Cluster binary and source packages are available for supported platforms from

https://dev.mysql.com/downloads/cluster/.

NDB Cluster release numbers. NDB Cluster follows a somewhat different release pattern from the

mainline MySQL Server 5.7 series of releases. In this Manual and other MySQL documentation, we

identify these and later NDB Cluster releases employing a version number that begins with “NDB”. This

version number is that of the NDBCLUSTER storage engine used in the release, and not of the MySQL

server version on which the NDB Cluster release is based.

Version strings used in NDB Cluster software. The version string displayed by NDB Cluster

programs uses this format:

mysql-mysql_server_version-ndb-ndb_engine_version

mysql_server_version represents the version of the MySQL Server on which the NDB

Cluster release is based. For all NDB Cluster 7.5 and NDB Cluster 7.6 releases, this is “5.7”.

ndb_engine_version is the version of the NDB storage engine used by this release of the NDB

Cluster software. You can see this format used in the mysql client, as shown here:

shell> mysql

3

Welcome to the MySQL monitor. Commands end with ; or \g.

Your MySQL connection id is 2

Server version: 5.7.30-ndb-7.5.19 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> SELECT VERSION()\G

*************************** 1. row ***************************

VERSION(): 5.7.30-ndb-7.5.19

1 row in set (0.00 sec)

This version string is also displayed in the output of the SHOW command in the ndb_mgm client:

ndb_mgm> SHOW

Connected to Management Server at: localhost:1186

Cluster Configuration

---------------------

[ndbd(NDB)] 2 node(s)

id=1 @10.0.10.6 (5.7.30-ndb-7.5.19, Nodegroup: 0, *)

id=2 @10.0.10.8 (5.7.30-ndb-7.5.19, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)

id=3 @10.0.10.2 (5.7.30-ndb-7.5.19)

[mysqld(API)] 2 node(s)

id=4 @10.0.10.10 (5.7.30-ndb-7.5.19)

id=5 (not connected, accepting connect from any host)

The version string identifies the mainline MySQL version from which the NDB Cluster release was

branched and the version of the NDB storage engine used. For example, the full version string for NDB

7.5.4 (the first NDB 7.5 GA release) was mysql-5.7.16-ndb-7.5.4. From this we can determine

the following:

• Since the portion of the version string preceding -ndb- is the base MySQL Server version, this

means that NDB 7.5.4 derived from MySQL 5.7.16, and contained all feature enhancements and bug

fixes from MySQL 5.7 up to and including MySQL 5.7.16.

• Since the portion of the version string following -ndb- represents the version number of the NDB (or

NDBCLUSTER) storage engine, NDB 7.5.4 used version 7.5.4 of the NDBCLUSTER storage engine.

New NDB Cluster releases are numbered according to updates in the NDB storage engine, and do not

necessarily correspond in a one-to-one fashion with mainline MySQL Server releases. For example,

NDB 7.5.4 (as previously noted) was based on MySQL 5.7.16, while NDB 7.5.3 was based on MySQL

5.7.13 (version string: mysql-5.7.13-ndb-7.5.3).

Compatibility with standard MySQL 5.7 releases. While many standard MySQL schemas and

applications can work using NDB Cluster, it is also true that unmodified applications and database

schemas may be slightly incompatible or have suboptimal performance when run using NDB Cluster

(see Section 3.7, “Known Limitations of NDB Cluster”). Most of these issues can be overcome, but

this also means that you are very unlikely to be able to switch an existing application datastore—that

currently uses, for example, MyISAM or InnoDB—to use the NDB storage engine without allowing for

the possibility of changes in schemas, queries, and applications. In addition, the MySQL Server and

NDB Cluster codebases diverge considerably, so that the standard mysqld cannot function as a dropin replacement for the version of mysqld supplied with NDB Cluster.

NDB Cluster development source trees. NDB Cluster development trees can also be accessed

from https://github.com/mysql/mysql-server.

The NDB Cluster development sources maintained at https://github.com/mysql/mysql-server are

licensed under the GPL. For information about obtaining MySQL sources using Git and building them

yourself, see Installing MySQL Using a Development Source Tree.

Note

As with MySQL Server 5.7, NDB Cluster 7.5 and NDB Cluster 7.6 releases are

built using CMake.

NDB Cluster 8.0 is available beginning with NDB 8.0.19 as a General Availability release, and is

recommended for new deployments; see What is New in NDB Cluster, for more information. NDB

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值