# Deleting a large named graph using DROP GRAPH times out

**URL:** <https://community.stardog.com/t/deleting-a-large-named-graph-using-drop-graph-times-out/2711>\
**Category:** Support\
**Created:** [September 16, 2020, 8:12pm UTC](https://community.stardog.com/t/deleting-a-large-named-graph-using-drop-graph-times-out/2711 "2020-09-16T20:12:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![arwesterinen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/arwesterinen/32/40_2.png) [@arwesterinen](https://community.stardog.com/u/arwesterinen)\
**Post date:** [September 16, 2020, 8:12pm UTC](https://community.stardog.com/t/deleting-a-large-named-graph-using-drop-graph-times-out/2711/1 "2020-09-16T20:12:39Z")

</div>

I have a time out set to 20mins and a "DROP GRAPH \<\>;" command exceeded that.

The graph had 64M triples in it.

Is there a better way to do the delete? There are other graphs in the DB, varying from a few thousand triples to millions.

Andrea

---

<div class="post-metadata">

**Author:** ![dlbis](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/dlbis/32/721_2.png) [@dlbis](https://community.stardog.com/u/dlbis)\
**Post date:** [September 21, 2020, 8:30pm UTC](https://community.stardog.com/t/deleting-a-large-named-graph-using-drop-graph-times-out/2711/2 "2020-09-21T20:30:10Z")

</div>

Hi,

You can use the Data Remove CLI command with the -g parameter for the named graph.

> **[Command Line Interface](https://docs.stardog.com/operating-stardog/command-line-interface)**
>
> This page discusses the command line interace (CLI) to interact with Stardog.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)\
**Post date:** [October 5, 2020, 8:30pm UTC](https://community.stardog.com/t/deleting-a-large-named-graph-using-drop-graph-times-out/2711/3 "2020-10-05T20:30:14Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
