2 Core 4G RAM CentOS 6
数据量比较大,约有十亿条,但是已经通过 River 导入进去了,经常发生向 /{index}/_search 发送请求经常等待的事情,请问如何定位问题出在哪里?
数据量比较大,约有十亿条,但是已经通过 River 导入进去了,经常发生向 /{index}/_search 发送请求经常等待的事情,请问如何定位问题出在哪里?
1
czheo Jun 16, 2015
{index}/_stats 看看
|
2
czheo Jun 16, 2015 4G RAM 10亿数据,平均每条数据才4个字节,显然不够用
|
3
karloku Jun 16, 2015 https://www.elastic.co/guide/en/elasticsearch/guide/current/hardware.html
A machine with 64 GB of RAM is the ideal sweet spot, but 32 GB and 16 GB machines are also common. Less than 8 GB tends to be counterproductive (you end up needing many, many small machines), and greater than 64 GB has problems that we will discuss in Heap: Sizing and Swapping. 官方建议小于8G不能上生产. |
5
knightdf Jun 17, 2015
4G....我们直接上的32G RAM的服务器
|