随笔分类 -  杂项问题

摘要:1.安装基础命令 docker下精简版centos没有make等命令,先安装: yum -y install gcc automake autoconf libtool make yum install gcc gcc-c++ 当然也没有wget yum install -y wget 还有vim 阅读全文
posted @ 2019-11-16 20:44 肥宅快乐码 阅读(2643) 评论(1) 推荐(0)
摘要:是不是发现找遍全网也没有找到相关资料? 巧了,我也是,所以我这里来进行一次大胆分析(基本靠猜) 在使用mysql的fulltext索引(全文索引)时,使用explain则会在extra中出现这句提示:Ft_hints: no_ranking 我们先看看mysql官方怎么说: – Also, if a 阅读全文
posted @ 2019-10-13 23:50 肥宅快乐码 阅读(588) 评论(0) 推荐(0)
摘要:原因分析 原因与RedisTemplate源码中的默认序列化方式有关 defaultSerializer = new JdkSerializationRedisSerializer( classLoader != null ? classLoader : this.getClass().getCla 阅读全文
posted @ 2019-10-10 14:19 肥宅快乐码 阅读(674) 评论(0) 推荐(0)
摘要:一些文章写到InnoDB的可重复读避免了“幻读”(phantom read),这个说法并不准确。 做个试验:(以下所有试验要注意存储引擎和隔离级别) 试验一: 如此就出现了幻读,以为表里没有数据,其实数据已经存在了,傻乎乎的提交后,才发现数据冲突了。 试验二: 本事务中第一次读取出一行,做了一次更新 阅读全文
posted @ 2019-10-06 16:06 肥宅快乐码 阅读(363) 评论(0) 推荐(0)
摘要:while(true): public class Test { public static void main(String[] args) { while(true) { } } } 在?看看汇编 for( ; ; ) public class Test2 { public static voi 阅读全文
posted @ 2019-07-07 12:31 肥宅快乐码 阅读(665) 评论(1) 推荐(1)
摘要:目录 jdk的下载 jdk的安装 配置环境变量 验证是否配置成功] 一些常见的错误(待更新) 一.首先是jdk的下载 链接:https://pan.baidu.com/s/1ojQDuCwiGSA7AD1e8psNUg 提取码:s89i 为了方便新手学习,这里先直接提供给大家,但是以后的各种资源都需 阅读全文
posted @ 2019-01-10 17:39 肥宅快乐码 阅读(359) 评论(0) 推荐(0)