
elasticsearch
es
数据库人生
专注于数据库
PostgreSQL;Oracle 11G OCA、OCP;OceanBase V2 OBCA、OBCP
展开
-
elasticsearch 7.6 max_result_window 参数
os: centos 7.6es: 7.6index.max_result_windowThe maximum value of from + size for searches to this index. Defaults to 10000. Search requests take heap memory and time proportional to from + size and this limits that memory. See Scroll or Search After for原创 2021-08-09 20:53:41 · 2574 阅读 · 1 评论 -
elasticsearch 7.6 alias 的日常操作
os: centos 7.6es: 7.6alias 可以理解为 index 的别称,方便索引的操作,尤其是在重建时。版本# cat /etc/centos-releaseCentOS Linux release 7.6.1810 (Core)# yum list installed |grep -i elasticsearchelasticsearch.x86_64 7.6.2-1 installed原创 2021-08-09 16:18:08 · 417 阅读 · 0 评论 -
elasticsearch 7.6 node.role
os: centos 7.6es: 7.6版本# cat /etc/centos-releaseCentOS Linux release 7.6.1810 (Core)# yum list installed |grep -i elasticsearchelasticsearch.x86_64 7.6.2-1 installed# cat /etc/hosts127.0.0.1 localhost原创 2021-08-05 16:57:24 · 877 阅读 · 0 评论 -
Elasticsearch:Elasticsearch 中的 refresh 和 flush 操作指南
https://elasticstack.blog.youkuaiyun.com/article/details/103641544转载 2021-08-02 23:21:17 · 245 阅读 · 0 评论 -
独家深度 | 一文看懂 ClickHouse vs Elasticsearch:谁更胜一筹?
https://developer.aliyun.com/article/783804?utm_content=g_1000267492转载 2021-07-27 17:09:08 · 852 阅读 · 0 评论 -
【拓展篇】Elasticsearch 6.0 一个索引只允许有一个type
一,单index,单type未来发布的elasticsearch 6.0.0版本为保持兼容,仍然会支持单index,多type结构,但是作者已不推荐这么设置。在elasticsearch 7.0.0版本必须使用单index,单type,多type结构则会完全移除。针对这一问题,elasticsearch 作者的讨论:https://github.com/elastic/elasticsearch/pull/24317https://www.elastic.co/guide/en/elasticsea转载 2021-07-27 16:56:59 · 663 阅读 · 0 评论 -
使用 ssb-dbgen 对 ClickHouse 压测
本文选用CK官方提供的一个测试方案:SSBM (Star Schema Benchmark)。一、压测工具1.1 下载编译dbgenyum -y install gcc gcc-c++ make cmake git git clone https://github.com/vadimtk/ssb-dbgen.gitmake1.2 生产数据./dbgen -s 1 -T c./dbgen -s 1 -T l./dbgen -s 1 -T p./dbgen -s 1 -T s./dbg转载 2021-04-23 17:29:56 · 2703 阅读 · 1 评论 -
elasticsearch 常用工具
基础HeadElasticHDElasticsearch-sqlElasticHDElaticsearch-HQ监控cerebrokibanagrafana安全x-pack运维ansiblepuppet原创 2021-04-15 16:50:55 · 185 阅读 · 0 评论 -
elasticsearch 如何保证数据一致性?
<<ElasticSearch 集群是如何保证数据的一致性和实时性?>><<Elasticsearch 如何保证数据不丢失?>><<elasticsearch如何保证数据一致性?剖析复制与写入机制>>原创 2020-09-17 15:13:59 · 4143 阅读 · 0 评论 -
es 集群 number_of_shards、number_of_replicas
os: centos 7.4.1708es: 7.6.2三节点的es,参考<<es 集群三节点安装>>192.168.56.121 n1192.168.56.122 n2192.168.56.123 n3number_of_shards 是指索引要做多少个分片,只能在创建索引时指定,后期无法修改。number_of_replicas 是指每个分片有多少个副本,后期可以动态修改primary shard:主分片,每个文档都存储在一个分片中,当你存储一个文档的时原创 2020-05-19 13:58:59 · 27064 阅读 · 1 评论 -
current license is non-compliant for [jdbc]
os: centos 7.4.1708es: 7.6.2ide: dbeaver 6.2.3通过 dbeaver 配置 jdbc 连接 es时报错 current license is non-compliant for [jdbc]在官网 https://www.elastic.co/cn/subscriptions 搜索后发现需要白金级别查看服务器es的license信息,发现 “type” : “basic”# curl -XGET http://localhost:9200/_li原创 2020-05-14 11:11:14 · 28800 阅读 · 8 评论 -
Elasticsearch 名词解释:cluster、 node、 index, type、 document、 fields、shards、replica
es: 7.6.2理解这篇文章 https://elasticstack.blog.youkuaiyun.com/article/details/99443042记录一下 ,后面随时补充clusterElasticsearch Cluster由一个或多个节点组成(cluster.name 必须相同),可通过其集群名称进行标识。通常这个 Cluster 的名字是可以在 Elasticsearch里的配置文件中设置的。$ vi config/elasticsearch.yml# --------------原创 2020-05-13 12:18:16 · 856 阅读 · 0 评论