上一页 1 2 3 4 5 6 ··· 19 下一页
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15946148.html relay_log_info_repository: - FILE(relay-log.info) - TABLE(mysql.slave_relay_log_inf 阅读全文
posted @ 2022-02-28 16:21 wshenJin 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15724987.html upstream phpfpm { server 127.0.0.1:9001; keepalive 10; } server{ keepalive_requests 阅读全文
posted @ 2021-12-23 19:52 wshenJin 阅读(781) 评论(0) 推荐(1) 编辑
摘要: vm.overcommit_memory 表示内核在分配内存时候做检查的方式。 这个变量可以取到0,1,2三个值。对取不同的值时的处理方式都定义在内核源码 mm/mmap.c 的 __vm_enough_memory 函数中。 取 1 的时候:此时宏为 OVERCOMMIT_ALWAYS,函数直接 阅读全文
posted @ 2021-11-02 17:54 wshenJin 阅读(1557) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15466843.html --cluster help redis-cli --cluster help Cluster Manager Commands: create host1:port 阅读全文
posted @ 2021-10-26 17:26 wshenJin 阅读(1754) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15296600.html 配置三个redis实例: # cluster cluster-enabled yes cluster-config-file nodes.conf cluster-n 阅读全文
posted @ 2021-09-16 19:14 wshenJin 阅读(423) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15161861.html 索引生命周期管理的本质--RollOver 当现有索引被认为太大或太旧时,滚动索引API将别名滚动到新索引。 该API接受一个别名和一个条件列表。别名必须只指向一个索 阅读全文
posted @ 2021-08-19 15:06 wshenJin 阅读(967) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15160383.html 为索引设置别名后,就可以通过这个别名来操作索引,ES会自动将别名映射到实际的索引名中。 alias的基本语法: 给现有index添加alias: PUT /_alia 阅读全文
posted @ 2021-08-19 10:07 wshenJin 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15156235.html 1、创建索引时指定 PUT /nginx-logs { "settings": { "number_of_shards":3, "number_of_replicas 阅读全文
posted @ 2021-08-18 12:19 wshenJin 阅读(701) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15079858.html 索引的操作 查看所有索引: GET /_cat/indices?v 创建索引: PUT /索引名称 PUT /people { "acknowledged" : tr 阅读全文
posted @ 2021-07-30 15:29 wshenJin 阅读(801) 评论(0) 推荐(0) 编辑
摘要: 个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15075759.html 所有的 cat 命令都接受查询字符串参数 help,以查看它们提供的所有 header 和信息。 _cat通用参数: verbose :GET /_cat/XXX/? 阅读全文
posted @ 2021-07-29 16:28 wshenJin 阅读(228) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 19 下一页