Solr用の低速サブクエリー・ログ

指定した時間より長くかかったSolr用の分散サブクエリー(個別シャードでのクエリー実行)を報告します。

指定した時間より長くかかったSolr用の分散サブクエリー(個別シャードでのクエリー実行)を報告します。

JMXアナログ 

なし。

スキーマ 

低速Solrクエリー・ログが有効になっている場合、このテーブルは自動的に作成されます。
CREATE TABLE IF NOT EXISTS dse_perf.solr_slow_sub_query_log (
core text,
date timestamp,
coordinator_ip inet,
query_id timeuuid,
node_ip inet,
start_time timeuuid,
parameters map text, text,
elapsed_millis bigint,
component_prepare_millis map<text, bigint>,
component_process_millis map<text, bigint>,
num_docs_found bigint,
PRIMARY KEY ((core, date), coordinator_ip, query_id, node_ip)
)
フィールド タイプ 目的
core text 低速サブクエリーが実行されたSolrコア(keyspace.table)の名前。
date timestamp 低速サブクエリーが開始されたmm/dd/yyyyの深夜。
coordinator_ip inet 分散クエリー・コーディネーターIPアドレス。
query_id timeuuid 低速サブクエリーが所属する分散クエリーのID。
node_ip inet ノードIPアドレス。
start_time timestamp 低速サブクエリーの開始時のタイムスタンプ。
parameters maptext, text Solrクエリー・パラメーター。
elapsed_millis bigint 低速サブクエリーにかかった時間。
component_prepare_millis maptext, bigint (コンポーネント名->準備フェーズでかかった時間)のマップ
component_process_millis maptext, bigint (コンポーネント名->処理フェーズでかかった時間)のマップ
num_docs_found bigint 低速サブクエリーが発見したドキュメントの数。

127.0.0.1に存在するコーディネーターのコアkeyspace.tableに関して、10/17/2015に記録された低速Solrサブクエリー:

SELECT * 
FROM solr_slow_sub_query_log 
WHERE core = 'keyspace.table' AND date = '2015-10-17' AND coordinator_ip = '127.0.0.1';

特定の分散クエリーのIDが33e56d33-4e63-11e4-9ce5-335a04d08bd4で、127.0.0.1に存在するコーディネーターのコアkeyspace.tableに関して、10/17/2015に記録された低速Solrサブクエリー:

SELECT *  
FROM solr_slow_sub_query_log
WHERE core = 'keyspace.table' 
AND date = '2015-10-17' 
AND coordinator_ip = '127.0.0.1' 
AND query_id = 33e56d33-4e63-11e4-9ce5-335a04d08bd4;