File: ndb_multi_tc_takeover.cnf

package info (click to toggle)
mysql-8.0 8.0.43-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,273,924 kB
  • sloc: cpp: 4,684,605; ansic: 412,450; pascal: 108,398; java: 83,641; perl: 30,221; cs: 27,067; sql: 26,594; sh: 24,181; python: 21,816; yacc: 17,169; php: 11,522; xml: 7,388; javascript: 7,076; makefile: 2,194; lex: 1,075; awk: 670; asm: 520; objc: 183; ruby: 97; lisp: 86
file content (44 lines) | stat: -rw-r--r-- 1,262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
!include include/default_mysqld.cnf
#include include/default_ndbd.cnf

#To test multi-tc take over in various manners we create one node with a TC that
#has only 1 TC but have more transactions that can be handled in one go by the
#takeover TC. The other node have both multiple TCs and also more operations than
#can be handled in one go. So it has to both handle each TC takeover instance in
#multiple steps and it has to handle multiple instances.

[cluster_config.1]
MaxNoOfConcurrentTransactions= 100
MaxNoOfConcurrentOperations=   200
MaxNoOfLocalOperations=        10000
NoOfReplicas=                 2
ThreadConfig=main={count=1},tc={count=1},ldm={count=4},io={count=1},rep={count=1},recv={count=2},send={count=2}
Checksum=1

ndbd=,,,
ndb_mgmd=
mysqld=
ndbapi=

[cluster_config.mysqld.1.1]
NodeId=49
Dedicated=1

[mysqld]
ndbcluster

[mysqld.1.1]
ndb-nodeid=49

[cluster_config.ndbd.2.1]
MaxNoOfConcurrentOperations=1000
MaxNoOfConcurrentTransactions=500

[cluster_config.ndbd.4.1]
MaxNoOfConcurrentOperations=1000
ThreadConfig=main={count=1},tc={count=4},ldm={count=4},io={count=1},rep={count=1},recv={count=2},send={count=2}

[ENV]
NDB_CONNECTSTRING=@mysql_cluster.1.ndb_connectstring
# Use the multithreaded scheduler whenever available
MTR_NDBMTD= 1