为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。 【DM版本】:8 【操作系统】:centos 【CPU】:32 【问题描述】*:limit +order by ,当条件没有一条数据时很慢 select
from enterprise_worker_new.labor_attendance_record where project_id = 700 // 这个project_id对应有数据很快,一条没有很慢 order by id desc limit 1
看下执行计划。以及数据库兼容类型compatible_mode参数
兼容的mysql ?? oracle ???
看下执行计划。以及数据库兼容类型compatible_mode参数
兼容的mysql ?? oracle ???