我正在通过Java创建Titan-Graph。 Dynamo-db local作为后端。我的问题是,在graph.tx()。commit()上,我需要更多时间才能在图中创建400多个顶点。 commit()所花费的时间大约是10-15分钟。 我的泰坦配置如下:
BaseConfiguration conf = new BaseConfiguration();
conf.setProperty("storage.backend", "com.amazon.titan.diskstorage.dynamodb.DynamoDBStoreManager");
conf.setProperty("storage.dynamodb.client.endpoint", "http://localhost:4567");
conf.setProperty("storage.batch-loading ", "true");
conf.setProperty("storage.buffer-size", "10000");
conf.setProperty("cache.db-cache", "true");
conf.setProperty("index.search.backend", "elasticsearch");
conf.setProperty("index.search.directory", "/tmp/searchindex");
conf.setProperty("index.search.elasticsearch.client-only", "false");
conf.setProperty("index.search.elasticsearch.local-mode", "true");
TitanGraph graph = TitanFactory.open(conf);
请建议我提高泰坦性能的解决方案。