【问题标题】:Amazon Neptune: How to perform bulk update of edge/vertice properties?Amazon Neptune:如何执行边/顶点属性的批量更新?
【发布时间】:2019-12-12 21:32:04
【问题描述】:

我正在尝试使用以下 gremlin 命令对属性图中的边执行批量更新:

g.E().hasLabel('foo').property('expiry', 1607808123)

我的图中带有此标签的边数约为 300 万。我预计此操作将长时间运行,但我遇到的是大约 3 分钟后来自 Neptune 的 TimeLimitExceededException 异常。是否有支持在 Amazon Neptune 中执行长时间运行的批量更新的方法?

【问题讨论】:

    标签: amazon-web-services gremlin amazon-neptune


    【解决方案1】:

    您是否尝试过增加与您的集群关联的数据库集群参数组中的 neptune_query_timeout 值?我认为默认值是 120 秒,但您可以设置更大的值。

    https://docs.aws.amazon.com/en_us/neptune/latest/userguide/parameters.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-14
      • 2012-12-10
      • 1970-01-01
      • 1970-01-01
      • 2020-11-08
      相关资源
      最近更新 更多