Chapter 18 MySQL NDB Cluster 7.3 and NDB Cluster 7.4渣翻

Table of Contents     php

18.1 NDB Cluster Overview     
18.2 NDB Cluster Installation     
18.3 Configuration of NDB Cluster     
18.4 NDB Cluster Programs     
18.5 Management of NDB Cluster     
18.6 NDB Cluster Replication     
18.7 NDB Cluster Release Notes
上面的是mysql 5.6官方文檔第十八節的子目錄
先看文檔主幹部分

MySQL NDB Cluster is a high-availability, high-redundancy version of MySQL adapted for the distributed computing environment. Recent NDB Cluster release series use version 7 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 7.5, now available as a General Availability (GA) release beginning with version 7.5.4, incorporates version 7.5 of the NDB storage engine. NDB Cluster 7.6, which uses version 7.6 of the NDBstorage engine, is also now available as a developer preview. Previous GA releases still available for production, NDB 7.3 and NDB Cluster 7.4, incorporate NDB versions 7.3 and 7.4, respectively.html

MySQL NDB集羣是針對分佈式計算環境開發的高可用、高冗餘的mysql版本。最新發布的NDB集羣發佈系列使用了NDB第7版的存儲引擎,它容許在集羣中運行多個幾個MySQL服務器和其餘軟件。NDB集羣7.5,如今做爲通用的高可用版本(GA),從7.5.4版本發佈開始包含了NDB存儲引擎的7.5版本。使用NDBstorage引擎的7.6版本的NDB 7.6,如今也能夠做爲開發版預覽了。以前的GA版本仍然能夠用於生產,NDB 7.3和NDB集羣7.4分別包含了NDB版本7.3和7.4。node

Support for the NDB storage engine is not included in standard MySQL Server 5.6 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.)mysql

對NDB存儲引擎的支持不包括Oracle發佈的標準mysql5.6服務器的二進制文件。相反,oracle二進制文件的用戶使用NDB集羣,應該升級到NDB集羣支持的平臺最新二進制版本——這包括了大多數Linux發行版上的RPM。從源碼構建的NDB集羣用戶應該使用爲NDB集羣用戶提供的源(章節後面會列出這些源)git

注:這裏說的從源碼構建的是指的用二進制安裝包安裝的集羣用戶吧?求指點github

 

This chapter contains information about NDB Cluster 7.3 releases through 5.6.40-ndb-7.3.22 as well as NDB Cluster 7.4 releases through 5.6.40-ndb-7.4.21. Currently, NDB Cluster 7.5 is available as a General Availability release, and recommended for new deployments. NDB Cluster 7.6 is currently in development, and is available as a developer preview for evaluation purposes; see What is New in NDB Cluster 7.6, for more information. The NDB Cluster 7.4 and NDB Cluster 7.3 release series are previous GA releases still supported in production. NDB Cluster 7.2 is a previous GA release series which is still supported, although we recommend that new deployments for production use NDB Cluster 7.5 (see MySQL NDB Cluster 7.5 and NDB Cluster 7.6). For more information about NDB Cluster 7.2, see MySQL NDB Cluster 7.2.web

本節不但包含關於NDB集羣7.3到5.6.40-ndb-7.3.22版本,也包含NDB集羣7.4版本到5.6.40-ndb-7.4.21的信息。如今,NDB7.5版本做爲可靠地通用版本髮型,也推薦做爲新部署版本。NDB7.6當前正在開發中,可用於開發人員的預覽評估。參見What is New in NDB Cluster 7.6獲取更多信息。NDB集羣7.4和7.3系列版本做爲GA版仍舊在生產中支持。NDB集羣7.2是一個之前的GA發佈系列,它仍然被支持,但咱們建議使用NDB集羣7.5做爲新部署版本(見MySQL NDB集羣7.5和NDB集羣7.6)。獲取更多關於NDB集羣7.2版本信息,請參考MySQL NDB Cluster 7.2sql

 

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 http://www.mysql.com/support/supportedplatforms/cluster.html.shell

支持平臺:數據庫

NDB集羣目前可在多個平臺上支持與使用。對於具體的操做系統版本、操做系統發行版和硬件平臺的支持,請參考http://www.mysql.com/support/supportedplatforms/cluster.html

Availability.  NDB Cluster binary and source packages are available for supported platforms from http://dev.mysql.com/downloads/cluster/.

可用性:

NDB集羣二進制和源碼包支持的平臺能夠參考http://dev.mysql.com/downloads/cluster/.

NDB Cluster release numbers.  NDB Cluster follows a somewhat different release pattern from the mainline MySQL Server 5.6 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.

NDB集羣版本號:

NDB集羣遵循與主線MySQL服務器5.6系列版本稍有不一樣的發佈模式。在本手冊與其餘MySQL文檔中,咱們鑑別出這些與後來的NDB集羣版本使用了以「NDB」開頭的版本號。這版本數字指的是NDBCLUSTER發佈版中使用的存儲引擎,而非基於NDB集羣版本的MySQL服務器版本。

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

在NDB集羣軟件中使用的版本字符串:

NDB集羣程序顯示的版本字符串使用這種格式:

.........

mysql_server_version represents the version of the MySQL Server on which the NDB Cluster release is based. For all NDB Cluster 7.3 and current NDB Cluster 7.4 releases, this is 5.6」. 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
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.40-ndb-7.4.21 Source distribution

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

mysql> SELECT VERSION()\G
*************************** 1. row ***************************
VERSION(): 5.6.40-ndb-7.4.21
1 row in set (0.00 sec)

mysql_server_version

表明了基於NDB集羣發佈版的MySQL服務器版本。在全部的NDB集羣7.3版和當前NDB集羣7.4發佈版本中,「5.6」表明:ndb_engine_version是NDB集羣軟件的發佈版中使用的NDB存儲引擎版本號。你能夠在MySQL客戶端看到這種格式,以下所示:

.......

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.6.40-ndb-7.4.21, Nodegroup: 0, *)
id=2    @10.0.10.8  (5.6.40-ndb-7.4.21, Nodegroup: 0)

[ndb_mgmd(MGM)] 1 node(s)
id=3    @10.0.10.2  (5.6.40-ndb-7.4.21)

[mysqld(API)]   2 node(s)
id=4    @10.0.10.10  (5.6.40-ndb-7.4.21)
id=5 (not connected, accepting connect from any host)

版本字符串也可在ndb_mgm客戶端使用SHOW命令的輸出中,像這樣展現:

...........

The version string identifies the mainline MySQL version from which the NDB Cluster release was branched and the version of the NDBstorage engine used. For example, the full version string for NDB 7.4.4 (the first NDB Cluster 7.4 GA release) is mysql-5.6.23-ndb-7.4.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.4.4 derives from MySQL 5.6.23, and contains all feature enhancements and bug fixes from MySQL 5.6 up to and including MySQL 5.6.23.

  • Since the portion of the version string following -ndb- represents the version number of the NDB (or NDBCLUSTER) storage engine, NDB 7.4.4 uses version 7.4.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.4.4 (as previously noted) is based on MySQL 5.6.23, while NDB 7.4.3 was based on MySQL 5.6.22 (version string: mysql-5.6.22-ndb-7.4.3).

版本字符串標識了主要的MySQL版本,包括NDB集羣分支版本,與被使用的NDBstorage引擎的版本。舉例來講,NDB7.4.4的全版本字符串(第一個NDB集羣7.4GA發行版)是mysql-5.6.23-ndb-7.4.4,從這些信息咱們能肯定如下幾點:

  • 因爲-ndb-版本字符串以前的部分是MySQL服務器版本,這意味着NDB7.4.4源自MySQL5.6.23,幷包含了從MySQL 5.6升級到MySQL 5.6.23的全部特性加強和bug修復。
  • 因爲-ndb-版本字符串以後的部分表明NDB存儲引擎的版本號,NDB7.4.4使用的是NDBCLUSTER存儲引擎的7.4.4版本。

根據NDB存儲引擎的更新,新的NDB集羣版本將被編號,而且與主線MySQL服務器發佈版本並不必定是一一對應。例如,NDB 7.4.4(如前所述)基於MySQL 5.6.23,而NDB 7.4.3是基於MySQL 5.6.22(版本字符串:MySQL -5.6.22- NDB -7.4.3)

 Compatibility with standard MySQL 5.6 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 18.1.6, 「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 drop-in replacement for the version of mysqld supplied with NDB Cluster.

兼容標準的MySQL 5.6版本:

雖然許多標準的MySQL模式和應用程序均可以使用NDB集羣,但在使用NDB集羣運行時,未修改的應用程序和數據庫模式可能會有輕微的不兼容或有未達標準的性能(參見18.1.6,「NDB集羣的已知限制」)。這些問題大部分均可以克服,但這也意味着您不太可能切換現有應用程序數據的用途,(例如,MyISAM或innodb)使用NDB存儲引擎,而不考慮模式、查詢和應用程序的更改的可能性。此外,MySQL服務器和NDB集羣代碼基的差別很大,所以標準的mysqld不能做爲mysqld提供的版本,替代NDB集羣。

NDB Cluster development source trees.  NDB Cluster development trees can also be accessed fromhttps://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 Section 2.9.3, 「Installing MySQL Using a Development Source Tree」.

Note

As with MySQL Server 5.6, NDB Cluster 7.3 and NDB Cluster 7.4 releases are built using CMake.

Currently, NDB Cluster 7.3 and NDB Cluster 7.4 releases are Generally Available (GA). We recommend that new deployments use NDB Cluster 7.4. NDB Cluster 7.1 and earlier versions are no longer in active development. For an overview of major features added in NDB Cluster 7.4, see Section 18.1.4.2, 「What is New in NDB Cluster 7.4」. For similar information about NDB Cluster 7.3, see Section 18.1.4.1, 「What is New in NDB Cluster 7.3」. For an overview of major features added in past NDB Cluster releases, see What is New in MySQL NDB Cluster 7.2. NDB Cluster 7.5 is also available as a Developer Preview for testing of new features; for more information, see MySQL NDB Cluster 7.5 and NDB Cluster 7.6.

NDB集羣開發源碼樹:

也能夠從https://github.com/mysql/mysql-server訪問NDB集羣開發樹

在https://github.com/mysql/mysql-server中維護的NDB集羣開發源在GPL下得到許可。有關使用Git獲取MySQL源代碼並本身構建的更多信息,請參見第2.9.3節「使用開發源代碼樹安裝MySQL」。

注意

與MySQL服務器5.6同樣,NDB集羣7.3和NDB集羣7.4版本是使用CMake構建的。

目前,NDB集羣7.3和NDB集羣7.4發佈是通用可用版(GA)。咱們建議新的部署使用NDB集羣7.4。NDB集羣7.1和更早版本已再也不處於開發活躍階段。關於NDB集羣7.4中添加的主要特性的概述,請參見第18.1.4.2節「NDB集羣7.4中的新內容」。有關NDB集羣7.3的相似信息,請參見第18.1.4.1節「NDB集羣7.3中的新內容」。對於過去NDB集羣版本中添加的主要特性的概述,請參閱MySQL NDB集羣7.2中的新特性。NDB集羣7.5也能夠做爲開發人員預覽,用於測試新特性;更多信息,請參閱MySQL NDB集羣7.5和NDB集羣7.6。

This chapter represents a work in progress, and its contents are subject to revision as NDB Cluster continues to evolve. Additional information regarding NDB Cluster can be found on the MySQL website at http://www.mysql.com/products/cluster/.

Additional Resources.  More information about NDB Cluster can be found in the following places:

這一章標識了一項正在進行中的工做,它的內容隨着NDB集羣的不斷髮展而持續修訂。關於NDB集羣的附加信息能夠在MySQL網站http://www.mysql.com/products/cluster/上找到。 附加資源。

關於NDB集羣的更多信息能夠在如下地方找到: 關於NDB集羣常見問題的解答,請參見Section A.10, 「MySQL 5.6 FAQ: NDB Cluster」

NDB集羣郵件列表:http://lists.mysql.com/cluster.。

NDB集羣論壇:http://forums.mysql.com/list.php?25.

許多NDB集羣用戶和開發者博客都記錄了他們使用NDB集羣的經驗,並經過PlanetMySQL提供這些有用的提要

相關文章
相關標籤/搜索