服务器层面优化(了解) 将数据保存在内存中,保证从内存读取数据 设置足够大的innodb_buffer_pool_size,将数据读取到内存中。 建议innodb_buffer_pool_size设置为总内存大小的3/4或者4/5。 怎样确定innodb_buffer_pool_size足够大,数据 ...
分类:
数据库 时间:
2020-06-16 10:25:15
阅读次数:
83
刚开始学习springcloudalibaba时第一个接触的组件就是nacosnacos既可以作为服务注册发现中心也可以作为配置中心,功能还是蛮强大的。替代了eruke,SpringCloudConfig等。nacos中有些概念,如命名空间,服务列表,配置列表等。配置列表中有group和dataid的概念本篇博客主要记录命名空间和group的区别使用过nacos的童鞋们都知道其实本质这两个概念的功
分类:
其他好文 时间:
2020-06-16 01:18:41
阅读次数:
156
<div class="container"> <div class="form-group"> <label>请选择文件</label> <input type="file" id="file"> <div class="padding" id="box"> <!--<img src="" c ...
分类:
其他好文 时间:
2020-06-15 16:10:41
阅读次数:
62
xlrd和xlwt 安装代码 pip3 install xlrd pip3 install xlwt xlrd 打开文件 xlrd.open_workbook(filename=None, logfile=<_io.TextIOWrapper name='<stdout>' mode='w' enc ...
分类:
编程语言 时间:
2020-06-15 14:22:06
阅读次数:
65
此枚举指示空间结构元素或代理的组成。IFC2x中增加的新枚举 ConstantDescription COMPLEX A group or aggregation of similar elements. ELEMENT An (undivided) element itself. PARTIAL ...
分类:
编程语言 时间:
2020-06-15 10:28:07
阅读次数:
63
Where、order by、group by、join、distinct union 后面的字段最好加上索引 ...
分类:
数据库 时间:
2020-06-14 20:45:31
阅读次数:
75
->select查询详解*********** select distinct\top ... --(5)投影 from -- (1)找到表 where -- (2)过滤掉我们不需要的数据 group by --(3)分组操作 having --(4)对分组后的数据进行过滤。 order by -- ...
分类:
其他好文 时间:
2020-06-14 18:55:57
阅读次数:
57
1. mybatis中xml文件特殊字符例如“<”,“>”转义解决方式: ①使用 < 和 >来转义 ②使用标签<![CDATA[ <或> ]]> 2. Redis的部署方式,使用的jar包 3. Zookeeper的选举机制 4. SQL语句的执行顺序(由sql中的别名的使用位置引申出) ...
分类:
其他好文 时间:
2020-06-14 18:52:56
阅读次数:
65
原因 聚合查询出现这样的报错是因为mysql设定的mode含有 ONLY_FULL_GROUP_BY1mysql> select @@sql_mode;+ +| @@sql_mode |+ +| ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DA ...
分类:
数据库 时间:
2020-06-14 18:37:34
阅读次数:
68
代码: import re import datetime from pyspark.sql import SparkSession from pyspark import SparkContext from elasticsearch import Elasticsearch spark=Spar ...
分类:
编程语言 时间:
2020-06-14 17:09:05
阅读次数:
125