个人总结:informix集群出现:140: ISAM error: operation illegal on a DR Secondary
来源:互联网 发布:海康网络摄像机重量 编辑:程序博客网 时间:2024/06/05 10:26
先介绍一下服务器和客户端的环境:
服务器操作系统:AIX;
本机:win7 安装有SSH Secure File Transfer Client
连接服务器的工具:SSH Secure File Transfer Client
在部署好的informix集群中,使用dbaccess 命令后,执行update statistics for table gongwen 的时候,报如下的错误:
26097: Operation is not valid on a secondary server.
140: ISAM error: operation illegal on a DR Secondary
出错原因是:使用SSH访问当前的服务器地址不是主服务器(因为是informix集群,所以会有多台informix服务器),而是从属服务器,
解决这个问题的方法,当然就是使用SSH访问主服务器地址,使用dbaccess后,再执行上面的update statistics for table gongwen 命令就不会出错了。
注:执行update statistics for table gongwen ,因为
informix 库在批量记录操作后,如果不对表空间的回收以及索引整理会严重影响数据库的处理效率,对此处理方法如下:
做update statistics,回收空间可以重新建表,或者,可能做一个cluster index或许会有效
用了单个表的update statistics [for table 〈table—name〉]
做update statistics,回收空间可以重新建表,或者,可能做一个cluster index或许会有效
用了单个表的update statistics [for table 〈table—name〉]
具体步骤如下:
1、把公文查询相关的SQL找出来,看看用到了那些表;
2、针对这些表,在dbaccess中执行
update statistics for table gongwen;
把gongwen换成每个表名,依次执行
3、重新测试SQL执行效率
- 个人总结:informix集群出现:140: ISAM error: operation illegal on a DR Secondary
- informix集群-140ISAM error: operation illegal on a DR secondary.
- error C2276: '&' : illegal operation on bound member function expression
- error C2276: '&' : illegal operation on bound member function expression
- Illegal operation on empty result set
- Illegal operation on empty result set.
- SQLException:Illegal operation on empty result set.
- Solution: Linked Parameter causes "Operation illegal on linked parameter"
- java.sql.SQLException: Illegal operation on empty result set
- Illegal operation on empty result set.错误的改正方法
- attack lab running on a illegal host
- Operation not permitted on IsolatedStorageFileStream error
- hive Illegal Operation state transition from CLOSED to ERROR的处理
- IDL出现% Program caused arithmetic error: Floating illegal operand 错误!!
- IDL出现% Program caused arithmetic error: Floating illegal operand 错误!!
- Visual C++ Tips: error C2823: a typedef template is illegal
- socket program error:Socket operation on non-socket
- Socket operation on non-socket 错误出现有两种情况:
- 基于语法树生成代码
- extjs Tree对象
- 关于windows与vmware 10.0下ubuntu网络配置总结
- 读取spring配置文件的位置
- Spring配置文件命名空间
- 个人总结:informix集群出现:140: ISAM error: operation illegal on a DR Secondary
- javamail发送简单的邮件
- Oracle收集表与列统计信息
- javamail添加附件
- java 协变返回
- javamail 文本和多媒体混合
- 字符串转base64
- FLASH控件在程序中的自适应大小问题 Window Media Player
- spring对Timer(定时器)提供的支