1. 创建一个channel insert into sym_channel(channel_id, processing_order, max_batch_size, enabled, description)values(test, 1, 100000, 1, channel test for table test) 一个channel是一个或多个希望在一个事务中同步的表的集合 2. 为要同步的表创建
insert into sym_channel
(channel_id, processing_order, max_batch_size, enabled, description)
values('test', 1, 100000, 1, 'channel test for table test')一个channel是一个或多个希望在一个事务中同步的表的集合
一款非常包包、衣服、鞋子类网站,页面干净清洁、一目了然,mttshop打造精致、简单、易用、免费的商城。 系统要求:IIS5.1以后,必须安装.net 3.5 安装步骤: 1、下载完成后,直接解压文件mttshop.rar 2、附加数据库:解压后的可以找一个叫db的文件夹,解压后直接附加就可以,支持SQL 2000、2005、2008 3、配置web.config文件,找到key=&qu
0
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('test','test','test',current_timestamp,current_timestamp);每一个表创建一个同步Trigger(还有Dead 类型的Trigger),并将这个表放到一个channel中。
insert into sym_router
(router_id,source_node_group_id,target_node_group_id,router_type,create_time,last_update_time)
values('test_2_test', 'corp', 'store', 'default',current_timestamp, current_timestamp);创建一个Router,Router具有方向的概念。并且可以对数据进行过滤。
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('test','test_2_test', 100, current_timestamp, current_timestamp);需要将Trigger和Router联系起来,也就是将Trigger获取的数据传递到Router中,然后Router再往其他节点发送。Trigger和Router是多对多的关系。所以需要一个Join表的存在。这就是那个Join表。
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号