2 Core 4G RAM CentOS 6
数据量比较大,约有十亿条,但是已经通过 River 导入进去了,经常发生向 /{index}/_search 发送请求经常等待的事情,请问如何定位问题出在哪里?
数据量比较大,约有十亿条,但是已经通过 River 导入进去了,经常发生向 /{index}/_search 发送请求经常等待的事情,请问如何定位问题出在哪里?
|
czheoJun 16, 2015
1
{index}/_stats 看看
|
|
2
4G RAM 10亿数据,平均每条数据才4个字节,显然不够用
|
|
3
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不能上生产. |
|
knightdfJun 17, 2015
5
4G....我们直接上的32G RAM的服务器
|