forked from yymysql/mysql-clickhouse-replication
-
Notifications
You must be signed in to change notification settings - Fork 0
/
metainfo.ini
68 lines (58 loc) · 1.25 KB
/
metainfo.ini
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
# source mysql
[master_server]
host='rm-bp1341x4nky2ju9au.mysql.rds.aliyuncs.com'
port=3306
user='testadmin'
passwd='downtown_2015'
server_id=101
# redis config for store pos
[redis_server]
host='127.0.0.1'
port=6379
passwd=''
log_pos_prefix='log_pos_'
# save log_position to file
[log_position]
file='./repl_pos.log'
filename='mysql-bin.002673'
position='23674'
# ck server info, to save data
[clickhouse_server]
host=127.0.0.1
port=9010
passwd='downtown123'
user='default'
# field capitalization or not. 1 for Capitalization,0 for lower case
column_lower_upper=0
# database to sync
[only_schemas]
schemas='dbproxy'
# table for sync
[only_tables]
tables='op_shop'
# which table to jump DML,(update,delete)
[skip_dmls_sing]
skip_delete_tb_name = ''
skip_update_tb_name = ''
# jump all DML for tables (update,delete)
[skip_dmls_all]
#skip_type = 'delete'
#skip_type = 'delete,update'
skip_type = ''
[bulk_insert_nums]
# how many records to submit
insert_nums=20000
# interval for sync (sec), negative to disabled
interval=60
# mail config
[failure_alarm]
mail_host= 'smtp.xx.com'
mail_port= 25
mail_user= 'xx'
mail_pass= 'xxx'
mail_send_from = 'xxx'
# mail receivor
alarm_mail = 'yymysql@gmail.com'
# log path
[repl_log]
log_dir="/tmp/relication_mysql_clickhouse.log"