知识库

标准化实施手册及常见错误


达梦数据库

<h1>达梦数据库</h1> <h1>1.创建代理环境失败 错误代码:-2124</h1> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/9274855678336b7521084728e13e4eea" alt="" /></p> <h3>解决方案:</h3> <p>删除作业环境系统表 SP_INIT_JOB_SYS(0);</p> <h1>2.达梦执行模糊查询sql很慢,全表查询sql正常</h1> <h3>全表查询:</h3> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/bdcb6f269255fe09179cb763de0d7448" alt="" /></p> <h3>模糊查询:</h3> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/a9aa4ac0cef36a1049f1b685cfb852de" alt="" /></p> <h3>解决方案:</h3> <p>清空执行缓存信息 CALL SP_CLEAR_PLAN_CACHE();</p> <h1>3.达梦执行全库备份作业执行失败</h1> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/a4eea7cb196c8b3394ce109b757f668b" alt="" /></p> <h3>解决方案:</h3> <p>检查DmAPService.service服务是否启动,如正在运行则重启 <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/09bf26f13ab6d5cdc11fecf21805ea79" alt="" /> 重启 systemctl restart DmAPService.service</p> <h1>4.达梦数据库作业全部失效,日志记录为空</h1> <p>  1.检查备份目录归属权限   2.检查DMAP进程,若数据库有升级操作应全部重启</p> <h1>5.oracle迁移达梦数据库:记录超长问题</h1> <p><img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/ed0b4f25a98b4e710e95c10394202f84" alt="" /> 解决方案: 第一步:在达梦数据库中找到报错的表,开启超长记录 <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/ef26f8270d81b21dab6a90246c4adb1c" alt="" /> 第二步:如果上一步设置之后还是报错记录超长,需要在迁移表数据时勾选以下参数 <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/23ed6252009a7609b976d4031b821a6d" alt="" /> 基本不会再出错</p> <h1>6.控制文件出错</h1> <p>1.检查控制文件是否被移动过,重新移动回来。 2.检查控制文件属主权限</p> <h1>7.oracle迁移达梦数据库:日期时间格式问题</h1> <p>1.检查源库oracle和目的库达梦表字段类型是否一致。 2.检查源库oracle跟目的库达梦的时间格式是否都是以-或者/连接,例如:0000-00-00 问题描述: oracle迁移到达梦过程中有某条数据的时间参数格式出错 解决方案: 清空达梦表数据,重新迁移,设置快速装载迁移,达梦可以输出bad报错文件,定位具体哪条数据引起的,找到修改后单独执行插入。 <img src="http://60.191.64.5:16100/server/index.php?s=/api/attachment/visitFile/sign/510c9a4dd5a507776dcf6091d7e1fd4d" alt="" /></p>

页面列表

ITEM_HTML