GBase 8s
其他
文章
【错误处理】-244 Could not do a physical-order read to fetch next row

发表于2024-02-01 11:22:23310次浏览0个评论
错误信息:
-244 Could not do a physical-order read to fetch next row.
-244 无法执行物理顺序读来访存下一行。
错误原因:顺序扫描表时,所扫的行已被锁定。
解决方案:
1、创建合理索引,避免顺序扫描
2、设置锁等待时间,等待被锁定的数据行锁释放(set lock mode to wait 10;)
重现示例:
序号 | session1 | session2 |
---|---|---|
1 | dbaccess testdb - drop table if exists t; create table t(col1 int,col2 char(100)); insert into t select tabid,tabname from systables; | |
2 | begin; delete from t where col1=1; | |
3 | dbaccess testdb - select * from t where col1=1; | |
4 | 报错: -244 Could not do a physical-order read to fetch next row. -107 ISAM error: record is locked. |
评论
登录后才可以发表评论


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