Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否关闭缓存机制,设置graph.cache_expire=0 没有效果 #98

Open
fisherinbox opened this issue Oct 11, 2018 · 1 comment

Comments

@fisherinbox
Copy link

@fisherinbox fisherinbox commented Oct 11, 2018

Expected behavior 期望表现

无需缓存,每次请求都重新计算

Actual behavior 实际表现

无法关闭缓存

Steps to reproduce the problem 复现步骤

  1. {step 1}
  2. {step 2}
  3. {step 3}

Status of loaded data 数据状态

Vertex/Edge summary 数据量

  • loaded vertices amount: {like 10 million}
  • loaded edges amount: {like 20 million}
  • loaded time: {like 200s}

Vertex/Edge example 数据示例

{type something here...}

Schema(VertexLabel, EdgeLabel, IndexLabel) 元数据结构

{type something here...}

Specifications of environment 环境信息

  • hugegraph version: {like v0.7.4}
  • operating system: {like centos 7.4, 32 CPUs, 64G RAM}
  • hugegraph backend: {like cassandra 3.10, cluster with 20 nodes, 3 x 1TB HDD disk each node}
@javeme

This comment has been minimized.

Copy link
Contributor

@javeme javeme commented Oct 11, 2018

0.8版及之前不支持关闭缓存,不过可以调小缓存容量vertex.cache_capacity来进行控制(最小值为1,0.9版最小值为0即不缓存),graph.cache_expire是缓存超时时间,设置为0表示永不超时。
配置项文档见:https://hugegraph.github.io/hugegraph-doc/guides/config-option.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.