
Elasticsearch
文章平均质量分 78
满满的伤疤
这个作者很懒,什么都没留下…
展开
-
Elasticsearch 安装错误问题以及集群部署
[1]: max file descriptors [65535] for elasticsearch process is too low, increase to at least [65536] [2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144] ...原创 2019-04-16 16:11:17 · 638 阅读 · 0 评论 -
Elastic和MongoDB常用操作
MongoDB和es常用工具 Elastic 报如果要深度分页,请设置一下配置 PUT /*/_settings { "index":{ "max_result_window":200000000 } } Elastic 索引信息 GET _cat/indices?v Elastic 字段设置group By index 索引库 _mapping 固定值 types 索引...原创 2019-06-27 16:11:55 · 330 阅读 · 0 评论 -
elastic update Java API版本冲突,导致并发锁异常问题
1 elastic update 在修改这条数据的的过程中(这个过程指的是 数据库执行update 到 事务提交的过程中 )为这条数据加上 写锁,阻止 别的事务 对锁定数据的修改! 请求后一个修改事务的线程阻塞,直到前一个事务的完成,所以针对这条数据的 2 个修改 是一个一个来的。所以 elastic的 update t1 set a = a+1; 这样的操作 不会导致 a数据的 丢失,因为前...原创 2019-07-09 11:17:00 · 1661 阅读 · 2 评论