graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

How to remove subgraph data

Open ipetrov22 opened this issue 6 months ago • 0 comments

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.

ipetrov22 avatar Jun 05 '25 16:06 ipetrov22