数据库迁移,其中有个数据量较大的表的索引,在迁移的时候出现,同步超时的情况

Notice 2014-08-05 15:14:54.856107 14240 3892311808 Poster: Operation ODR_DDL on table "CMUSER"."TBL_CM_PACKAGEPUSHSESSION_R" is taking longer than 5 seconds. SID/s
erial: 719/35771 Subqueue: 1. (posting from dbuis, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:15:11.425538 14240 3838027520 s:1 Poster: Replicated DDL ".alter table CMUSER.TBL_CM_PACKAGEPUSHSESSION_R. add constr..." (posting from dbuis
, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:19:12.820272 14240 3838027520 s:1 Poster: Replicated DDL ".alter table TBL_CM_USERSERVICE logging." (posting from dbuis, queue dbuissplex, to
dbuis) [module opo]
Notice 2014-08-05 15:19:49.960636 14240 3892311808 Poster: Operation ODR_DDL on table is taking longer than 5 seconds. SID/serial: 719/35771 Subqueue: 1. (postin
g from dbuis, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:19:57.267446 14240 3838027520 s:1 Poster: Replicated DDL ".create index CMUSER.IDX_WLVI_FK_DATE on CMUSER.TBL_CM_WHITE..." (posting from dbuis
, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:20:23.243563 14240 3838027520 s:1 Poster: Replicated DDL ".create index CMUSER.IDX_RERE_UID_FK_TYPE on CMUSER.TBL_CM_R..." (posting from dbuis
, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:20:59.973385 14240 3892311808 Poster: Operation ODR_DDL on table is taking longer than 5 seconds. SID/serial: 719/35771 Subqueue: 1. (postin
g from dbuis, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:21:38.667181 14240 3838027520 s:1 Poster: Replicated DDL ".create index CMUSER.IDX_CM_PACKAGESPUSH_H_N on CMUSER.TBL_C..." (posting from dbuis
, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:26:13.815592 14240 3892311808 Poster: Operation ODR_DDL on table is taking longer than 5 seconds. SID/serial: 719/35771 Subqueue: 1. (postin
g from dbuis, queue dbuissplex, to dbuis) [module opo]
Warning 2014-08-05 15:27:08.728807 14240 8869728 Poster: Main thread is waiting 59 seconds for session -1 to commit before processing next operation. (posting from
dbuis, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:27:08.855210 14240 8869728 Poster: No locks found (posting from dbuis, queue dbuissplex, to dbuis) [module osp]
Notice 2014-08-05 15:27:09.412913 14240 3892311808 Poster: Operation ODR_DDL on table is taking longer than 61 seconds. SID/serial: 719/35771 Subqueue: 1. (posti
ng from dbuis, queue dbuissplex, to dbuis) [module opo]
Warning 2014-08-05 15:28:08.864055 14240 8869728 Poster: Main thread is waiting 119 seconds for session -1 to commit before processing next operation. (posting from
 dbuis, queue dbuissplex, to dbuis) [module opo]
Notice 2014-08-05 15:28:08.983965 14240 8869728 Poster: No locks found (posting from dbuis, queue dbuissplex, to dbuis) [module osp]
Notice 2014-08-05 15:28:09.508029 14240 3892311808 Poster: Operation ODR_DDL on table is taking longer than 121 seconds. SID/serial: 719/35771 Subqueue: 1. (post
ing from dbuis, queue dbuissplex, to dbuis) [module opo]
 
Show post 查看
                                               Operations
Target         Status                      Posted                     Since                     Total             Backlog
----------        ---------------                 ----------             ------------------                  ----------              ----------
o.dbuis     Running                          0                 19-Aug-14 13:05:42       10321921         10318726
 
发现Operations Posted这项的值为空,说明此时没有上传
 
从数据库里查看,发现传输经产发生断开的情况
 
原因是这个同步在900秒内没有跑完,所以就会断开,可以通过修改
sp_ctrl>set param SP_OPO_MAX_OEXN_TIME 3600
将时间修改到3600秒,此时不用对post进程进行停止,他会在下一次超时后,重新启动
 
修改完成后,一切恢复正常

同步的数据过大,导致shareplex超时,并自动kill掉了同步会话的更多相关文章

  1. asp.net viewstate 数据过大 导致错误

    当在ViewState中放入dataSet的数据量比较大的时候,当再点页面上的控件时,不会返回到后台,并且会出现如下错误: 或者是上面的12030改成500的错误. --解决方法:Viewstate绑 ...

  2. 黄聪:Wordpress、PHP使用POST数据过大导致MySQL server has gone away报错原因分析

    错误原因: 当POST的数据超过 max_allowed_packet 就会报 MySQL server has gone away 的错误. 1.查看当前Mysql的 max_allowed_pac ...

  3. Thinkphp解决phpExcel导出数据量大导致内存溢出

    工作需要导出几万的数据量.操作比较频繁.之前数据在七八千是数据导出很慢.phpExcel是方便但是性能一般.现在改为使用csv导出数据:可以缓解内存压力,一次导出两三万是没问题的.当然服务器内存给力, ...

  4. Mysql中使用JDBC流式查询避免数据量过大导致OOM

    一.前言 java 中MySQL JDBC 封装了流式查询操作,通过设置几个参数,就可以避免一次返回数据过大导致 OOM. 二.如何使用 2.1 之前查询 public void selectData ...

  5. 分享工作中遇到的问题积累经验 事务日志太大导致insert不进数据

    分享工作中遇到的问题积累经验 事务日志太大导致insert不进数据 今天开发找我,说数据库insert不进数据,叫我看一下 他发了一个截图给我 然后我登录上服务器,发现了可疑的地方,而且这个数据库之前 ...

  6. 网站添加数据出错,原来是MS SQL Server2008日志文件占据空间过大导致的

    最近发现公司上线的八爪鱼招标网有部分功能出现问题,主要表现为无法向数据库插入数据:远程登陆到数据库服务器时,发现原本的40G空间都被数据库吃完了,于是打开MS SQL Server 2008对数据库进 ...

  7. 使用logstash同步MySQL数据到ES

    使用logstash同步MySQL数据到ES 版权声明:[分享也是一种提高]个人转载请在正文开头明显位置注明出处,未经作者同意禁止企业/组织转载,禁止私自更改原文,禁止用于商业目的. https:// ...

  8. rsync+sersync自动同步备份数据

    一.为什么要用Rsync+sersync架构?1.sersync是基于Inotify开发的,类似于Inotify-tools的工具2.sersync可以记录下被监听目录中发生变化的(包括增加.删除.修 ...

  9. 解决持久化数据太大,单个节点的硬盘无法存储的问题;解决运算量太大,单个节点的内存、CPU无法处理的问题

    需要学习的技术很多,要自学新知识也不是一件容易的事,选择一个自己比较感兴趣的会是一个比较好的开端,于是,打算学一学分布式系统. 带着问题,有目的的学习,先了解整体架构,在深入感兴趣的细节,这是我的计划 ...

随机推荐

  1. ubuntu下修改时区

    使用一个虚拟机服务,其时区设置的为格林兰标准时区,我北京时区在东八区,较其快八个小时. 修改时区需要执行 tzselect 一步步选择下来,注意确认后的information Therefore TZ ...

  2. 使用Core Data应避免的十个错误

    原文:Avoiding Ten Big Mistakes iOS Developers Make with Core Data   http://www.cocoachina.com/applenew ...

  3. FIREDAC调用中间件远程方法查询数据示例

    服务端使用FDQUERY查询数据并返回TDATASET: function TServerMethods1.GetData(var sql: string): tdataset;begin qry.C ...

  4. mmap和普通文件读写的区别和比较 & mmap的注意点

    参考 http://www.cnblogs.com/huxiao-tee/p/4660352.html 对linux文件系统不了解的朋友,请参阅我之前写的博文<从内核文件系统看文件读写过程> ...

  5. OS X Git连接github

    1. 运行到.local 2. cd ~/.ssh查看文件是否存在 3. ssh-keygen(创建public & private key) 4. 或者运行如下命令:cd ~/.ssh &a ...

  6. SqlServer教程:经典SQL语句集锦

    SQL分类: DDL—数据定义语言(CREATE,ALTER,DROP,DECLARE) DML—数据操纵语言(SELECT,DELETE,UPDATE,INSERT) DCL—数据控制语言(GRAN ...

  7. hdu 5569 matrix dp

    matrix Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://acm.hdu.edu.cn/showproblem.php?pid=5569 D ...

  8. Codeforces Gym 100637A A. Nano alarm-clocks 前缀和

    A. Nano alarm-clocks Time Limit: 20 Sec Memory Limit: 256 MB 题目连接 http://codeforces.com/gym/100637/p ...

  9. Treeview1列表拒绝添加重复信息

    function ItemExist(Text:string;TreeView:TTreeView):Boolean; var   i: Integer; begin   Result:=False; ...

  10. 安装 Nginx 并配置负载均衡

    1,在节点 192.168.1.40 上执行安装 nginx,操作如下: 01 02 03 sudo apt-add-repository ppa:nginx/development sudo apt ...