db.Bifrost

[root@MysqL-host1 /data/bifrost/data]# cat db.Bifrost | python3 -mjson.tool
{
    "Version": "v1.8.0-beta.01",
    "ToServer": {
        "dba_test-tb1_all": {
            "PluginName": "clickhouse",
            "PluginVersion": "v1.7.3",
            "ConnUri": "tcp://192.168.56.11:9000?username=default&password=123&compress=true",
            "Notes": "dba_test-tb1_all",
            "LastID": 3,
            "CurrentConn": 3,
            "MaxConn": 20,
            "MinConn": 1,
            "AvailableConn": 3,
            "UpdateTime": 1661154931
        }
    },
    "DbInfo": {
        "dba_test": {
            "Name": "dba_test",
            "ConnectUri": "bifrost:123@tcp(10.0.0.11:3306)/dba_test",
            "ConnStatus": "running",
            "ConnErr": "",
            "ChannelMap": {
                "1": {
                    "Name": "default",
                    "MaxThreadNum": 1,
                    "CurrentThreadNum": 0,
                    "Status": "running"
                },
                "2": {
                    "Name": "channel10",
                    "MaxThreadNum": 10,
                    "CurrentThreadNum": 0,
                    "Status": "running"
                }
            },
            "LastChannelID": 2,
            "TableMap": {
                "dba_test_-tb1": {
                    "Name": "tb1",
                    "ChannelKey": 2,
                    "LastToServerID": 1,
                    "ToServerList": [
                        {
                            "ToServerID": 1,
                            "PluginName": "clickhouse",
                            "MustBeSuccess": true,
                            "FilterQuery": false,
                            "FilterUpdate": true,
                            "FieldList": [],
                            "ToServerKey": "dba_test-tb1_all",
                            "LastSuccessbinlog": {
                                "binlogFileNum": 265,
                                "binlogPosition": 802,
                                "GTID": "ea42d50c-88c0-11ec-9a53-000c2911ac8b:1-3627862",
                                "Timestamp": 1661226651,
                                "EventID": 1119
                            },
                            "LastQueuebinlog": {
                                "binlogFileNum": 265,
                                "binlogPosition": 771,
                                "GTID": "",
                                "Timestamp": 1661226651,
                                "EventID": 1118
                            },
                            "binlogFileNum": 265,
                            "binlogPosition": 802,
                            "PluginParam": {
                                "autocreateTable": false,
                                "BatchSize": 1,
                                "BifrostFilterQuery": false,
                                "BifrostMustBeSuccess": true,
                                "CkSchema": "dba_test",
                                "CkTable": "tb1_all",
                                "Field": [
                                    {
                                        "CK": "id",
                                        "MysqL": "id"
                                    },
                                    {
                                        "CK": "c1",
                                        "MysqL": "c1"
                                    },
                                    {
                                        "CK": "c2",
                                        "MysqL": "c2"
                                    },
                                    {
                                        "CK": "c3",
                                        "MysqL": "c3"
                                    },
                                    {
                                        "CK": "c4",
                                        "MysqL": "c4"
                                    },
                                    {
                                        "CK": "c5",
                                        "MysqL": "c5"
                                    },
                                    {
                                        "CK": "create_time",
                                        "MysqL": "create_time"
                                    },
                                    {
                                        "CK": "update_time",
                                        "MysqL": "update_time"
                                    },
                                    {
                                        "CK": "binlog_event_type",
                                        "MysqL": "{$EventType}"
                                    },
                                    {
                                        "CK": "ts",
                                        "MysqL": "{$binlogTimestamp}"
                                    },
                                    {
                                        "CK": "dts",
                                        "MysqL": ""
                                    }
                                ],
                                "LowerCaseTableNames": 0,
                                "NullNottransferDefault": true,
                                "PriKey": [
                                    {
                                        "CK": "id",
                                        "MysqL": "id"
                                    }
                                ],
                                "SyncType": "insertAll"
                            },
                            "Status": "",
                            "Error": "",
                            "ErrorWaitDeal": 0,
                            "ErrorWaitData": null,
                            "LastbinlogFileNum": 265,
                            "LastbinlogPosition": 771,
                            "QueueMsgCount": 0,
                            "FileQueueStatus": false,
                            "Notes": "",
                            "ThreadCount": 0,
                            "FileQueueUsableCount": 0,
                            "FileQueueUsableCountStartTime": 0
                        }
                    ],
                    "IgnoreTable": ""
                }
            },
            "IsGtid": true,
            "LastEventID": 1119,
            "Gtid": "ea42d50c-88c0-11ec-9a53-000c2911ac8b:1-3627862",
            "binlogDumpFileName": "MysqL-bin.000265",
            "binlogDumpPosition": 802,
            "binlogDumpTimestamp": 1661226651,
            "MaxbinlogDumpFileName": "",
            "MaxinlogDumpPosition": 0,
            "ReplicateDoDb": {
                "dba_test": 1
            },
            "ServerId": 113313,
            "AddTime": 1661154319
        }
    },
    "User": null,
    "Warning": null
}
[root@MysqL-host1 /data/bifrost/data]#

 

相关文章

MySQL 死锁 是指两个或多个事务互相等待对方持有的锁,从而导...
在MySQL中,InnoDB引擎通过Next-Key Locking技术来解决幻读问...
在数据库事务管理中,Undo Log 和 Redo Log 是两种关键日志,...
case when概述 sql语句中的case语句与高级语言中的switch语句...
其实很简单,只是为了忘记,做个记录,用的时候方便。 不管是...
1.进入服务,找到mysql服务,在属性里找到mysql的安装路径 2...