zoukankan      html  css  js  c++  java
  • replication_较少延迟时间

    https://www.mssqltips.com/sqlservertip/3598/troubleshooting-transactional-replication-latency-issues-in-sql-server/

    http://www.informit.com/articles/article.aspx?p=344817&seqNum=4

    https://msdn.microsoft.com/en-us/library/ms151223.aspx

    The second way to override the default values is to specify the new values within the job that runs the agent. For example, you could run the distribution agent with the following values:




    多个事务叫一个批


    --复制分发器
    -Publication [PkgRealSource] 本地发布名1
    -PublisherDB [PkgRealSourceDB] 发布名1对应的数据库
    -Subscriber [PKGREPL]
    -SubscriberDB [PkgRealDB]


    -Publisher [CLSJQPKGORDERPKGORDER] 发布服务器
    -Distributor [CLSJQPKGORDERPKGORDER] 分发服务器
    -DistributorSecurityMode 1 认证模式,默认为1 windows认证

    -subscriptionstreams 4 订阅到分发的最大连接数(性能调优参数)
    -PollingInterval 1 分发数据库对被复制的事务的查询频率
    -CommitBatchSize 300 每批提交数
    -Continuous 按照PollingInterval,持续性的拉取被复制的事务



    --MaxBcpThreads 5 用于快速初始化过程 snapshot between publisher and subscribers


    --subscriptionstreams 4 用于加速事务复制 减少复制延迟 
    当使用单线程时,保持许多事务性的特征
    每个分发代理允许连接到订阅服务器的批处理更改的连接数

    --Enhance Transactional Replication Performance
    https://msdn.microsoft.com/en-us/library/ms151762.aspx


    --Replication Distribution Agent
    https://msdn.microsoft.com/en-us/library/ms147328.aspx

    --Transactional Replication Performance Tuning and Optimization
    https://technet.microsoft.com/en-us/library/cc966539.aspx


    --百度翻译
    http://fanyi.baidu.com/



  • 相关阅读:
    定律法则
    thymeleaf模板引擎基础使用(转)
    OGNL是什么
    ZooKeeper可视化Web管理工具收集(待实践)
    Java下用Jackson进行JSON序列化和反序列化(转)
    JQuery获取select选中值和清除选中状态(转)
    Javascript控制回车键进行表单(form)提交(转)
    Javascript中数据与字符串互转(转)
    MySQL的limit用法及优化(转)
    Javascript中JSON的序列化和反序列化(转)
  • 原文地址:https://www.cnblogs.com/justdba/p/6308611.html
Copyright © 2011-2022 走看看