hi,all
my es configuration:
4 shard
1 replica
1 node
17646067 documents
8g index size
es version:
0.19.11
java version:
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
os:
CPU vendor: Intel
CPU model: Xeon (2393 MHz)
CPU total logical cores: 16
CPU cache: 12kb
Total mem: 30.9gb (33271316480 b)
Total swap: 3.9gb (4293586944 b)
pressure:
300 search request per second
One of my query:
[2012-12-05 13:12:15,465][TRACE][index.search.slowlog.query]
[Berzerker] [ptc][1] took[500.8ms], took_millis[500],
search_type[QUERY_THEN_FETCH], total_shards[4],
source[{"from":0,"size":10,"timeout":5000,"query":
{"query_string":{"query":"出租车叫车","fields":["address^1.0","category.name^1.0","name^10.0","trade.name^1.0"],"default_operator":"and","allow_leading_wildcard":false}},"filter":{"bool":{"must":{"term":{"location.cityId":"411200"}}}},"explain":false,"fields":["id","address","name"]}],
extra_source[]
hprof cpu samples:
see attachement hprof.cpu.samples.txt
Yourkit profile snapshot:
see attachment es3.png, the original snapshot is too large for
attachement.
It's not the first time to come across this problem with es and it's a very
big problem for production usage.
--