How to remove subgraph data

未关闭
#6,052 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
postgres

调研方向

首先检查 graph-node CLI 中 graph remove <SUBGRAPH_NAME> --node <ip> 的行为及其对 PostgreSQL 数据的处理。确定删除操作是会删除数据库数据,还是仅解除 subgraph 的链接,然后记录回收未使用存储空间的受支持方式。

由索引模型根据 Issue 内容生成。

描述

documentation Stale

Hey guys, I'm using a self-deployed graph-node connected to a custom chain. All works well, but its running out of storage quickly and I suspect there might be unused subgraph data.

When I run graph remove <SUBGRAPH_NAME> --node <ip> does this remove the DB data in postgres or it just unlinks the subgraph from its name? If it doesn't remove DB data what are the ways to do so?

I apologize if there is a duplicate issue, but I spent some time searching and couldn't find anything.

主要语言
Rust
星标
3.2k
派生
1.1k
平均合并
4 天 1 小时
30 天内合并 PR
1

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

graphprotocol/graph-node 的其他 Issue

查看 graphprotocol/graph-node 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。