{"id":278,"date":"2010-05-19T10:45:26","date_gmt":"2010-05-19T01:45:26","guid":{"rendered":"http:\/\/www.climb.co.jp\/blog_dbmoto\/?p=278"},"modified":"2015-05-28T10:20:05","modified_gmt":"2015-05-28T01:20:05","slug":"%e3%82%b7%e3%83%b3%e3%82%af%e3%83%ad%e3%83%8a%e3%82%a4%e3%82%bc%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ab%e3%81%8a%e3%81%91%e3%82%8b%e3%82%b3%e3%83%b3%e3%83%95%e3%83%aa%e3%82%af%e3%83%88%e5%9b%9e-2","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/278","title":{"rendered":"\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308b\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u56de\u907f\u306b\u3064\u3044\u3066\u3010\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c4\u30fc\u30ebDBMoto\u3011"},"content":{"rendered":"<p>\u25a02015\/05\/28\u8a18\u4e8b\u6539\u8a02<\/p>\n<p>DBMoto \u3067<b>\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3<\/b>\uff08Synchronization\uff09\u304b\u3001<b>\u53cc\u65b9\u5411\u306e\u30df\u30e9\u30fc\u30ea\u30f3\u30b0<\/b>\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u3068\u304d\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u9023\u3059\u308b\u4e21\u30c6\u30fc\u30d6\u30eb\u306b\u5909\u66f4\u304c\u3042\u308a\u3001\u305d\u306e\u5909\u66f4\u306f\u305d\u308c\u305e\u308c\u306e\u30c6\u30fc\u30d6\u30eb\u3067\u9055\u3063\u3066\u3044\u308b\u3068\u4eee\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u306e\u30b4\u30fc\u30eb\u306f\u3001\u30c6\u30fc\u30d6\u30ebA\u304b\u3089\u30c6\u30fc\u30d6\u30ebB\u3078\u306e\u5909\u66f4\u3068\u3001\u30c6\u30fc\u30d6\u30ebB\u304b\u3089\u30c6\u30fc\u30d6\u30ebA\u3078\u306e\u5909\u66f4\u3092\u9069\u5fdc\u3059\u308b\u3053\u3068\u3067\u3001\u4e92\u3044\u306b\u4e21\u30c6\u30fc\u30d6\u30eb\u3092\u6700\u65b0\u306b\u4fdd\u3064\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30fb\u30bf\u30a4\u30d7\u306b\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3057\u305f\u6642\u306f\u3001<u>\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u95a2\u9023\u3059\u308b\u4e21\u30b5\u30a4\u30c9\u306e\u30c6\u30fc\u30d6\u30eb\u306e\u540c\u3058\u30ec\u30b3\u30fc\u30c9\u3067\u540c\u6642\u306b\u5909\u66f4\u304c\u8d77\u3053\u308b<\/u>\u5834\u5408\u306b\u3069\u306e\u3088\u3046\u306b\u51e6\u7406\u3059\u308b\u304b\u3001\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u540c\u4e00\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30a4\u30f3\u30bf\u30fc\u30d0\u30eb\u5185\u3067\u3001\u30bd\u30fc\u30b9\u306eSQL Server \u306e\u88fd\u54c1\u30ec\u30b3\u30fc\u30c9\u306e\u4fa1\u683c\u30d5\u30a3\u30fc\u30eb\u30c9\u304c\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3001\u307e\u305f\u30bf\u30fc\u30b2\u30c3\u30c8\u306eDB2\/400\u3067\u5bfe\u5fdc\u3059\u308b\u30ec\u30b3\u30fc\u30c9\u306e\u540c\u3058\u30d5\u30a3\u30fc\u30eb\u30c9\u3082\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u3066\u3044\u305f\u6642\u306b\u3001\u3069\u3061\u3089\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u512a\u5148\u3059\u308b\u304b\u3092\u6c7a\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>Replication \u304bMultiple Replications \u30a6\u30a3\u30b6\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30e6\u30fc\u30b6\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3057\u305f\u5f8c\u3001<b>\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30d7\u30ed\u30d1\u30c6\u30a3<\/b>\uff08Replication Properties\uff09\u30c0\u30a4\u30a2\u30ed\u30b0\u3067<b>\u512a\u5148<\/b>\uff08Preferences\uff09 \u30bf\u30d6\u306b\u79fb\u884c\u3057\u3001\u3069\u306e\u3088\u3046\u306b\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u3092\u51e6\u7406\u3059\u308b\u304b\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\uff1a<\/p>\n<ul>\n<li><b>SourceServerWins<\/b>:<u>\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3002<\/u>\u30bd\u30fc\u30b9\u63a5\u7d9a\u306b\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3059\u308b\u5909\u66f4\u304c\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u63a5\u7d9a\u306b\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306b\u3082\u9069\u5fdc\u3055\u308c\u307e\u3059\u3002\u30bf\u30fc\u30b2\u30c3\u30c8\u63a5\u7d9a\u30c6\u30fc\u30d6\u30eb\u4e0a\u306e\u5909\u66f4\u306f\u3059\u3079\u3066\u66f8\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<\/li>\n<li><b>TargetServerWins<\/b>:\u30bf\u30fc\u30b2\u30c3\u30c8\u63a5\u7d9a\u306b\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306b\u5bfe\u3059\u308b\u5909\u66f4\u304c\u3001\u30bd\u30fc\u30b9\u63a5\u7d9a\u3067\u5b9a\u7fa9\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306b\u3082\u9069\u5fdc\u3055\u308c\u307e\u3059\u3002\u30bd\u30fc\u30b9\u63a5\u7d9a\u30c6\u30fc\u30d6\u30eb\u4e0a\u306e\u5909\u66f4\u306f\u3059\u3079\u3066\u66f8\u304d\u63db\u3048\u3089\u308c\u307e\u3059\u3002<\/li>\n<li><b>FirstComeWins<\/b>:\u30bd\u30fc\u30b9\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u3057\u3066\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306e2 \u3064\u306e\u5909\u66f4\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c\u6e96\u5099\u3055\u308c\u3001\u65e9\u3044\u65b9\u306e\u5909\u66f4\u304c\u4e21\u30c6\u30fc\u30d6\u30eb\u306b\u9069\u5fdc\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><b>LastComeWins<\/b>:\u30bd\u30fc\u30b9\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u3068\u3057\u3066\u6307\u5b9a\u3055\u308c\u305f\u30c6\u30fc\u30d6\u30eb\u306e2 \u3064\u306e\u5909\u66f4\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u304c\u6e96\u5099\u3055\u308c\u3001\u9045\u3044\u65b9\u306e\u5909\u66f4\u304c\u4e21\u30c6\u30fc\u30d6\u30eb\u306b\u9069\u5fdc\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><b>Use Script<\/b>:\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306fReplication_onConflict \u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u306b\u8a18\u8ff0\u3059\u308b\u3053\u3068\u3067\u30a4\u30d9\u30f3\u30c8\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u30fb\u30a8\u30c7\u30a3\u30bf\u306f\u300c\u4e00\u822c\u300d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30dc\u30bf\u30f3\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002VB .NET\u307e\u305f\u306fC# \u3092\u4f7f\u7528\u3057\u3066\u30e6\u30fc\u30b6\u304c\u5e0c\u671b\u3059\u308b\u4e21\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u306e\u5024\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u306e\u30d5\u30a1\u30f3\u30af\u30b7\u30e7\u30f3\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u203b\u8a2d\u5b9a\u753b\u9762<br \/>\n<a href=\"\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2010\/05\/conflict_resolver_option_v8.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2010\/05\/conflict_resolver_option_v8.png\" alt=\"conflict_resolver_option_v8\" width=\"559\" height=\"558\" class=\"alignnone size-full wp-image-2560\" srcset=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2010\/05\/conflict_resolver_option_v8.png 559w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2010\/05\/conflict_resolver_option_v8-150x150.png 150w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2010\/05\/conflict_resolver_option_v8-300x300.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b7\u30f3\u30af\u30ed\u30ca\u30a4\u30bc\u30fc\u30b7\u30e7\u30f3\u306b\u304a\u3051\u308b\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u56de\u907f\u306b\u3064\u3044\u3066\uff08Resolving Conflicts During Synchronization\uff09<br \/>\n <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/278\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-syniti"],"_links":{"self":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":5,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":2561,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/278\/revisions\/2561"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}