强制使用TIKV失败

为提高效率,请提供以下信息,问题描述清晰能够更快得到解决:
【 TiDB 使用环境】

【概述】 场景 + 问题概述

【背景】 做过哪些操作

【现象】 业务和数据库现象
select /*+ READ_FROM_STORAGE(TIKV[o,p]) */ libcode key1, count(1) intValue from orderitem o where delivertype in(1,4) and (status = 3 or status = 4 or status = 9) and get_date >= str_to_date(‘2021-01-01 00:00:00’, ‘%Y-%m-%d %H:%i:%s’) and get_date <= str_to_date(‘2022-12-31 23:59:59’, ‘%Y-%m-%d %H:%i:%s’) and not exists(select ‘x’ from pickaddr_order_item p where p.orderitem_id = o.itemid) and (source_flag in(‘xxx’,‘other’) or (source_flag not in(‘xxx’) or source_flag is null)) group by libcode;

此SQL的执行计划一直使用tiflash

【问题】 当前遇到的问题

【业务影响】

【TiDB 版本】
tidb 5.3
【应用软件及版本】

【附件】 相关日志及配置信息

先排查下版本问题

2 个赞

谢谢,就是这个问题。

牛啊,都是使用MySQL的老鸟了。

此话题已在最后回复的 1 分钟后被自动关闭。不再允许新回复。