[MCOL-791] Columnstore can not resolve update and delete in binlog Created: 2017-06-28 Updated: 2021-02-19 Resolved: 2021-02-19 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | N/A |
| Type: | New Feature | Priority: | Major |
| Reporter: | hiller1 | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Columnstore1.0.9 |
||
| Description |
|
1, columnstore does not support replication with MySQL Master 2, I use the mysqlbinlog --read-from-remote-server -hMasterIp -uadmin -p123456 -P3314 mysql-bin.004750 | mcsmysql , can not resolve update and delete in binlog How to do real-time data synchronization? |
| Comments |
| Comment by David Hill (Inactive) [ 2017-06-28 ] | |||||||||
|
Can you provide some information on your system. 1. What is the server/module configuration? Number UMs and PMs or number of PMs if its a combined install?
System columnstore-1 System and Module statuses Component Status Last Status Change Module um1 ACTIVE Fri Jun 23 21:52:58 2017 Active Parent OAM Performance Module is 'pm1' | |||||||||
| Comment by hiller1 [ 2017-06-28 ] | |||||||||
|
mcsadmin> getSystemStatus System columnstore-1 System and Module statuses Component Status Last Status Change Module um1 ACTIVE Wed Jun 28 16:49:58 2017 Active Parent OAM Performance Module is 'pm1' mcsadmin> getsystemi System columnstore-1 System and Module statuses Component Status Last Status Change Module um1 ACTIVE Wed Jun 28 16:49:58 2017 Active Parent OAM Performance Module is 'pm1' MariaDB ColumnStore Process statuses Process Module Status Last Status Change Process ID ProcessMonitor um2 ACTIVE Wed Jun 28 16:49:15 2017 34184 ProcessMonitor pm1 ACTIVE Wed Jun 28 16:49:06 2017 15508 ProcessMonitor pm2 ACTIVE Wed Jun 28 16:49:23 2017 9810 Active Alarm Counts: Critical = 0, Major = 0, Minor = 0, Warning = 0, Info = 0 | |||||||||
| Comment by David Hill (Inactive) [ 2017-06-28 ] | |||||||||
|
Thanks for the info, the configuration and setup looks correct. | |||||||||
| Comment by hiller1 [ 2017-06-28 ] | |||||||||
|
[root@um1 bin]# ./mysqlbinlog -vv --read-from-remote-server -h192.168.143.203 -uadmin -p123456 mysql-bin.000001 | grep -A 10 'UPDATE'
Columnstore can not resolve update and delete in binlog | |||||||||
| Comment by David Thompson (Inactive) [ 2017-06-28 ] | |||||||||
|
Yes, this is a limitation of columnstore 1.0, that if you set a columnstore table as a replication slave target then the changes are ignored. Your options are to:
This is semi by design at least for now as individual DML is not optimal and so we fear that we create a lot more support issues by trying to support this. We have plans to start offering a replication solution in our 1.1 release utilizing a new bulk api but it likely will still have some limitations at least initially especially around updates and deletes. |