Questions tagged «lucene»

1
Elasticsearch正在使用过多的磁盘空间
我有一台安装了Elasticsearch 1.3.2的CentOS 6.5服务器。 我的elasticsearch.yml配置文件是对默认发货的Elasticsearch的最小修改。除去所有注释行后,它看起来像: cluster.name: xxx-kibana node: name: "xxx" master: true data: true index.number_of_shards: 5 index.number_of_replicas: 1 path: logs: /log/elasticsearch/log data: /log/elasticsearch/data transport.tcp.port: 9300 http.port: 9200 discovery.zen.ping.multicast.enabled: false Elasticsearch 默认情况下应启用压缩功能,并且我阅读了各种基准测试,将压缩率从低至50%提高到了95%。不幸的是,在我的情况下,压缩率为-400%,换句话说:用ES存储的数据占用的磁盘空间是内容相同的文本文件的4倍。看到: 12K logstash-2014.10.07/2/translog 16K logstash-2014.10.07/2/_state 116M logstash-2014.10.07/2/index 116M logstash-2014.10.07/2 12K logstash-2014.10.07/4/translog 16K logstash-2014.10.07/4/_state 127M logstash-2014.10.07/4/index 127M logstash-2014.10.07/4 12K logstash-2014.10.07/0/translog 16K logstash-2014.10.07/0/_state …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.