explain简介 explain专门用来做SQL语句的调优的,在select语句前面加一个explain可以把SELECT的执行过程都列出来,包括哪些用了索引,哪些没用索引,哪些查询是全表查询,哪些是索引查询等 . 使用效果如下图 : 概要描述 列名 说明 id 执行编号,标识select所属的行 ...
分类:
数据库 时间:
2020-06-21 00:52:12
阅读次数:
76
使用 EXPLAIN 函数可以清楚的查看语句的执行情况 EXPLAIN select id from b_nc_card where id != 10000; 一共查询了:530912 行 优化后 EXPLAIN (select id from b_nc_card where id > 10000) ...
分类:
数据库 时间:
2020-06-19 19:19:51
阅读次数:
56
Different Ways to Add Parentheses (M) 题目 Given a string of numbers and operators, return all possible results from computing all the different possibl ...
分类:
其他好文 时间:
2020-06-19 12:31:00
阅读次数:
43
题目: Joe works in a maze. Unfortunately, portions of the maze have caught on fire, and the owner of the maze neglected to create a fire escape plan. He ...
分类:
其他好文 时间:
2020-06-18 12:53:23
阅读次数:
73
光照系统 在2017年以前光照贴图技术是游戏光照设置的主流方式,但由于光照贴图需要事先烘焙(baking)出来,且仅支持静态物体(Static Object)。而游戏场景几乎不可能全都是静态物体,所以通常游戏场景中的灯光照明是多种照明方式的混合作用。 对于静态物体来说,大多使用光照贴图来模拟间接光的 ...
分类:
编程语言 时间:
2020-06-17 12:27:55
阅读次数:
90
如果想从头学起Cypress,可以看下面的系列文章哦 https://www.cnblogs.com/poloyy/category/1768839.html 作用 获取页面当前的 url 等价于 cy.location('href') 语法格式 cy.url() cy.url(options) o ...
分类:
Web程序 时间:
2020-06-16 23:20:34
阅读次数:
118
一、入口 找入口就找main函数,定位到plan_node.cpp这个文件,可以看到main函数写了节点名为global_planner: ros::init(argc, argv, "global_planner") 继续读,后面分别声明了costmap_2d::Costmap2DROS的对象,以 ...
分类:
其他好文 时间:
2020-06-16 18:31:07
阅读次数:
116
<a class="btn btn-primary btn-mini" href="javascript:void()" onclick="getExamLista('$exam.Examination_EpId','$plan.ExamPlan_Id')" title="点击链接进入考试"><i ...
分类:
其他好文 时间:
2020-06-16 15:35:04
阅读次数:
65
使用这样一句sql语句可以查看sql的执行计划: EXPLAIN UPDATE tt_occp_collection_detail_dds_log SET lock_status=0 WHERE normal_status='ERROR'; 引用一篇博客看懂sql的执行计划 mysql explai ...
分类:
数据库 时间:
2020-06-16 11:32:34
阅读次数:
66
在上一篇文章《MySQL常见加锁场景分析》中,我们聊到行锁是加在索引上的,但是复杂的 SQL 往往包含多个条件,涉及多个索引,找出 SQL 执行时使用了哪些索引对分析加锁场景至关重要。 ...
分类:
数据库 时间:
2020-06-15 22:32:56
阅读次数:
64