HugeGraph 配置参数
生活随笔
收集整理的這篇文章主要介紹了
HugeGraph 配置参数
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
- gremlin-server.yaml
| scriptEvaluationTimeout | 查詢超時時間,單位毫秒 | 30000 |
- rest-server.properties
| restserver.max_worker_threads | 服務器最大工作線程 | 2*cpu |
| restserver.min_free_memory | 當服務器內存小于該值時,請求將被拒絕 | 64 |
| restserver.request_timeout | 請求超時時間(以秒為單位), -1表示沒有超時。 | 30 |
| restserver.connection_idle_timeout | 不活動連接的存活時間 | 30 |
| restserver.connection_max_requests | 允許在一個保持連接狀態下處理的HTTP請求的最大數量 ,-1表示無限制。 | 256 |
| batch.max_edges_per_batch | 批量提交的最大邊數 | 500 |
| batch.max_vertices_per_batch | 批量提交的最大頂點數 | 500 |
| batch.max_write_ratio | 批處理寫入的最大線程比率, 僅在batch.max_write_threads為0時生效。 | 50 |
| batch.max_write_threads | 批處理寫入的最大線程數,如果值為0, 則實際值將設置為batch.max_write_ratio * total-rest-threads | 0 |
| exception.allow_trace | 是否允許異常跟蹤堆棧 | false |
- 基本配置項及后端配置項對應配置文件:{graph-name}.properties,如hugegraph.properties
| vertex.cache_capacity | 頂點緩存的最大緩存大小,單位是 items | 10000000 |
| vertex.cache_expire | 頂點緩存的到期時間(以秒為單位 | ) 600 |
| edge.cache_capacity | 邊緩存的最大緩存大小,單位是 items | 1000000 |
| edge.cache_expire | 邊緩存的終止時間(以秒為單位) | 600 |
| query.page_size | 使用分頁查詢時每個頁面的大小 | 500 |
| search.text_analyzer | 分詞 | ikanalyzer |
| search.text_analyzer_mode | Specify the mode for the text analyzer, the available mode of analyzer are { word: [MaximumMatching, ReverseMaximumMatching, MinimumMatching, ReverseMinimumMatching, BidirectionalMaximumMatching, BidirectionalMinimumMatching, BidirectionalMaximumMinimumMatching, FullSegmentation, MinimalWordCount, MaxNgramScore, PureEnglish], ansj: [BaseAnalysis, IndexAnalysis, ToAnalysis, NlpAnalysis], hanlp: [standard, nlp, index, nShort, shortest, speed], smartcn: [], jieba: [SEARCH, INDEX], jcseg: [Simple, Complex], mmseg4j: [Simple, Complex, MaxWord], ikanalyzer: [smart, max_word]} | smart |
總結
以上是生活随笔為你收集整理的HugeGraph 配置参数的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: windows配置gvim高效率编程(c
- 下一篇: IntelliJ IDEA Maven