【问题标题】:Delete all data in aws neptune删除 aws neptune 中的所有数据
【发布时间】:2019-05-13 14:07:52
【问题描述】:

我有一个 aws neptune 集群,我使用 sparql http api 插入了许多 ntriples 和 nquads 数据。

curl -X POST --data-binary 'update=INSERT DATA { http://test.com/s http://test.com/p http://test.com/o . }' http://your-neptune-endpoint:8182/sparql

我想清理我插入的所有数据(不是实例)

我该怎么做?

【问题讨论】:

    标签: amazon-web-services amazon-neptune


    【解决方案1】:

    您可以通过SPARQL DROP ALL 删除您的所有数据。

    如果您想要一个真正空的数据库(没有数据、cloudwatch 中没有指标、没有审计历史等),那么我强烈建议您重新创建一个新集群。只需几分钟。

    【讨论】:

    • 示例:awscurl -X POST --region "${region}" --service neptune-db --access_key "${access_key}" --secret_key "${secret_key}" "https://${url}:${port}/sparql" -d 'DROP ALL' -H "Content-Type: application/sparql-update"
    猜你喜欢
    • 2020-06-21
    • 1970-01-01
    • 2018-11-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多