2016-11-25 49 views
1

我正在將我的應用程序(6.4)連接到datastax cassandra 3.1以獲取監視結果,並且結果一直持續5秒來呈現,儘管表中有數百個數據。 我已經驗證了我的CassandraERP Connector類也很難花時間在毫秒內返回響應。任何人都可以幫助我澄清這一點。爲什麼從Cassandra檢索數據時,dispatch.fetch在Hunk中速度很慢?

執行成本 持續時間(秒)組件調用的輸入計數輸出計數 0.00 command.fields 4 1 1 0.00 command.search 4 1 1 0.00 command.search.filter 4 - - 2.02 3 command.stdin - 1 2.00 command.stdin.cpd2sr 2 1 1 0.00 command.stdin.calcfields 1 1 1 2.00 command.stdin.cpd2sr.blocked 1 - - 0.00 command.stdin.kv 1個1 1 0.00 command.stdin.tags 1 1 1 0.00 command.stdin.typer 1 1 1 0.00 command.stdin.fieldalias 1 1 1 0.00 command.stdin.looku PS 1 1 1 0.00 dispatch.check_disk_usage 1 - - 0.06 dispatch.createdSearchResultInfrastructure 1 - - 0.04 dispatch.evaluate 1 - - 0.04 dispatch.evaluate.search 1 - - 4.08 dispatch.fetch 6 - - 0.00 調度。本地搜索1 - - 0.00 dispatch.preview 1 - - 0.00 dispatch.readEventsInResults 1 - - 0.00 dispatch.stream.local 1 - - 0.00 dispatch.timeline 6 - - 0.03 dispatch.writeStatus 8 - - 0.01 啓動。配置1 - - 0.03 startup.handoff 1 - -

回答

0

Basil,th是應該被要求在Splunk的答案,這裏就不

一個基本概念掌握有關猛男在於促使目標(Hadoop的數據節點,卡桑德拉等)splunkd的代碼,當你做一個搜索,只它獲取初始化地圖的測繪階段,實際上減少了那裏發生 - 地圖的輸出被源源不斷地送回搜索頭爲它降低

這就是爲什麼你看到那些高dispatch.fetch價值 - 它在等待地圖結果

+0

感謝您的回覆!無論如何,我們是否可以減少高dispatch.fetch值? –

相關問題