Skip to content

Commit f2c6ff8

Browse files
author
jonas oreland
committed
ndb - merge 71 to 72
2 parents 01c56a4 + 9909a7f commit f2c6ff8

File tree

2 files changed

+204
-0
lines changed

2 files changed

+204
-0
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[atrt]
2+
basedir = CHOOSE_dir
3+
baseport = 14000
4+
clusters = .4node
5+
fix-nodeid=1
6+
mt = 2
7+
8+
[ndb_mgmd]
9+
10+
[mysqld]
11+
skip-innodb
12+
loose-skip-bdb
13+
skip-grant-tables
14+
socket=mysql.sock
15+
16+
ndbcluster=1
17+
ndb-force-send=1
18+
ndb-use-exact-count=0
19+
ndb-extra-logging=1
20+
ndb-autoincrement-prefetch-sz=256
21+
engine-condition-pushdown=1
22+
ndb-cluster-connection-pool=4
23+
24+
key_buffer = 256M
25+
max_allowed_packet = 16M
26+
sort_buffer_size = 512K
27+
read_buffer_size = 256K
28+
read_rnd_buffer_size = 512K
29+
myisam_sort_buffer_size = 8M
30+
max-connections=200
31+
thread-cache-size=128
32+
33+
query_cache_type = 0
34+
query_cache_size = 0
35+
table_open_cache=1024
36+
table_definition_cache=256
37+
38+
[client]
39+
protocol=tcp
40+
41+
[cluster_config.4node]
42+
ndb_mgmd = CHOOSE_host1
43+
ndbd = CHOOSE_host5,CHOOSE_host6,CHOOSE_host7,CHOOSE_host8
44+
ndbapi= CHOOSE_host2,CHOOSE_host3,CHOOSE_host4
45+
mysqld = CHOOSE_host1
46+
47+
NoOfReplicas = 2
48+
IndexMemory = 250M
49+
DataMemory = 1500M
50+
BackupMemory = 64M
51+
MaxNoOfConcurrentScans = 100
52+
MaxNoOfSavedMessages= 5
53+
NoOfFragmentLogFiles = 8
54+
FragmentLogFileSize = 64M
55+
ODirect=1
56+
MaxNoOfExecutionThreads=8
57+
58+
SharedGlobalMemory=256M
59+
DiskPageBufferMemory=256M
60+
FileSystemPath=/data0/autotest
61+
FileSystemPathDataFiles=/data1/autotest
62+
FileSystemPathUndoFiles=/data2/autotest
63+
InitialLogfileGroup=undo_buffer_size=64M;undofile01.dat:256M;undofile02.dat:256M
64+
InitialTablespace=datafile01.dat:256M;datafile02.dat:256M
Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
# Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
2+
#
3+
# This program is free software; you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation; version 2 of the License.
6+
#
7+
# This program is distributed in the hope that it will be useful,
8+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
# GNU General Public License for more details.
11+
#
12+
# You should have received a copy of the GNU General Public License
13+
# along with this program; if not, write to the Free Software
14+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
15+
max-time: 300
16+
cmd: DbCreate
17+
args:
18+
19+
max-time: 180
20+
cmd: DbAsyncGenerator
21+
args: -time 60 -p 1
22+
type: bench
23+
24+
max-time: 180
25+
cmd: DbAsyncGenerator
26+
args: -time 60 -p 25
27+
type: bench
28+
29+
max-time: 180
30+
cmd: DbAsyncGenerator
31+
args: -time 60 -p 100
32+
type: bench
33+
34+
max-time: 180
35+
cmd: DbAsyncGenerator
36+
args: -time 60 -p 200
37+
type: bench
38+
39+
max-time: 180
40+
cmd: DbAsyncGenerator
41+
args: -time 60 -p 1 -proc 25
42+
type: bench
43+
44+
# baseline
45+
max-time: 600
46+
cmd: flexAsynch
47+
args: -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord
48+
type: bench
49+
50+
# minimal record
51+
max-time: 600
52+
cmd: flexAsynch
53+
args: -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord -a 2
54+
type: bench
55+
56+
# 4k record
57+
max-time: 600
58+
cmd: flexAsynch
59+
args: -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord -a 25 -s 40
60+
type: bench
61+
62+
# baseline DD
63+
max-time: 600
64+
cmd: flexAsynch
65+
args: -dd -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord
66+
type: bench
67+
68+
# minimal record DD
69+
max-time: 600
70+
cmd: flexAsynch
71+
args: -dd -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord -a 2
72+
type: bench
73+
74+
# 4k record DD
75+
max-time: 600
76+
cmd: flexAsynch
77+
args: -dd -temp -con 2 -t 8 -r 2 -p 64 -ndbrecord -a 25 -s 40
78+
type: bench
79+
80+
# sql
81+
max-time: 600
82+
client: ndb-sql-perf-create-table.sh
83+
args: t1
84+
85+
max-time: 600
86+
client: ndb-sql-perf-select.sh
87+
args: t1 1 64
88+
mysqld: --ndb-cluster-connection-pool=1
89+
type: bench
90+
91+
max-time: 600
92+
client: ndb-sql-perf-select.sh
93+
args: t1 1 64
94+
mysqld: --ndb-cluster-connection-pool=4
95+
type: bench
96+
97+
max-time: 600
98+
client: ndb-sql-perf-update.sh
99+
args: t1 1 64
100+
mysqld: --ndb-cluster-connection-pool=1
101+
type: bench
102+
103+
max-time: 600
104+
client: ndb-sql-perf-update.sh
105+
args: t1 1 64
106+
mysqld: --ndb-cluster-connection-pool=4
107+
type: bench
108+
109+
max-time: 600
110+
client: ndb-sql-perf-drop-table.sh
111+
args: t1
112+
mysqld:
113+
114+
# sql join
115+
max-time: 600
116+
client: ndb-sql-perf-load-tpcw.sh
117+
args:
118+
119+
max-time: 600
120+
client: ndb-sql-perf-tpcw-getBestSeller.sh
121+
args:
122+
type: bench
123+
124+
max-time: 600
125+
client: ndb-sql-perf-drop-tpcw.sh
126+
args:
127+
128+
max-time: 600
129+
client: ndb-sql-perf-load-music-store.sh
130+
args:
131+
132+
max-time: 600
133+
client: ndb-sql-perf-select-music-store.sh
134+
args:
135+
type: bench
136+
137+
max-time: 600
138+
client: ndb-sql-perf-drop-music-store.sh
139+
args:
140+

0 commit comments

Comments
 (0)