内镜追溯系统 数据库视图批量优化(提速第一步 ect_cycles 转视图,最小代码改动) #316
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
v_clean sql 查询速度 3.5s -> 0.33s,页面接口返回速度 15.63s ->5.53s (性能瓶颈不在sql本身,在页面内部)
优化前
优化后
v_check 0.821s -> 0.368s
v_report_clean_check_leaktest 5.8s -> 0.157
优化前
优化后
两个sql的结果不同,初步认为以前的有毛病,进一步再验证一下。