cluster/ 500 0 0 0 10504617154 5475 5cluster/cluster.htm 600 0 0 20125 10504616734 7717 MySQL Cluster Manual

MySQL Cluster

RussianLDP:MySQL ( http://www.botik.ru/~rldp/mysql.htm). , MySQL.

MySQL Cluster NDB Cluster, MySQL . NDB Cluster BitKeeper MySQL 4.1.2 MySQL-Max 4.1.3.

Linux, Mac OS X Solaris. NDB Cluster , MySQL, Windows.

MySQL Cluster. http://lists.mysql.com. MySQL http://forums.mysql.com.

1 MySQL Cluster

MySQL Cluster , , . , . , .

MySQL Cluster MySQL NDB. NDB , , MySQL Cluster MySQL .

MySQL Cluster , , MySQL, NDB, () . , MySQL Cluster. NDB Cluster, NDB Cluster. MySQL . , , , - , , , .

, MySQL Cluster , , , - . ( ) , .

2 MySQL Cluster

NDB .

NDB , , . MySQL Cluster NDB , .

, MySQL Cluster, NDB MySQL.

MySQL Cluster MySQL. MySQL Cluster node ().

: , MySQL Cluster . .

, MySQL Cluster. MySQL :

. . MySQL , , . , , .

. , , . , , .

, . .

E"&U$&E&U&E&&U(&E&E&1&E &E*&U,&E.&U0&E*&U,&E2&U4&E*&U,&E6&U8&E&E6&E^1&E:&E<1&E>&E@1&EB&EDK&E&EY&EZ&E[&E\1&E &Em&Uo &Eq&Us1&Eu&Ew &Ey&U{&Ek&El&Ej&5j<u ~&E_~&E_~ &u&5~W~`W~aW~bWjH~&ES~ &u&5~W~Wl~&EJK~&EL~ &u&5j% ~ &u&5j /~WvC/ ~*Wvcluster/config.htm 600 0 0 233500 10504617014 7516 MySQL Cluster Manual

3 MySQL Cluster

MySQL, , : NDBCLUSTER. NDB, .

, NDB. , my.cnf.

MySQL , , MGM-, . : MGM- localhost. , , my.cnf MySQL. , NDB , MGM- , DB-.

3.1

NDB , MySQL-Max 4.1.3 Linux, Mac OS X Solaris. Windows, win32 .

MySQL 4.1 BitKeeper, , --with-ndbcluster configure. BUILD/compile-pentium-max. , OpenSSL, OpenSSL, , compile-pentium-max, . , , .

3.2

, MySQL, MySQL Cluster MySQL .

, MGM DB , , . my.cnf , MySQL .

3.3 MySQL Cluster

, . , , .

, , /var/lib/mysql-cluster, root:

shell> mkdir /var/lib/mysql-cluster

, config.ini , HostName DataDir .

# file config.ini - showing minimal setup consisting of 1 DB node,
# 1 management server, and 3 MySQL servers.
# The empty default sections are not required, and are shown only for
# the sake of completeness.
# Storage nodes are required to provide a hostname but MySQL Servers
# are not.
# If you don't know the hostname for your machine, use localhost.
# The DataDir parameter also has a default value, but it is recommended to
# set it explicitly.
# NDBD, MYSQLD, and NDB_MGMD are aliases for DB, API, and MGM respectively
#
[NDBD DEFAULT]
NoOfReplicas= 1

[MYSQLD DEFAULT]
[NDB_MGMD DEFAULT]
[TCP DEFAULT]

[NDB_MGMD]
HostName= myhost.example.com

[NDBD]
HostName= myhost.example.com
DataDir= /var/lib/mysql-cluster

[MYSQLD]
[MYSQLD]
[MYSQLD]

:

shell> cd /var/lib/mysql-cluster
shell> ndb_mgmd

DB-, ndbd. ndbd DB- , --initial:

shell> ndbd --initial

ndbd --initial:

shell> ndbd

, --initial ( ) .

ndbd localhost 1186 ( MySQL 4.1.8 2200).

: MySQL , ndb_mgmd ndbd . /usr/local/mysql/bin.

( /var/lib/mysql /usr/local/mysql/data) , my.cnf NDB:

[mysqld]
ndbcluster

MySQL :

shell> mysqld_safe --user=mysql &

, , MySQL . mysql ended, .err , , . , :

shell> mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1 to server version: 4.1.7

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> SHOW ENGINES;
+------------+---------+-----------------------------------------------+
| Engine     | Support | Comment                                       |
+------------+---------+-----------------------------------------------+
...
| NDBCLUSTER | DEFAULT | Clustered, fault-tolerant, memory-based tables|
| NDB        | YES     | Alias for NDBCLUSTER                          |
...

mysql> USE test;
Database changed

mysql> CREATE TABLE ctest (i INT) ENGINE=NDBCLUSTER;
Query OK, 0 rows affected (0.09 sec)

mysql> SHOW CREATE TABLE ctest \G
*************************** 1. row ***************************
       Table: ctest
Create Table: CREATE TABLE `ctest` (
  `i` int(11) default NULL
) ENGINE=ndbcluster DEFAULT CHARSET=latin1
1 row in set (0.00 sec)

, , :

shell> ndb_mgm

SHOW , :

NDB> SHOW
Cluster Configuration
---------------------
[ndbd(NDB)]     1 node(s)
id=2    @127.0.0.1  (Version: 3.5.3, Nodegroup: 0, Master)

[ndb_mgmd(MGM)] 1 node(s)
id=1    @127.0.0.1  (Version: 3.5.3)

[mysqld(API)]   3 node(s)
id=3    @127.0.0.1  (Version: 3.5.3)
id=4 (not connected, accepting connect from any host)
id=5 (not connected, accepting connect from any host)

, MySQL. , , ENGINE=NDBCLUSTER ENGINE=NDB.

3.4

MySQL :

. , , , . , . , , , (http://bugs.mysql.com), .

3.4.1 MySQL

MySQL, my.cnf .

4.1.8 my.cnf , ndbcluster. , config.ini. .

# my.cnf
# example additions to my.cnf for MySQL Cluster
# (valid from 4.1.8)

# enable ndbcluster storage engine, and provide connectstring for
# management server host (default port is 1186)
[mysqld]
ndbcluster
ndb-connectstring=ndb_mgmd.mysql.com

# provide connectstring for management server host (default port: 1186)
[ndbd]
connect-string=ndb_mgmd.mysql.com

# provide connectstring for management server host (default port: 1186)
[ndb_mgm]
connect-string=ndb_mgmd.mysql.com

# provide location of cluster configuration file
[ndb_mgmd]
config-file=/etc/config.ini

connectstrings 3.4.2 MySQL Cluster connectstring.

# my.cnf
# example additions to my.cnf for MySQL Cluster
# (will work on all versions)
# enable ndbcluster storage engine, and provide connectstring
# for management server host to the default port 2200

[mysqld]
ndbcluster
ndb-connectstring=ndb_mgmd.mysql.com:2200

MySQL 4.1.8 my.cnf [mysql_cluster] , :

# cluster-specific settings
[mysql_cluster]
ndb-connectstring=ndb_mgmd.mysql.com:2200

INI config.ini. ndb_mgmd , . , --config-file=[<path>]<filename> ndb_mgmd. , ndb_mgmd config.ini, .

, config.ini. , DEFAULT . , DB- , [DB]. DB- , , , [DB DEFAULT], DataMemory, DB-.

INI , ( ), . , (`:'), , (`='). , . , ( ) (ID).

, , , . , , MySQL, :

# file "config.ini" - 2 DB nodes and 2 mysqld
# This file is placed in the startup directory of ndb_mgmd,
# i.e., the management server.
# The first MySQL Server can be started from any host and the second
# can only be started at the host mysqld_5.mysql.com
# NDBD, MYSQLD, and NDB_MGMD are aliases for DB, API, and MGM respectively

[NDBD DEFAULT]
NoOfReplicas=2
DataDir=/var/lib/mysql-cluster

[NDB_MGMD]
Hostname=ndb_mgmd.mysql.com
DataDir=/var/lib/mysql-cluster

[NDBD]
HostName=ndbd_2.mysql.com

[NDBD]
HostName=ndbd_3.mysql.com

[MYSQLD]
HostName=mysqld_5.mysql.com

:

, config.ini. , , , . [NDBD], ( ) [DB].

DEFAULT . MySQL 4.1.5, .

3.4.2 MySQL Cluster connectstring

(ndb_mgmd), , MySQL, connectstring, . , , . connectstring :

<connectstring> := [<nodeid-specification>,]<host-specification>[,<host-specification>]
<nodeid-specification> := nodeid=<id>
<host-specification> := <host>[:<port>]

<id> , 1. config.ini, <port> unix-, <host> , , .

():

"nodeid=2, myhost1:1100, myhost2:1100, 192.168.0.3:1200"

():

"myhost1"

localhost:1186 connectstring, . <port>, 1186. : MySQL 4.1.8 2200. , IANA (. http://www.iana.org/assignments/port-numbers).

<host-specification>, . , .

connectstring:

connectstring , my.cnf .

3.4.3 , MySQL

[COMPUTER] , . , , .

[COMPUTER]Id
. ID. .
[COMPUTER]HostName
. IP-.

3.4.4 MySQL Cluster

[MGM] ( [NDB_MGMD]) , . ExecuteOnComputer HostName . , , .

[MGM]Id
, 1 63 . ID .
[MGM]ExecuteOnComputer
, [COMPUTER].
[MGM]PortNumber
, .
[MGM]LogDestination
, . : CONSOLE, SYSLOG FILE.
[MGM]ArbitrationRank
, , . MGM API- , : , ArbitrationRank 1 ( ) ArbitrationRank 0 API .
[MGM]ArbitrationDelay
, . 0, .
[MGM]DataDir
, . , pid- ( , FILE [MGM]LogDestination).

3.4.5 MySQL Cluster

[DB] ( [NDBD], ) , . , . : ExecuteOnComputer HostName NoOfReplicas, [DB DEFAULT]. [DB DEFAULT]. HostName, Id ExecuteOnComputer [DB].

Id ( ) , . ID .

k, M G, 1024, 1024*1024 1024*1024*1024. , 100k 102400. .

[DB]Id
ID , . 1 63. ID.
[DB]ExecuteOnComputer
, computer.
[DB]HostName
. , . ExecuteOnComputer .
[DB]ServerPort
, . -TCP . , , .
[DB]NoOfReplicas
[DB DEFAULT], . , . . , . . . . , , 4 , NoOfReplicas 2. ID 2, 3, 4 5. 2 3. 4 5. , . HW-, . , . SHOW . , 4.
[DB]DataDir
, (, , pid-).
[DB]FileSystemPath
, , , REDO UNDO, . , DataDir. ndbd. , /var/lib/mysql-cluster. ndb_3_fs ( ID 3), .
[DB]BackupDataDir
, . FileSystemPath/BACKUP.

DataMemory IndexMemory, , , . , DataMemory IndexMemory , , . , , .

[DB]DataMemory
, , , . DataMemory , , , DataMemory. DataMemory , . . . VARCHAR . ( 16 ). 32KB 128 . 8052 . DataMemory , . 10 . . DataMemory 32KB. . , . , (= ), NoOfReplicas. : DataMemory UNDO . , DataMemory. . , , , . , , , . MySQL. . DataMemory: 80MB. : 1MB. , , .
[DB]IndexMemory
IndexMemory , , MySQL Cluster. , . , MySQL Cluster. , . , . 25 . , , 32 , 8 . , ,
CREATE TABLE example
(
  a INT NOT NULL, b INT NOT NULL, c INT NOT NULL,
  PRIMARY KEY(a), UNIQUE(b)
) ENGINE=NDBCLUSTER;
12 ( null 4 ) 12 . a b, 10 . 29 . b , a . 29 , 12 8 . , 58MB , . DataMemory 64MB , . : , . MySQL Cluster, . , , . IndexMemory DataMemory: , DataMemory IndexMemory . , , , 2 , DataMemory 2*DataMemory . DataMemory IndexMemory. , DataMemory IndexMemory . , . DataMemory IndexMemory , , , , , , , . , , , , , , . IndexMemory , , , . IndexMemory 18MB. 1MB.

, , . MaxNoOfConcurrentTransactions , , MaxNoOfConcurrentOperations , .

( MaxNoOfConcurrentOperations) , . , .

[DB]MaxNoOfConcurrentTransactions
. . MySQL, , , , . , , , . . . , , , , , . , , . : 4096.
[DB]MaxNoOfConcurrentOperations
, , . , , , . , , , . , . , . , , UNDO , . , , , . , 250000. , , . , , . , . , . : 32768. , . , . , . 8 , , , . , , . , , . MaxNoOfConcurrentOperations , . . MySQL 4.1.5 1KB . 5.x.
[DB]MaxNoOfLocalOperations
1.1*MaxNoOfConcurrentOperations, , . , , .

. , .

. , , . , , , . . . , , , , , . , , . : 4096.

[DB]MaxNoOfConcurrentOperations
, , . , , , . T>loe>nd, tionsEx 2 :, . , ( *, (500KBy.cnf for M ZATTRBUF_, SIZ Dbtc.hpp<>. , ySQL, , , *,, 62.5ory< 12 ZDATABUF_, SIZ Dbtc.hpp<>.. btc =ndb_ , code>[COMP, =ndb_ Dblq .< ode>DataM. Dblq.hpp<.org/ ZATTRINBUF_, SIZ ,code>. CT>< *, (1250KB DT>ZDATABUF_, _SIZ *,6 ( ,56KB , 1MBBuffer, ,MBSQL, Sca , . . . host2:1100, 1 , maxs . ode>Dad INI ,, : , >NoOfRepl , 4 ) aM. 12 yS d (:, y !): >NoOfRepl ost (defaul) . . d

, , d[Me> 5. . Sca 256 ,), 5on>] . ySQL , ctstring< >my Sca cal5, HostN[MGM].. LongMessageBuffer, QL No he second # ca my.ccon

, 1.1*MaxNoOfConcrag. LogFcode>, ).[M NoOfRepl , . , , . . , de> 5. : . . >, ).

nd, de> aM. 12 , , code , >con/code> on&#>Arbitra. R
3), y , ,DEF , . [D, /lib/ <410 < 50000. axNoOfOutlogspace temporaril D . EFA ,DEF , Dy SavedMessage , , >local0SHO , . SHO , , , ination[DB]Maxo :Memode>SHO ,

3. 4.1., e>, >local0[COMPUT, , Attribute , 32768. , . 1 uster. NoOfReplicas, computer.

[DB]Data axNoOfBLOB y

. , . y.. HostNDataMemoryDataMemory 128 d 10KB n

. ( ). code> .

USING HASH DD> host2:1100, 64 i 5K null n tiinat ,ory
tions ti . b ,

Ctiond . <>computer. d COMPUT, , t1" < > ti. , >local0DataMemory /codee.

62;] P 250000<://ww Ordered/codee. DatUniqueHash/codee. ) 24 1024*1

: 4096.

0 b_.

< .

>ArbitrationR null . b_[COMPUTER] ionsSolaristiLinuxode>[NDBD] >[D .
topOnErro. , . . , < Nam , : P> Diskode ca e>[NDBD] DE,y. .NoOf, >. , ID null . (com !), code>.con Y 1 cod ,
com NoOfRep DEaM. , ,
RestartOnErro.Inse.

.[NDBD]. < . : cod

> .ocal6IndexMemory TimeBetweenWtchDogChec, .

[M
- < , . DB]Id . ., e>. - ) ode> ca[64MB e>lo o 2 , (4 ) tartPartialTimecode>[MGM], , e>).[ . >).
STER; < .[NDBD 30 (30 ). 0 . .
[MGM] [MGM] >3.4.5 . , [MGM], st2:1100, 1 lo 102 0>NoOfRd . 5. :60 (60 ).e>[D , 3), ,cal6 00. 10-15 , . cal6 ExeeartbeatIntervalDbDb>, /var/l. , ,. >[DBin DD>oOfLo2 HO ,

>local0
.< 5 , 1 ir
# ca Oy
4
ExeeartbeatIntervalDbApi , , a, ng > .

FILE

3. code>[, >3 ,ode> , g< de>[M: , 15 > , ca ede>[M/a>).< >, a, ng imeBetween Checpoint , , M de> , DL CO, e , HOW , aM. QL C ry
.

. EFA ode L 4. [ n>DataMe .

. > st2:1100, 3276 4 5. , , ConcurrentOp .
< Op

>.

ng aM. , e 12 ination< oOfLo, , .

>[DB]MaDD>, a. a 052 . EF HOW DB. a. cod, , ./P>
, COMPUT . E DataMe imeBetweenIn 1ve 1MBAbortChec, . , ,. o. 2;] -TCP 1 , D , 1MBIn 1veimecode>[MGM], . >NoOf
local0D ,>NoOf, , a . 1MBDeadlockDete 1MBimecode>[MGM], I cod, /a>).< ,taMemoryI : , yS de > , , R; , , 2 2 DEaM 102 . , >Arbitra DE43 ng . DiskPageToDiskAfterRestartACC
) 12 e a. > a, g/ rag. LogFcode>, IndexMemory
DataMemory: 40 (3,2MB ) DiskPageToDiskAfterRestartACC
, , code DiskPageToDiskAfterRestartT 12 : , DataMemory
: . 20y(1,6MBa ) DiskPageToDiskDuringRestartT , , DiskPageToDiskAfterRestartT ( DiskPageToDiskAfterRestartACC ), , d, . ca

. ination , Lmory

. strin, : 4. DataMey(1,6 MBa ) Arbit Timecode>[MGM], , e ,g/
. a , .

<>IndexMemory< ter. , .

o ns
000<:,yS , emory QL odeOMP
con , .tOperatiQL d, HOW. CT ter. >3ons IndexMemory Undomory < e>. . code> Op DataMemo o 1MB. tions3, d, xNoy.UTER]3 pe. > . , . de> tiry 1

, DayD , ns in <677 < 50000. "mory< buffers overloaded" Undo Buffer, , a. Undomorycontri ,o, ionsDain L , ,a , 6rode> INI UTE code>

2;] odeO, , r . , , ,HostNam yS ,UTER]< , co : , 3), , >NoOfRd QL a2;] c. , DBcode> in <891 , < 50000. " buffers overloaded" RedoBuffer, tOpe: , , 50000. ,), , , / e>. . //wwg/ -, L 5. ,tt> - A >3d,ation< , in <1221 < 50000. " logbuffers overloaded" e>[D, , . . de> ,DBn[D :stNameD > 16 50 (;] 0 15 0s3<,tt .,DB , 0oOfConcu4 e>NoOfRepl. n DBpl, D, code> n, 50tions 501.. LogLevelhutdown, , contr , Data , := [&# QL 50, 0.. LogLevelChecpoint, , erati . E

# he second # ca 500.. LogLevelErro. , , # ca , < , cond >3.4.5, ma 500.. LogLevelInfo , , , . 0 PI . QL , , TER; , Backup BufferSize

<4MB . QL 4 de QLe>[DB]Ma . 50, DB cod2;] L>con2:110 . QL c d < , .con25de>DataMemory 2MBSQL, BackupLogBufferSize , a.com d, ., dd, axNoOfBackup BufferSize

ination< L2:110QL ode>DataM DataMemory 2MBSQL, Backup, DataMemory 4MBSQL, BackupWriteSize , ,tns inL 3),

3.4.6 t2:1100,> ClusterH4> API] (code> [MYD] )>, NoOfR t1"

250000

No , >a lhoe sec1n63 mory ca, computerSQL, API]Arbit Rank , >, 3API0.. API]Arbit Delay 102 - < 0 , tri e .. API]tchByteSize , ma d [d, 4 cod. code>. CT, e 5.e>[NDBD] d 3276 QL 12 2 40%,O-EF 2;] -TCP aM. e> , , , code>. 032K.. API]tchSize , I 992.. API]MaxcatchSize . ,DBeplM null . de>con2 ><. , 12 . >aond de>DataMemory , 256KB 6 H4>3.4.7 TCP/IP- d ClusterH4> TCP/IP . P>

y<, >,

<nP>

e se >, pera , ./code>, , ter.

aM. 12 ., e>, deId1>, InddeId2 . ter. , , [TCP DEFAULT] , TCP]deId1>,

e seNI cond #, , 00< rbi M 2 ,R deId1>, DataM >, a L256KB .. TCP]SendSignalId/P>

, rbi g/ . 2;] Y rbi g/ . hoy >3 D . >[ DB DB[

N/a>). st2:1100,ca, [TCP DEFAULT] #62;] .< 2500005 nDataMemory 64KB H4>3.4.8

g/ nulld ClusterH4> . ode>c Cluster := . --with-ndb-shm configure de,., e>, deId1>, , , d rbi DL CO, rbi > a,

second #

rbi ng> := [

SHM]Checsum TCP]Checsum com

g/ null H4>3.4.9 P>

SCId ClusterH4> SCI- he second # ca P> it1" ode>c --with-ndb-sci=/your/path/to/SCI configure de< , lib include SISCIdco .. d 250000< SCId a, e se # ndbd 2500 SCId , . .ndbd>No.<: ,cal6, 2 CPU,. ns, , , SCI- he secSCI-,. tt> 250000 e seNI # MB odeOMP(256kB). . , 8kB. /wwR de>con64 kBcom16kBe>l.ocal6NoOfRep I 8kB.

on Y a P> ). ng> := [

SCI]Checsum TCP]Checsum com

gy Cluster FAQ 8 Cluster FAQp>Q: 2 Cluster?

p>A: Cluster ysql- 3), erat> perati> < , , ode D , 99.999%. Cluster >local,, e . . Cluster in , ul>
  • itra C itra> ), iD.
  • itra > ode> <, ,Hoode>,con ,li>p>Q: , Cluster?

    ul>
  • <,,:, : . DataM", ". > ,3!
  • : , P> , ra> ), d>NoOfode>,coMa .. <,:,, d, 99% . <, :b . d1

    <,> co no := [ode>,co > ),li>p>Q: , Cluster?

    ul>
  • ,ul>
  • 99.999% (<5t I)li>
  • ul>
  • EF 5-1 ( W. . . :ysql-10 ,co a 4e ( NI ) L . 50
  • riul>
  • ri e, itrali>
  • ul>
  • o . ), :table>CPU:2xIntel Xeon 2.8 GHznull:16 GB RAMHDD:4x73 GB SCSI< RAID 1Gigabit Ethernet
  • . :ul>
  • (8, 16, 32) ca , CPU(4, 8, ...)
  • (16GB, 32GB, ...) li>p>Q: p>A: o ), , . MB.

    . ter. . . . . 4 ) e 1 Cluster . , , rati ul>
  • , , , ra . . . . 0< ).5, 3276, , . 3),
  • D TimesTencome>l Ma .erati . era m i . 12 DDDrbia, o:o <,,ode> 6D CRM, DD e-commerceli>p>Q: Cluster , Oracle RAC?

    p>A: Cluster Oracle RAC D , 1Oracle :1100, 1 Cluster ,.

    p>Oracle RAC < ter. . ep a> ),, P> oOracle RAC,ul>
  • . . , , Ma > . 2 OWe>. o M D, triDt ClusteritraEFca ...li>p> Cluster t1 a,D (99.999%), Cluster ode>,co> ), ode> Cluster a,, ter. >NoOf . a, .

    p>Q: Cluster > it1,2MyISAMInnoDB?p>A: Cluster ory,OOp Cluster.

    p> Cluster NoOf >3 ng , d Cluster.

    p> InnoDB/MyISAM >3.4.5 p>Q: ory,o p>A: o DB- UTER]
    ).<

    p>Q: UTERt 3.x & 4.x Cluster?

    p>A: g ,.
    , Clusterr, , MyISAM /InnoDB p> 2500 ALTER TABLE . e 12 ,3d. p>Q: , > it1 Cluster?

    p>A: Cluster dysqlho, ,MB. :

    ul>
  • Linux (Red Hat, Novell/SUSE)
  • Sun SolarisIBM AIXHP-UXMac OS Xli>p>Q: / , Cluster?

    p>A: < oOod

    :table>OS:Linux (RedHat, SUSE), Solaris, AIX, HP-UX, Mac OS Xtd>CPU:Intel/AMD x86/x86-64null:512 MBRAMHDD:3 GBl: p>Q: , Cluster?

    p>A: :

    table>OS:Linux (RedHat, SUSE), Solaris, AIX, HP-UX, Mac OS Xtd>CPU:2x Intel Xeon, Intel Itanium, AMD Opteron, Sun SPARC, IBM PowerPCnull:16 GB RAMHDD:4x36 GB SCSI (RAID 1)l:1-8e(Gigabit Ethernet) , 8eode> Wp>Q: Cluster d
    p>A: >3 o d )

    p>Q: / d, Cluster? ]< Administor?

    p>, Wp>Q: TERtc , <(Na, "hot online backup")?

    p>A: , Cluster > it1 Hot Backup

    /body /html cluster/procm.htm 60 175355 10504617102 7404 Cluster Manual 4 # ClusterH2> > , ,. 2500 Clusterr ) e # 250000 , / e. H3>4.1 2500 , D , ClusterH3> , mysqld 250000, i a NDB Clusterrmysqld < ataMemo iNDB Cluster

    .MB. con in. axNoOfSHOW ENGINES>, , Cde> i DBCluster DISABLED CO ,c

  • :1100, .tmysqld < ndb-conne string>, ,

    conne string , mysqld INI t1 1186 . 102W3 cod . od a, cond # a 250000 rati 4 000 co de> ti H3>4.2 . ndbd H3> ndbd 4 ) e >3 NDB Clusterr . , , :1100, 1 r,e>. cond Arbitra. . n /a>).< c, .t P . ndbd . 4 g . Lo, L . /P. . ndbd ode> ,O .t /tNaQ68.oy DB >, ,var (,tt 3) , , 2, T,B]Max . ndbd ,tt(,tt 3)/ , ,,tt(,tt 3)/ L . de> in .ocal6,tt , >3 ng ,Arbi ndbd #62;] ndbd ode>< ho 5M. 3 A ,tt(,tt 3) , rbi ndbd >< eL rbi . LI,tt(,tt 3) d1

    c. ndbd >3,at>>3 co ndbd U d 250000 y, , )D>, P , ma L]Max code> e 12 on Unix-. kill d ,. , /a>).<: #62;] D o D. >, ti> . DMa . D , i , NI , od n D. > D 2it . -. m D . DorER]< 250000 : P>

    ndbd oncu 4 ,e : ,MB. e: in . ndbd L . 2 CPU,DP> oncu 4 ,E SMP->3 CPU d 250000<.ocal64.3 ndb_mgmd ., DH3> , / ndexMemory<, :110 , 2 >aond , . :ysql-10 ,co a 4e ( NI ) L . 50

  • riul>
  • ri e, itrali>
  • ul>
  • o . ), :table>CPU:2xIntel Xeon 2.8 GHznull:16 GB RAMHDD:4x73 GB SCSI< RAID 1<> E1cod . Backup ckup!),o. (fai L . ter. 1, 3MD Op n>

    ,tt(3 Cndbd /a>).<: #62; . 3) e Da tr>CP:. ID D Cd0r. strong . , >3 ng > ndbd,> >CPUailed: 0004x73 GB S8) mysql C local(< DBCLUSA name="param">t: 5, 60 L ( in. a)cod

    4x73 GB S8sterH 4x7 d 12 clust Xeo102 n D d.. el Xeo p>4x73sum -?, --u, --mysp

    ,.,d2, ,a TCP/IPdeI, AIX, SCI]Host1SciId-V, --version

    ,.,d2.d>4x73 ,Arbi . .d>4x73 DSQL Lead ), . ,, .d>4x73 ,A, . n>e>, , DSQL, co stringeSize g>, 3 CPU),, LI,.erSQL, 250000 : Cng>:AIX, oda ill HP-UXId/P>DP> oncu 4 d>4x73 5.0, c. )Dter de> )BSQLl>

  • >3 Cndbd GB S8ramName: ,tt(,tt 3)I]Host1SciId--debug[=op )s] 2500 ER] TENT="AlexeId1>, < -l:l:<, co U,acle RACI]Host1SciId--skipl: :t9.99,., D ter Manual [ IDti> a Lo2 . Ti 4e#param"> 5, 60 L sum -d, --daemon

    ,.P> d1

    5de>Dng>:,A-: ProgramName e se --odaemon

    ,.P> d1

    , , g>:,A-: rb ep --initial

    ,.P> d1

    5de>D<, a12 D 00:20:01al6, , . string>, ,/p>ER], Q:< D bi .Ethe , o 250000. at, Sr. b 5l , , p>ER], .local / --ostart

    ,.P> d1

    >3 , i a, U,g/ . oncu 4 >3 OSi ,.td>51 iocan>

    :table> D> luster <. 5.3 ENT="Alexe oncu 4 , de> Ti 4eparam"> 5, 60 L sum -f filenameNDfrom GB S8),, fig-file=filename, -c filenameodLo2ld d d>4x73 5.0) 2500 nde taM 12 ndb/ Rt ti> ,, (d . u 4 ry< , g>: a>,/st a, H3>4.3 -d, --daemon

    ,.P> doncu 4 ,5de>Dng>:,A-:,.P> doncu 4 , , g>:,A-:t:2) ) r>< d uster.< m , ,PC ingeSible>4 2 de<. r><>).< d < co,,coSMP->3 H3>4.2 :t . r><NoOf 2 3) CP str AIX, HP-UX, Mac 3) e OS>Q: , . .nd ...) (>).< 21 Xli d>HDa, ALLndbd102DterL e tilednd, g .. Cluster m HELP

    ,.,d21100, 1co TCP/IP

    ,.,d21100, 1 <id2.o START

    ,., ,MB ...) , , ,bi <id2.o

    ,n < .. <id2.o STOPtml < ,MB ...) , , ,bi <id2.o

    ,n < .. <id2.o RESTART [-N] [-I]

    ,.,, , ,MB ...) , , ,ost=ndb_<id2.o

    , n < .. <id2.o STATUS

    ,. nde. r. bB ...) , , , t=ndb_<id2.o

    , >3(, ALLndbd)D, EN ng SINGLE USng MODE <id2.o

    e, ire) :API Cost=ndb_<id2.o

    D B ...) EXIT SINGLE USng MODE

    dndbre, APID>B ...) QUIT

    ,. 3) e UTDOWN

    ,. >3 ><( ,et)c > > ster <. >NoOf ): string>, sys)r>strong> 602 ,3 ter. . P> ter. . , < ,tt(<. , d a ire) FaodyesTen p> InnoDB/MyIode M.

    p> InnoDBc.d0)U.,tt() ,OSD H4 5.2.1,>NoOf o 250 , >NoOf o g/ )<:m LOG ON

    ,. 25H3> LOG OFFtml < 25H3> LOG INFO

    ,. nde,. ) category"Au).< 2Type"MyIo / threshold <. LOG FI3 ng <severity2.o

    tr>< DD:3 )ndb ) <. cod 0)U.< ).MyIo / ndbAu).< , 12 1 <.c.D d..> 1 B ...) ,e tring>, r> ,> R> R> R> R> R> R> R> R>/T,>( dSCIENT="AlexeTARTUP, <3MyIo0 4 Au).< 3MyIo ndbd dSCI <30 >DD20) (ocan>tM UNIXsys): ,> R> R> R> R> R> olaris, AIX, M , TD/TR>/T,>( sys erro.ednd rbD ,ClusD0 cod 00tr>MyIo / ndbA )/ cod 00oncu 4i> 20)

  • usD0 H4 5.2.2 1 "ni 20) , tr> R> R> R> R> R> REDO- > co R> R> 102W /tr> > TERt co. LCPIdbGCIIdbD, rbstring , /3>3 n R> R> R> R> R> R> R>3 n D.i> RAI. nTD/TR> R> R> R> R> R> R> R> R> R> R>1100, 1d>HD R>1100, 1< R> R> R> R> TD/TR> R> R>Mac anarbiium, AMis ound AMnot TDTDNODERESTART TD D6 TDTDINFO TDTD7 M R> [ =X] R> X [ticket=Y] R> X [ticket=Y] R> X [ticket=Y] R> X: )Dt [ =Y] R> X: )Dt [ =Y] R> X < 1 __ /2.o[ =Y] R> R>: 2Type" TCP/ R>: g>: R>: can> DBTD/TR> R> R> X R>er: 12 > X R> > R>, DENT=td> R> R> R> R> R>>3t>, s, AI .r ,8D I, U R>H IA R> R> R> X R> R> R> R> R> R> R> R> X R> R>/T,>( p> InnoD (BAPI),D) ola, < :>3APIndbdRAID 1, li>ER (Cys L ) d> API cEN ng SINGLE USng MODE 5DBCLUSTE d it ,MBAPI C 5 RAIDDB Clus ><.c.Mo< rbi EN ng SINGLE USng MODE 5ter Manual < ndb-conne , t ] 5, ndbdndb_, RAID 1[ , >con rbi EXIT SINGLE USng MODE

    m< , U . , / nd>< >aris , :e t , ,dSCI nd>< D0 odyesTentndb_2rati 4 . cEXIT SINGLE USng MODEDBCLUSTEd ), , ) e >OAI, a, . acoa, . a,, , < ...) O., , < ...) d, t1 ..) H4 5.4.1,nde mH3> , o .). a, .d ( I). ar>3 t li>c.dyesTene m: ,MBu 06 < co BACKUP-<BackupId2.o.<N.piId2.o.ctl,. day 31 January 2004 - <00, 1. . tt>BACKUP-<BackupId2.o-0.<N.piId2.o.D,.r> ,January 2004 - , .d . tt>BACKUP-<BackupId2.o.<N.piId2.o.,. 004 - 20L , <. <BackupId2.oGHz , . 60,ttb cond m thernet Ethernet,..> . n < ,January .d ,li>. 4 ld ,li, ndbdD d0> >.eO, d . a5de>>NoO="AlexeTART BACKUP aD o 00``Start ofbackup ordered''S,> D o 3, D0 Cerro D o 00``Backup<BackupId2.oGstarted''<BackupId2.oGHz 2 , . 6u/td>,li. u 4 , < (SCI 9.99OA, d . a5de>>NoO="AlexeABORT BACKUP<BACKUPID2.o

    . te<BackupId2.oGHz , . li, January , > Cd/td> 1 0``Backupte<BackupId2.oGstarted''. , . , , d><(,co)D o 00``Abort ofbackup <BackupId2.oGordered''tr , n 3, D Cerro D o 00``Backup<BackupId2.oGhas been aborted reason XYZ''S,> dSCI li, , :e P AIX, HP-UX, Mac< /, , .. co02 ,3< ire) Fau 4 > ,Jad>..,Jad>, , .. /tr> m . InnoDBstring>, :, BAPI0 nn 2 I< >/ nd>< ackupLog d>strong . ER]ER]ae>, MP-,GHz, , < .. 102WD tr> <. ., << e: InnoD string>, / 602 ,3 ter. D>: 0.D d..:d 6X, Mllstring>, , <2 (SCId I API),D d..> . gnal/ptd)D P , DENT= m:m thernetBackup HBufferSize Ethernet,. c( Cl)OMPACT>= [ 0000i Xeotr>ndbd> Rt co. thernetBackupLogBufferSize Ethernet,. c( Cl)OMPACT>= [ 0000> rral6ndbd> Rt co. thernetBackupMemory Ethernet,. ,< P] ...) l Cng Rt co. Id/P>ailedndbrequ i>ter. . ):d(/tr>, de> T)BS, >d<>3tne co-MB. 0A name="ic">t:26 D. 60 aris, AIX , 1996 ,> I 00, i> .. g/ ..> eId2 DD D.c.dde> r><4nne -strin= 3t1de> Macnet000g>: n> 0>3. 12 D, nne -strin 60 .c.. ng,l D ax000X, D, d a: 2sqldaris, AI nne -strin= [ al a, D ax000, a: ax000,.99:SCI Socket)d>4x73 2.3.0 1 4.c.. 4x7. n .0>>4x73 GB S6 Bu/td>1 >>4x73 oi>,NoOfBac0g>: axNoO 0, 1 , 0, 1 tring>, 102WD 60 .SCI Sockets 3dde> ire) :Linux 2.4= [ , uSCI 00, i>SCI SCI- tring>, <. MyIod , <, SCI- taM e se >3. yIo de . n 602 , . DJanuary u 4 ax000uSCIc. tring>, 00, i>NoO 0DB Clus, AI. < .str u de> rin. , >>4x73 dde> 4x73, >chttp://www.dolphinics.no/ftp/source/DIS_GPL_2_5_0_SEP_10_4.tar.gzhttp://www.dolphinics.no/ftp/source/SCI_SOCKET_2_3_0_OKT_01_4.tar.gzD,

    DIS 25

    ,NoOfB o 02DtL DOMPACT> Linux/x86= [ 5de>D.cshell2.oGtar xzf DIS_GPL_2_5_0_SEP_10_4.tar.gzshell2.oGcd DIS_GPL_2_5_0_SEP_10_4/src/shell2.oGtar xzf ../../SCI_SOCKET_2_3_0_OKT_01_4.tar.gzshell2.oGcd ../adm/bin/Linux_pkgsshell2.oG./make_PSB_66_releaseD, SCI axNoO AMD64Fa 64- make_PSB_66_release AIRtItaniumocan>Clu>, make_PSB_66_IA64_release. X86-64 < ll EM64TC /P> n a . , 00, i> 2Me DIS, OS cde> = [ 1ring>, t ocan> /P>.< /P>e tring>,, MP- /opt/DISc >a= [ Id2 SM root:cshell2.oGcp DIS_Linux_2.420-8_1814.tar.gz /opt/shell2.oGcd /optshell2.oGtar xzf DIS_Linux_2.420-8_1814.tar.gzshell2.oGmv DIS_Linux_2.420-8_1814 DISD, /P>= SCI- n ocan> :3tne SCI SCI s, AI lC D ring>, ] P-UX, 3t <2 I< . axNoO CSCI >ndbdC/ P> 2D/3Dir 21U.lm DD<1.trace>,ttBS, edbd axNoO 364Fa ,tt< de .o.:c4F8, 12, ... , 60 ndbd 1 368, 72, .... , 124 ndbd 2 132, 136, ..., 188 ndbd 3 ..452, 456, ..., 508 ndbd 8DBCLUSTE2D/3Dird2 P-UX, t d..>>: ,M , M , , 4 602 ,3 ei> ,64 d. 1024 .c.dde< ni> liC. 1< axNoO . i><5de> >3tne . r Cody H2> . SCI-. ocan>CluC 00, i>t1 rer e SCI-
    3ster / SCI-nne -strin >dde> Uss , a< 04 - 0d 100 ster /P>,l D ax000C,8kupLog0, i>X, 16i>,eER g/ , e>,,e 32>,e. 2i>, m> >trry 2 gER]e>, , co, /P> -BS, ill de DBNDB- ER 00, i> 3tring>, 60 .c. 1ring>, , . .ndSCI- DOMPACT>a

    NoO , MP->3 /opt/DIS/sbin

    . te-c 1 a> , . .< :cshell2.oG./sciconfig -c 1 -am0 -n 68DBCLUSTEcdSCI1U.<eu 4 SCI- e< . 02 , a>d , January 2sqldHz<< SCI- le >Clu d. ENT=-c , i>te >3/ , , 602 idocan>. 1ring>, >3/, ,SCI IodDD. , 16, 3tring>,SCISCI-

    , tanu . (SCItoIP) ISCI- dr>DENT=uSCI ost=ndb_/etc/sci/scisock.conf

    . a2004 - 00anu (SC IP) ISCI- .ISCI- anu ,e kupLog/ CP ocan>SCI- h 02>3tD,day 3D:c#host #n.piId alpha 8beta 12 192.168.10.20 16DBCLUSTE, l IA >DD= [ a,oire) :erro . . >D, axNoOfBi>, D t=ndb_/etc/sci/scisock_opt.conf

    :c#-key -type -values EnablePortsByDefault yes EnablePort tcp 2200DisablePort tcp 2201 EnablePortRange tcp 2202 2219DisablePortRange tcp 2220 2231D, , . 1ring>, t3M E SCI-:cshell2.oGcd DIS/sbin/shell2.oG./drv-install add PSB66shell2.oG./scisocket-install addD, SCI ER >>tring>,,DT=u1 January>,n ax000InnoDksocketconfigkupLogati< D.cshell2.oGcd /opt/DIS/utilshell2.oG./ksocketconfig -fD, upLognd>> SCI 4 luster >lo 2sqldD ax000InnoDt=ndb_latency_benchter Manua to: d[ Xe tr> axNoO InnoD , 1ring>, LD_LOAD,ng>:02 0.ring>, DAIX, :cshell2.oGcd /opt/DIS/bin/socketshell2.oG./latency_bench -serverDBCLUSTE> , /s> :cshell2.oGcd /opt/DIS/bin/socketshell2.oG./latency_bench -cli hostname_of_serverDBCLUSTE>, D SCI L ax000D Id/P>aonne -strinSCIc.

    , 60 . 9.99SCI, 1ring>, LD_LOADPTE>3 n ndbd, mysqldb CdackupLogliuSCIi>LD_LOAD t02D 04 6SCI Socketsc.).< ,g , ndbd bash.cbash-shell2.oGexpor< LD_LOAD=/opt/DIS/lib/libkscisock.sobash-shell2.oGndbdD, 6tcsh rb :ctcsh-shell2.oGsetenv LD_LOAD=/opt/DIS/lib/libkscisock.sotcsh-shell2.oGndbdD, deER]3t, X, uster >lokupLotd) c . 60 . >3tnkupLotdn>ng M , ,d X, Iong, January DD P, 02D0 ng TC: Primkey ac

    >3tD> > ery 3,>3tco> IA, require) :> > S,>T=ugtring>,TCP/IP- 1 Io 04 - 6 02Wrint6 TC:e b_mgmd , 032i>< TC: Id/P>auster >lmugtring>,TCP/IP- 1 02Wri P (SCITCP/IP ENT=MB. ,8/P>>Clu TCP/IP- 1 ring>, <) P>Uniquekey ac

    D 2 bRtDery ,D , ng>:>Usd 3ery ld . ire) Du 4 , >Usd al<> ndbdBS, ill 0> r, ter >lt1nal P>Full iable scan

    d> 6 ld , >>3m . S, D> ndbd, January >3m l< >30>3 r ndbd:4x7 60 DER]3 P>Range scan usnd ordered index

    d>>3m hos3il SM>3m >, ,>3 004 , tring>, 1, B .ndbd>4x7 u/td>1 T=, a ,,Jad>3d/P> >3os..) ,<.upLognd>6S ng de3tncoery > 2 . nD, rat gtring>, >3,s > 2, January axNoO >3m kupLog)> , .r> irg),3 > rats, 0Sde 3-4I, 2kB. SCI-gni>., eId22 kB. n .: TC: TCP/IP SCI Serial pk ac: 400 microseconds 160 microseconds Batched pk ac: 28 microseconds 22 microseconds Serial uk ac: 500 microseconds 250 microseconds Batched uk ac: 70 microseconds 36 microseconds Indexed eq-bound: 1250 microseconds 750 microseconds Index range: 24 microseconds 12 microseconds D, SCI, ng 9 SCI,. n 0n liDery i> 2 <, > I SCI SCI, TERt100%X, TCP/IP. ne -strinSCI 1 nD.Id2InnoDgni>02 SCI-nne -strinMBubFaSC mysqld/, , ill 613 > 1 r ndbd RAID22 irg.c.SCI-nne -strind/P> SCI-b_mgmd str ire) : 9,.t> r ndbdBSSCI-nne -strin, 16, 3_mgmd struire) FaSCCPU ysqld: 6> rbndbd,i> SCI-nne -strin , ndbdad>, g /.<. r- Uod 12 c (g>: ld Fa D. CPU Linux 2.6). 60, D ndbdter > 10-70% 1, , >3Macnet00InfinibandbVIA iface. Un02gn> ire) :< uSCI0A name="limit">t:27 0>>4x73 GB h n/P> IA >4x73 GB ISAMbInnoDBde> ,4x7 >http://bugs.mysql.comanual MP,c, , n/P> I.,84x7 u73 GB Sm --co2 (n /), >n>Clp> InnoD) D>tire) :"). a risg04 - reqClp> InnoD)D> T=)d ndb-co /heu 4 IA , 3 04 - req TCPnagCl ><. 1 ER strng. U .c ...) ss,8P> HMemory EP>ost=ndb_IndexMemory EP>e u 4 1, < de> t=ndb_MaxNoOfConcurrentOpera )sP>(/ , 3tresTene2rati 4d al aClu , eu 4 , ,m, ill 6 A )DDA g/ d . s.< , d>HMaxNoOfOrderedIndexe

    CI, te .. ,.d li>ER ndb-d ire)od .SM=E . dbd3esTe 31, SCItndb_2 Ae> 2 .ogn ion / . ng) IA < 1600 ( r>D, /,d /,s BLOB-ng). a d>Hld , < 128.>.X, MacC 8k(d PBLOB-, X, ). a d>Hgs, 32). D>( 3,7 oOfB =E ISAM):ncu 4 FaSC 0B . ng , zr- 2 TC:B e . a, .,dcu oi> , BI .IMPACT> X, 8P>USE INDEX EP>t=ndb_FORCE INDEX EP>ackupLogoi> , . a 2 -s (8P>USING HASH EP>)li>ER] . D>eu 4 60 (can>< P D.0d ). a60 Replica ) oncu 4 < 2 , SCIC D li>us> a ancu 4 < <(dg/ ISAMbInnoDB). D> n. ,t ,E ai>td>Id2a0, 1Clbig-endianblittle-endian li>ER]ER]3td , t/s> 8P>mysqlter Manua ys A, c0 strng 2rati 4 (aliable, Ndb create index). a12 strng t < . aeu 4 m1.trace>,tt , Ma nd>< c0g>:dcu dr>li>s, AI eu 4 eu 4 i 3 D0>3 oO > 2 d>H.> r>: 48.> d>H>: 63 ( , )Usd al<> ndbdBS, ill 0> r, ter >lt1nal P>Full iable scan

    d> 6 ld , >>3m . S,,s > 2, January axNoO >3m kupLog)> , .r> irg),3 > rats, 0Sde 3-4I, 2kB. SCI-gni>., eId22 kB. n .: TC: TCP/IP SCI Serial pk ac: 400 microseconds 160 microseconds Batched pk ac: 28 microseconds 22 microseconds Serial uk ac: 500 microseconds 250 microseconds Batched uk ac: 70 microseconds 36 microseconds Indexed eq-bound: 1250 microseconds 750 microseconds Index range: 24 microseconds 12 microseconds D, SCI, ng 9 SCI,. n 0n liDery i> 2 <, > I SCI SCI, TERt100%X, TCP/IP. ne -strinSCI 1 nD.Id2InnoDgni>02 SCI-nne -strinMBubFaSC mysqld/, , ill 613 > 1 r ndbd RAID22 irg.c.SCI-nne -strind/P> SCI-b_mgmd str ire) : 9,.t> r ndbdBSSCI-nne -strin, 16, 3_mgmd struire) FaSCCPU ysqld: 6> rbndbd,i> SCI-nne -strin , ndbdad>, g /.<. r- Uod 12 c (g>: ld Fa D. CPU Linux 2.6). 60, D ndbdter > 10-70% 1, , >3Macnet00InfinibandbVIA iface. Un02gn> ire) :< uSCI0A name="limit">t:27 0>>4x73 GB h n/P> IA >4x73 GB ISAMbInnoDBde> ,4x7 >http://bugs.mysql.comanual MP,c, , n/P> I.,84x7 u73 GB Sm --co2 (n /), >n>Clp> InnoD) D>tire) :"). a risg04 - reqClp> InnoD)D> T=)d ndb-co /heu 4 IA , 3 04 - req TCPnagCl ><. 1 ER strng. U .c ...) ss,8P> HMemory EP>ost=ndb_IndexMemory EP>e u 4 1, < de> t=ndb_MaxNoOfConcurrentOpera )sP>(/ , 3tresTene2rati 4d al aClu , eu 4 , ,m, ill 6 A )DDA g/ d . s.< , d>HMaxNoOfOrderedIndexe

    CI, te .. ,.d li>ER ndb-d ire)od .SM=E . dbd3esTe 31, SCItndb_2 Ae> 2 .ogn ion / . ng) IA < 1600 ( r>D, /,d /,s BLOB-ng). a d>Hld , < 128.>.X, MacC 8k(d PBLOB-, X, ). a d>Hgs, 32). D>( 3,7 oOfB =E ISAM):ncu 4 FaSC 0B . ng , zr- 2 TC:B e . a, .,dcu oi> , BI .IMPACT> X, 8P>USE INDEX EP>t=ndb_FORCE INDEX EP>ackupLogoi> , . a 2 -s (8P>USING HASH EP>)li>ER] . D>eu 4 60 (can>< P D.0d ). a60 Replica ) oncu 4 < 2 , SCIC D li>us> a ancu 4 < <(dg/ ISAMbInnoDB). D> n. ,t ,E ai>td>Id2a0, 1Clbig-endianblittle-endian li>ER]ER]3td , t/s> 8P>mysqlter Manua ys A, c0 strng 2rati 4 (aliable, Ndb create index). a12 strng t < . aeu 4 m1.trace>,tt , Ma nd>< c0g>:dcu dr>li>s, AI eu 4 eu 4 i 3 D0>3 oO > 2 d>H.> r>: 48.> d>H>: 63 ( , )Usd al<> ndbdBS, ill 0> r, ter >lt1nal P>Full iable scan

    d> 6 ld , >>3m . S,,s > 2, January axNoO >3m kupLog)> , .r> irg),3 > rats, 0Sde 3-4I, 2kB. SCI-gni>., eId22 kB. n .: TC: TCP/IP SCI Serial pk ac: 400 microseconds 160 microseconds Batched pk ac: 28 microseconds 22 microseconds Serial uk ac: 500 microseconds 250 microseconds Batched uk ac: 70 microseconds 36 microseconds Indexed eq-bound: 1250 microseconds 750 microseconds Index range: 24 microseconds 12 microseconds D, SCI, ng 9 SCI,. n 0n liDery i> 2 <, > I SCI SCI, TERt100%X, TCP/IP. ne -strinSCI 1 nD.Id2InnoDgni>02 SCI-nne -strinMBubFaSC mysqld/, , ill 613 > 1 r ndbd RAID22 irg.c.SCI-nne -strind/P> SCI-b_mgmd str ire) : 9,.t> r ndbdBSSCI-nne -strin, 16, 3_mgmd struire) FaSCCPU ysqld: 6> rbndbd,i> SCI-nne -strin , ndbdad>, g /.<. r- Uod 12 c (g>: ld Fa D. CPU Linux 2.6). 60, D ndbdter > 10-70% 1, , >3Macnet00InfinibandbVIA iface. Un02gn> ire) :< uSCI0A name="limit">t:27 0>>4x73 GB h n/P> IA >4x73 GB ISAMbInnoDBde> ,4x7 >http://bugs.mysql.comanual MP,c, , n/P> I.,84x7 u73 GB Sm --co2 (n /), >n>Clp> InnoD) D>tire) :"). a risg04 - reqClp> InnoD)D> T=)d ndb-co /heu 4 IA , 3 04 - req TCPnagCl ><. 1 ER strng. U .c ...) ss,8P> HMemory EP>ost=ndb_IndexMemory EP>e u 4 1, < de> t=ndb_MaxNoOfConcurrentOpera )sP>(/ , 3tresTene2rati 4d al aClu , eu 4 , ,m, ill 6 A )DDA g/ d . s.< , d>HMaxNoOfOrderedIndexe

    CI, te .. ,.d li>ER ndb-d ire)od .SM=E . dbd3esTe 31, SCItndb_2 Ae> 2 .ogn ion / . ng) IA < 1600 ( r>D, /,d /,s BLOB-ng). a d>Hld , < 128.>.X, MacC 8k(d PBLOB-, X, ). a d>Hgs, 32). D>( 3,7 oOfB =E ISAM):ncu 4 FaSC 0B . ng , zr- 2 TC:B e . a, .,dcu oi> , BI .IMPACT> X, 8P>USE INDEX EP>t=ndb_FORCE INDEX EP>ackupLogoi> , . a 2 -s (8P>USING HASH EP>)li>ER] . D>