你有一个思想,我有一个思想,我们交换后,一个人就有两个思想 If you can NOT explain it simply, you do NOT understand it well enough 现陆续将Demo代码和技术文章整理在一起 "Github实践精选" ,方便大家阅读查看,本文同样收 ...
分类:
其他好文 时间:
2020-03-17 08:11:42
阅读次数:
53
索引优化案例分析 首先看这篇博文你对执行计划各个字段有所了解,如果没有请先点击 "explain执行计划" . 单表分析 首先创建一个表并添加一些数据: mysql 创建表和一些假数据: create table if not exists ( int(10) unsigned not null p ...
分类:
数据库 时间:
2020-03-14 17:02:15
阅读次数:
127
EXPLAIN output columns(解释输出列) Each output row from EXPLAIN provides information about one table . Each cotains the values summarized in Table 8.1 "EXP ...
分类:
其他好文 时间:
2020-03-09 13:38:10
阅读次数:
121
前言:explain(执行计划),使用explain关键字可以模拟优化器执行sql查询语句,从而知道MySQL是如何处理sql语句。explain主要用于分析查询语句或表结构的性能瓶颈。 注:本系列随笔如无特殊说明都MySQL版本都为5.7.22。 1.explain的作用 通过explain+sq ...
分类:
数据库 时间:
2020-03-08 13:46:08
阅读次数:
86
高性能的索引策略 一、独立的列 如果查询中的列不是独立的,则MySQL就不会使用索引。“独立的列”是指索引列不能是表达式的一部分,也不能是函数的函数。 二、前缀索引和索引选择性 索引部分字符会降低索引的选择性,索引的选择性是指,不重复的索引值(也称为基数,cardinality)和数据表的记录总数( ...
分类:
数据库 时间:
2020-03-01 21:47:47
阅读次数:
88
The fastest way to create a robust, cross-platform compatible Node.js CLI (optionally typed with TypeScript) is by running npx oclif single mycli. Her ...
分类:
Web程序 时间:
2020-03-01 19:53:43
阅读次数:
76
索引的执行计划 1:分析查询性能(Analyze Query Performance)通常使用执行计划(解释计划,explain Plan)来查询的情况,如查询耗费的时间,是否基于索引查询等. 那么,通常,我们想知道,建立的索引是否有效,效果如何,都需要通过执行计划查看。 ...
分类:
数据库 时间:
2020-03-01 12:49:18
阅读次数:
80
University of OttawaSchool of Electrical Engineering and Computer ScienceCSI4142 Project 2019Crime Data MartThis document contains the requirements fo ...
分类:
其他好文 时间:
2020-02-25 20:07:57
阅读次数:
78
OpenMP Independent In-Class Coursework – The Game of LifeThe aim of this assignment is to write a parallel version of Conway’s Game of Life using Open ...
分类:
其他好文 时间:
2020-02-25 19:40:04
阅读次数:
56
IntelliJIdea2019.3打开原项目报mysql版本报错: Error opening zip file or JAR manifest missing : /C:/Users/flycat/.IntelliJIdea2019.3/config/plugins/mysql-explain/ ...
分类:
数据库 时间:
2020-02-24 16:44:46
阅读次数:
100