GBase 8s
其他
文章
【错误处理】-252 Cannot get system information for table.

发表于2024-02-01 11:23:08132次浏览0个评论
错误信息:
-252 Cannot get system information for table.
-113 ISAM error: the file is locked.
-252 不能获取表的系统信息。
-113 ISAM 错误:该文件已被锁定。
错误原因:表上有锁,select count就会报此错误
解决方案:设置锁等待时间。或设置隔离级别为脏读。(CR或LC都会报错)
重现示例:
序号 | session1 | session2 |
---|---|---|
1 | create table t(col1 int); | |
2 | begin; | |
3 | insert into t values(100); | |
4 | select count(*) from t; | |
4 | 报错:-252,-113 |
评论
登录后才可以发表评论


热门帖子
- 12023-05-09浏览数:16913
- 22020-05-11浏览数:10343
- 32019-04-26浏览数:10327
- 42023-09-25浏览数:9754
- 52023-07-04浏览数:9544