logo
GBase 8s
其他
文章

【错误处理】-252 Cannot get system information for table.

GBase社区管理员
发表于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都会报错)

重现示例:

序号session1session2
1create table t(col1 int); 
2begin; 
3insert into t values(100); 
4 select count(*) from t;
4 报错:-252,-113

 

评论

登录后才可以发表评论