forked from digoal/pgsql_admin_script
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install_pgxl.txt
525 lines (458 loc) · 55.9 KB
/
install_pgxl.txt
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
vi env_xl.sh
export PS1="$USER@`/bin/hostname -s`-> "
export PGPORT=1991
export PGDATA=/disk1/digoal/pgxl/co1
export LANG=en_US.utf8
export PGHOME=/home/digoal/pgxl
export LD_LIBRARY_PATH=$PGHOME/lib:/lib64:/usr/lib64:/usr/local/lib64:/lib:/usr/lib:/usr/local/lib:$LD_LIBRARY_PATH
export DATE=`date +"%Y%m%d%H%M"`
export PATH=$PGHOME/bin:$PATH:.
export MANPATH=$PGHOME/share/man:$MANPATH
export PGHOST=127.0.0.1
export PGUSER=postgres
export PGDATABASE=postgres
alias rm='rm -i'
alias ll='ls -lh'
unalias vi
. ./env_xl.sh
./configure --prefix=/home/digoal/pgxl
gmake world -j 32
gmake install-world -j 32
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data1
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data2
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data3
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data4
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data5
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data6
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data7
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data8
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data9
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data10
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data11
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data12
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data13
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data14
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data15
pg_ctl stop -m fast -D /disk1/digoal/pgxl/data16
pg_ctl stop -m fast -D /disk1/digoal/pgxl/co1
sleep 5
gtm_ctl stop -Z gtm_proxy -D /disk1/digoal/pgxl/gtm_proxy
sleep 5
gtm_ctl stop -Z gtm -D /disk1/digoal/pgxl/gtm
rm -rf /disk1/digoal/pgxl
mkdir -p /disk1/digoal/pgxl
initgtm -D /disk1/digoal/pgxl/gtm -Z gtm
initgtm -D /disk1/digoal/pgxl/gtm_proxy -Z gtm_proxy
vi /disk1/digoal/pgxl/gtm/gtm.conf
nodename = 'one'
listen_addresses = '0.0.0.0'
port = 6668
startup = ACT
keepalives_idle = 60
keepalives_interval = 10
keepalives_count = 10
log_file = 'gtm.log'
log_min_messages = ERROR
vi /disk1/digoal/pgxl/gtm_proxy/gtm_proxy.conf
nodename = 'one'
listen_addresses = '0.0.0.0'
port = 6666
gtm_host = 'xxx.xxx.xxx.xxx'
gtm_port = 6668
gtm_connect_retry_interval = 1
keepalives_idle = 60
keepalives_interval = 10
keepalives_count = 10
log_file = 'gtm_proxy.log'
log_min_messages = ERROR
vi initxl.sh
initdb -D /disk1/digoal/pgxl/co1 -E UTF8 --locale=C -U postgres --nodename co1
initdb -D /disk1/digoal/pgxl/data1 -E UTF8 --locale=C -U postgres --nodename data1
initdb -D /disk1/digoal/pgxl/data2 -E UTF8 --locale=C -U postgres --nodename data2
initdb -D /disk1/digoal/pgxl/data3 -E UTF8 --locale=C -U postgres --nodename data3
initdb -D /disk1/digoal/pgxl/data4 -E UTF8 --locale=C -U postgres --nodename data4
initdb -D /disk1/digoal/pgxl/data5 -E UTF8 --locale=C -U postgres --nodename data5
initdb -D /disk1/digoal/pgxl/data6 -E UTF8 --locale=C -U postgres --nodename data6
initdb -D /disk1/digoal/pgxl/data7 -E UTF8 --locale=C -U postgres --nodename data7
initdb -D /disk1/digoal/pgxl/data8 -E UTF8 --locale=C -U postgres --nodename data8
initdb -D /disk1/digoal/pgxl/data9 -E UTF8 --locale=C -U postgres --nodename data9
initdb -D /disk1/digoal/pgxl/data10 -E UTF8 --locale=C -U postgres --nodename data10
initdb -D /disk1/digoal/pgxl/data11 -E UTF8 --locale=C -U postgres --nodename data11
initdb -D /disk1/digoal/pgxl/data12 -E UTF8 --locale=C -U postgres --nodename data12
initdb -D /disk1/digoal/pgxl/data13 -E UTF8 --locale=C -U postgres --nodename data13
initdb -D /disk1/digoal/pgxl/data14 -E UTF8 --locale=C -U postgres --nodename data14
initdb -D /disk1/digoal/pgxl/data15 -E UTF8 --locale=C -U postgres --nodename data15
initdb -D /disk1/digoal/pgxl/data16 -E UTF8 --locale=C -U postgres --nodename data16
. ./initxl.sh
配置规则
max_connections=100 -c max_prepared_transactions=100 必须大于datanode+coordinator数量.
max_prepared_transactions 必须大于或等于 max_connections
max_pool_size 是 max_connections的10倍
max_datanodes 必须大于datanode+coordinator数量
max_coordinators >= 实际的coordinator数量
vi xlstart.sh
gtm_ctl start -Z gtm -D /disk1/digoal/pgxl/gtm
sleep 5
gtm_ctl start -Z gtm_proxy -D /disk1/digoal/pgxl/gtm_proxy
sleep 5
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18132 -c pooler_port=19101 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=100 -c max_prepared_transactions=100 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data1 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18133 -c pooler_port=19102 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data2 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18134 -c pooler_port=19103 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data3 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18135 -c pooler_port=19104 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data4 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18136 -c pooler_port=19105 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data5 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18137 -c pooler_port=19106 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data6 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18138 -c pooler_port=19107 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data7 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18139 -c pooler_port=19108 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data8 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18140 -c pooler_port=19109 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data9 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18141 -c pooler_port=19110 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data10 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18142 -c pooler_port=19111 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data11 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18143 -c pooler_port=19112 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data12 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18144 -c pooler_port=19113 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data13 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18145 -c pooler_port=19114 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data14 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18146 -c pooler_port=19115 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data15 >/dev/null 2>&1 &
nohup postgres --datanode -c max_pool_size=1024 -c max_datanodes=256 -c port=18147 -c pooler_port=19116 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/data16 >/dev/null 2>&1 &
nohup postgres --coordinator -c max_pool_size=1024 -c max_datanodes=256 -c port=1991 -c pooler_port=19100 -c gtm_host='127.0.0.1' -c gtm_port=6666 -c listen_addresses='0.0.0.0' -c max_connections=2048 -c unix_socket_directories='.' -c tcp_keepalives_idle=60 -c tcp_keepalives_interval=10 -c tcp_keepalives_count=10 -c shared_buffers=2GB -c maintenance_work_mem=4GB -c synchronous_commit=off -c full_page_writes=off -c wal_buffers=16MB -c wal_writer_delay=10ms -c max_wal_size=4GB -c checkpoint_timeout=30min -c log_destination=csvlog -c logging_collector=on -c log_truncate_on_rotation=on -c log_error_verbosity=verbose -c autovacuum_naptime=1s -c autovacuum_max_workers=4 -D /disk1/digoal/pgxl/co1 >/dev/null 2>&1 &
. ./xlstart.sh
vi xl.sh
psql -c "CREATE NODE co1 WITH (TYPE = 'coordinator', HOST='127.0.0.1', PORT = 1991)" postgres
psql -c "CREATE NODE data1 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18132)" postgres
psql -c "CREATE NODE data2 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18133)" postgres
psql -c "CREATE NODE data3 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18134)" postgres
psql -c "CREATE NODE data4 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18135)" postgres
psql -c "CREATE NODE data5 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18136)" postgres
psql -c "CREATE NODE data6 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18137)" postgres
psql -c "CREATE NODE data7 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18138)" postgres
psql -c "CREATE NODE data8 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18139)" postgres
psql -c "CREATE NODE data9 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18140)" postgres
psql -c "CREATE NODE data10 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18141)" postgres
psql -c "CREATE NODE data11 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18142)" postgres
psql -c "CREATE NODE data12 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18143)" postgres
psql -c "CREATE NODE data13 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18144)" postgres
psql -c "CREATE NODE data14 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18145)" postgres
psql -c "CREATE NODE data15 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18146)" postgres
psql -c "CREATE NODE data16 WITH (TYPE = 'datanode', HOST='127.0.0.1', PORT = 18147)" postgres
psql -c "SELECT pgxc_pool_reload()" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE co1 WITH (TYPE = ''coordinator'', HOST=''127.0.0.1'', PORT = 1991)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'CREATE NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "EXECUTE DIRECT ON (data1) 'ALTER NODE data1 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18132)'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'ALTER NODE data2 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18133)'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'ALTER NODE data3 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18134)'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'ALTER NODE data4 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18135)'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'ALTER NODE data5 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18136)'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'ALTER NODE data6 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18137)'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'ALTER NODE data7 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18138)'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'ALTER NODE data8 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18139)'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'ALTER NODE data9 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18140)'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'ALTER NODE data10 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18141)'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'ALTER NODE data11 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18142)'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'ALTER NODE data12 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18143)'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'ALTER NODE data13 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18144)'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'ALTER NODE data14 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18145)'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'ALTER NODE data15 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18146)'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'ALTER NODE data16 WITH (TYPE = ''datanode'', HOST=''127.0.0.1'', PORT = 18147)'" postgres
psql -c "SELECT pgxc_pool_reload()" postgres
psql -c "EXECUTE DIRECT ON (data1) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data2) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data3) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data4) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data5) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data6) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data7) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data8) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data9) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data10) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data11) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data12) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data13) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data14) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data15) 'SELECT pgxc_pool_reload()'" postgres
psql -c "EXECUTE DIRECT ON (data16) 'SELECT pgxc_pool_reload()'" postgres
. ./xl.sh
配置pg_hba.conf,节点间互信。
安全考虑,建议使用证书认证。
test
psql
digoal=> create database digoal;
digoal=> create role digoal;
digoal=> grant all on database digoal to digoal;
digoal=> \c digoal postgres
digoal=> create extension pg_trgm
digoal=> \c digoal digoal
digoal=> create table t_regext (info text) DISTRIBUTED RANDOMLY;
psql -c "copy (select md5(random()::text) from generate_series(1,250000000)) to stdout"|psql -c "copy t_regexp from stdin" &
psql -c "copy (select md5(random()::text) from generate_series(1,250000000)) to stdout"|psql -c "copy t_regexp from stdin" &
psql -c "copy (select md5(random()::text) from generate_series(1,250000000)) to stdout"|psql -c "copy t_regexp from stdin" &
psql -c "copy (select md5(random()::text) from generate_series(1,250000000)) to stdout"|psql -c "copy t_regexp from stdin" &
psql -c "set maintenance_work_mem='2GB'; create index idx_t_regexp_1 on t_regexp(info);" &
psql -c "set maintenance_work_mem='2GB'; create index idx_t_regexp_2 on t_regexp(reverse(info));" &
psql -c "set maintenance_work_mem='2GB'; create index idx_t_regexp_gin on t_regexp using gin(info gin_trgm_ops);" &