SQL Service Broker: Collecting data — plug-in scenario analysis

大兔子大兔子 提交于 2019-12-05 20:29:00
  1. All data should be stored in table. On satellite side, you should create a table for last processed row to be stored. When new request from Central arrives, new data pack will be sent back to Central depending on last processed record value. Note: i recommend to limit a number of rows to be sent depending on your data to do not create very large data packs.

  2. When Central processed all rows, appropriate message should be sent to Satellite. It also should contain information about data import errors occurred.

  3. You can start Service Broker conversation when database activity is registered (using DML/DDL triggers on both Central/Satellite database) or within schedule (using Central Agent job).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!