elasticsearch仕上げ設定

、JVMの設定:

Jdk1.8(ES最小jdk1.7が必要です)

最大ヒープヒープ最小の32Gです

GCタイプ:-XX:+ UseG1Gc -XX:MaxGCPauseMillis = 200。

その他のデフォルト。

二、エスのクラスタ構成:
cluster.name:テスト-ES
node.name: "テスト-169から71"
node.master:偽
node.data:trueに
index.store.type:論文を読み書きniofs
index.cache.field .TYPE:ソフトバッファタイプ
bootstrap.mlockall:真スワップ無効に
ローカルローカルストレージ:gateway.type
gateway.recover_after_nodes:3つの3データノードが再開
gateway.recover_after_timeを:データ部5mを回復し始め、5分
gateway.expected_nodes:4 4番目のESノードが再開
同時回収フラグメントの8数:cluster.routing.allocation.node_initial_primaries_recoveries
cluster.routing.allocation.node_concurrent_recoveries:2つつ同時回収の数
indices.recovery.max_bytes_per_sec:ノード間で250メガバイトの最大データ転送帯域幅
indices.recovery.concurrent_streams。 8つのスレッドが同時にデータファイルのストリームが読み込み
マルチキャストを無効にする場合はfalse:discovery.zen.ping.multicast.enabled
discovery.zen.ping.unicast.hosts:[ "192.168.169.51:9300"、 "192.168.169.52:9300"]
discovery.zen.fd.ping_interval:検出間隔の10Sノード生存
discovery.zen.fd.ping_timeout:120S生存タイムアウト
discovery.zen.fd.ping_retries:6回のアライブタイムアウトの再試行
http.cors.enabled:真の利用状況監視
index.analysis.analyzer.ik.type:「IK」IKワード

プールスレッドを設定################# #####
threadpool.index.type:固定インデックスは、スレッドプールのタイプの書き込み
64スレッドプールサイズ(提言2:threadpool.index.sizeを3回CPUの数)に
1000年キューサイズ:threadpool.index.queue_size
threadpool.search.size:64検索スレッドプールのサイズ
threadpool.search.type:固定された検索スレッドプール型
threadpool.search.queue_size:1000キューサイズ
threadpool.get。タイプ:データ型に固定されたスレッドプールアクセス
threadpool.get.size:32は、スレッドプールのサイズフェッチ
千キューサイズ:threadpool.get.queue_size
threadpool.bulk.type:固定バッチリクエストスレッドプール型
threadpool.bulk.size:32バッチリクエストをスレッドプールサイズの
threadpool.bulk.queue_size:1000キューサイズ
threadpool.flush.type:固定ディスクブラシタイプのスレッドプールの
threadpool.flush.size:32ブラシディスクスレッドプールサイズの
threadpool.flush.queue_size:1000キューサイズ
#1 indices.store。 throttle.type:マージ
indices.store.throttle.type:なし書き込みディスク型
indices.store.throttle.max_bytes_per_sec:500メガバイト、書き込みディスクの最大帯域幅の
index.merge.scheduler.max_thread_count:8インデックスマージスレッドの最大数
600メガバイトのファイル、トランスログリフレッシュバルブ:index.translog.flush_threshold_sizeを値

おすすめ

転載: blog.51cto.com/phospherus/2415975