摘要: 锁等待的对应关系 select * from information_schema.innodb_lock_waits; 当前出现的锁 select * from information_schema.innodb_locks; 当前运行的所有事务 select * from information 阅读全文
posted @ 2024-01-23 16:03 Me无情 阅读(2) 评论(0) 推荐(0) 编辑
摘要: k.attachment();为什么就有值了 我们自己写的nioserversocketchannle 就是null 为啥 ??? bind() > ChannelFuture regFuture = config().group().register(channel) >io.netty.chan 阅读全文
posted @ 2024-01-12 14:47 Me无情 阅读(2) 评论(0) 推荐(0) 编辑
摘要: export REDIS_HOME=/usr/local/Cellar/redis/6.2.5 export PATH=$PATH:$REDIS_HOME/bin 阅读全文
posted @ 2021-09-15 10:46 Me无情 阅读(28) 评论(0) 推荐(0) 编辑
摘要: @Component classA{ @Autowire private ClassB classB; } @Component classB{ @Autowire private ClassA classA; } 代码执行流程 首先进入org.springframework.beans.facto 阅读全文
posted @ 2021-05-13 20:52 Me无情 阅读(250) 评论(0) 推荐(0) 编辑
摘要: public class Console { public static void main(String[] args) { Config config = new Config(); config.setLockWatchdogTimeout(10000); config.useSingleSe 阅读全文
posted @ 2020-12-28 14:17 Me无情 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 综合来说,提升写入速度可以从以下几个方面入手: 1、加大 translog flush ,目的是降低 iops,writeblock 2、加大 index refresh间隔, 目的除了降低 io, 更重要的降低了 segment merge 频率 3、调整 bulk 线程池和队列 4、优化磁盘间的 阅读全文
posted @ 2020-09-26 10:19 Me无情 阅读(207) 评论(0) 推荐(0) 编辑
摘要: package spring; import org.redisson.Redisson; import org.redisson.api.RScript; import org.redisson.api.RedissonClient; import org.redisson.config.Conf 阅读全文
posted @ 2020-09-03 15:13 Me无情 阅读(1588) 评论(0) 推荐(0) 编辑
摘要: 查询所有的索引信息 GET /_cat/indices?v //查询映射关系 GET /index_name/_mapping?pretty=true 查询所有的索引 POST /_xpack/sql?format=txt { "query": "SHOW tables" } 一些简单的sql转换成 阅读全文
posted @ 2020-04-17 11:42 Me无情 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一、 参考文档 官方用户手册: https://www.cwiki.us/pages/viewpage.action?pageId=32998578 本手册 安装 文档 : https://www.cnblogs.com/heaven-xi/p/11147073.html https://www.c 阅读全文
posted @ 2020-03-27 13:39 Me无情 阅读(1251) 评论(0) 推荐(0) 编辑
摘要: su - root whoami pwd mkdir touch rm cd pwd vim more cat chmod chown chgrp netstat tar -zxvf tar -vcf 防火墙firewall-cmd --zone=public --list-ports firewa 阅读全文
posted @ 2019-07-23 14:43 Me无情 阅读(125) 评论(0) 推荐(0) 编辑