你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
ouyangchucai - Elasticsearch中文社区钉钉群号 : 21737292
赞同来自: hapjin
rochy - rochy_he
赞同来自:
code4j - coder github: https://github.com/rpgmakervx
要回复问题请先登录或注册
3 个回复
ouyangchucai - Elasticsearch中文社区钉钉群号 : 21737292
赞同来自: hapjin
慢查询日志开启模板:
PUT _settings
{
"index.indexing.slowlog.threshold.index.debug" : "10ms",
"index.indexing.slowlog.threshold.index.info" : "50ms",
"index.indexing.slowlog.threshold.index.warn" : "100ms",
"index.search.slowlog.threshold.fetch.debug" : "100ms",
"index.search.slowlog.threshold.fetch.info" : "200ms",
"index.search.slowlog.threshold.fetch.warn" : "500ms",
"index.search.slowlog.threshold.query.debug" : "100ms",
"index.search.slowlog.threshold.query.info" : "200ms",
"index.search.slowlog.threshold.query.warn" : "1s"
}
PUT _template/aliyun-slowlog_template
{
"order": -1,
"version": 0,
"template": "*",
"settings": {
"index.indexing.slowlog.threshold.index.debug" : "10ms",
"index.indexing.slowlog.threshold.index.info" : "50ms",
"index.indexing.slowlog.threshold.index.warn" : "100ms",
"index.search.slowlog.threshold.fetch.debug" : "100ms",
"index.search.slowlog.threshold.fetch.info" : "200ms",
"index.search.slowlog.threshold.fetch.warn" : "500ms",
"index.search.slowlog.threshold.query.debug" : "100ms",
"index.search.slowlog.threshold.query.info" : "200ms",
"index.search.slowlog.threshold.query.warn" : "1s"
}
}
参考链接:阿里云Elasticsearch性能优化实践 https://yq.aliyun.com/articles/670118
rochy - rochy_he
赞同来自:
可参考:https://blog.csdn.net/wuxiao55 ... 91834
此外查询速度一般要看数据结构的设计和查询语句了
code4j - coder github: https://github.com/rpgmakervx
赞同来自: