会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
荣神益人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
2020年3月30日
阿里云相关文档
摘要: Linux格式化数据盘
阅读全文
posted @ 2020-03-30 13:55 荣神益人
阅读(102)
评论(0)
推荐(0)
2020年3月27日
ElasticSearch中让一个字段支持多个分析器
摘要: POST /kid_book_v13/kid_book/_mapping { "properties": { "search": { "type": "text", "analyzer": "ik_syno", "search_analyzer": "ik_max_word_xhs", "field
阅读全文
posted @ 2020-03-27 17:59 荣神益人
阅读(758)
评论(0)
推荐(0)
SpringBoot中用MyBatis流式查询大数据量的表时连接会被关闭解决办法
摘要: 是因为mysql的配置文件中wait_timeout设置得太小,注释掉my.cnf中的wait_timeout和interactive_timeout就好了(注释掉后默认为28800即8小时)
阅读全文
posted @ 2020-03-27 17:36 荣神益人
阅读(2843)
评论(0)
推荐(0)
在RestHighLevelClient中增加用户名密码验证
摘要: @Configuration public class ElasticSearchClient { @Value("${ElasticSearch.Hosts}") private String hosts; @Value("${ElasticSearch.UserName}") private S
阅读全文
posted @ 2020-03-27 10:47 荣神益人
阅读(8418)
评论(0)
推荐(1)
2020年3月26日
mybatis 流式读取大量MySQL数据_Java_suveng's blog-CSDN博客
摘要: https://blog.csdn.net/qq_37933685/article/details/85100239
阅读全文
posted @ 2020-03-26 18:36 荣神益人
阅读(920)
评论(0)
推荐(0)
Mysql大批量数据导入ElasticSearch
摘要: https://blog.csdn.net/u013850277/article/details/88904303
阅读全文
posted @ 2020-03-26 18:04 荣神益人
阅读(1046)
评论(0)
推荐(0)
ElasticSearch中如何让term支持匹配文本类型?
摘要: 需要在mapping中为文本字段加一个keyword类型的fields,比如: POST /viw_my_book/viw_my_book/_mapping { "properties": { "name": { "type": "text", "analyzer": "analyzer_user"
阅读全文
posted @ 2020-03-26 15:20 荣神益人
阅读(464)
评论(0)
推荐(0)
MySQL中如何实现按特定的id顺序排?
摘要: 我希望排序是按id值4, 2, 3, 1排,可以用field函数:select * from 表名 order by field(id,4,2,3,1);
阅读全文
posted @ 2020-03-26 10:27 荣神益人
阅读(1910)
评论(0)
推荐(0)
监控haproxy宕机重启脚本
摘要: #!/bin/bash /usr/bin/pgrep -x haproxy &> /dev/null if [ $? -ne 0 ]; then /usr/sbin/service haproxy start echo "" | mail -s "监测到haproxy进程不存在,已经重新启动" 邮箱
阅读全文
posted @ 2020-03-26 09:38 荣神益人
阅读(427)
评论(0)
推荐(0)
Monit - 开源服务器监控工具
摘要: https://mmonit.com/monit/
阅读全文
posted @ 2020-03-26 09:23 荣神益人
阅读(179)
评论(0)
推荐(0)
上一页
1
···
7
8
9
10
11
12
13
14
15
下一页
公告