网站推广销售腾讯会员被告怎么办,wordpress视频插件w,网站建设结构方案,wordpress 历史上今天多图配置
我们的系统是可以存在多个图的#xff0c;并且各个图的后端可以不一样#xff0c;比如图 hugegraph 和 hugegraph1#xff0c;其中 hugegraph 以 cassandra 作为后端#xff0c;hugegraph1 以 rocksdb作为后端。
配置方法也很简单#xff1a;
修改 gremlin-se…多图配置
我们的系统是可以存在多个图的并且各个图的后端可以不一样比如图 hugegraph 和 hugegraph1其中 hugegraph 以 cassandra 作为后端hugegraph1 以 rocksdb作为后端。
配置方法也很简单
修改 gremlin-server.yaml
在 gremlin-server.yaml 的 graphs 域中添加一个键值对键为图的名字值为图的配置文件路径比如
graphs: {hugegraph: conf/hugegraph.properties,hugegraph1: conf/hugegraph1.properties
}修改 rest-server.properties
在 rest-server.properties 的 graphs 域中添加一个键值对键为图的名字值为图的配置文件路径比如
graphs[hugegraph:conf/hugegraph.properties, hugegraph1:conf/hugegraph1.properties]添加 hugegraph1.properties
拷贝 hugegraph.properties命名为 hugegraph1.properties修改图对应的数据库名以及关于后端部分的参数比如
storehugegraph1...backendrocksdb
serializerbinary停止 Server初始化执行 init-store.sh为新的图创建数据库重新启动 Server
$ bin/stop-hugegraph.sh
$ bin/init-store.sh
$ bin/start-hugegraph.sh hugegraph-studio 也要相应启动两个