# Bulk delete (drop database?)

**URL:** <https://discuss.dgraph.io/t/bulk-delete-drop-database/998>\
**Category:** Users\
**Created:** [October 12, 2016, 6:30pm UTC](https://discuss.dgraph.io/t/bulk-delete-drop-database/998 "2016-10-12T18:30:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![richburdon](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@richburdon](https://discuss.dgraph.io/u/richburdon)\
**Post date:** [October 12, 2016, 6:30pm UTC](https://discuss.dgraph.io/t/bulk-delete-drop-database/998/1 "2016-10-12T18:30:44Z")

</div>

How can I delete/drop/reset the database? Where are the RocksDB files stored?

Google “dgraph drop OR delete -neo4j -titan” only turns up this:

> [@Delete data from graph](http://discuss.hypermode.com/t/delete-data-from-graph/258):
>
> This should be fairly straight forward but I can’t find any reference to delete semantics. If you want to delete data from your graph do you want to delete just the edge or can you delete a node and have it clean up all the edges attached to it? What do the queries look like to do something like this?

Also, any notes/thoughts on horizontal scaling/sharding?

Thanks

ANSWERING MY OWN QUESTION:

OK. I was looking for a programmatic API, but I see that I can delete the --mutations --postings --uids directories.

And the following links are what I was looking for re your plans for horizontal scaling:

> <https://github.com/dgraph-io/dgraph/issues/1>
>
> \- \[x\] Low Latency
> \- \[x\] High Throughput
> \- \[x\] RDF Parsing
> \- \[x\] ~\[Rocks DB\](http…://rocksdb.org/)~ Badger DB for persistence
> \- \[x\] ~Commit Logs~ (Replaced by RAFT logs)
> \- \[x\] Query Language - \[GraphQL\](http://facebook.github.io/graphql/)-like
> - \[x\] Query
> - \[x\] Root Arguments
> - \[x\] Fields
> - \[x\] Response in JSON
> - \[x\] Field Arguments
> - \[x\] Field Alias
> - \[x\] Mutations #23 \[v0.2\]
> - \[x\] Fragments #8 
> - \[x\] Variables
> - \[x\] Type System
> - \[x\] Scalar Types
> - \[x\] ~Object Types~
> - \[x\] Mutation validation for scalar types
> - \[x\] String matching / Name search
> - \[x\] Sort by attribute
> - \[x\] Limit number of results #9
> - \[x\] Filter
> - \[x\] anyof
> - \[x\] allof
> - \[x\] eq (equal)
> - \[x\] inequality (\>=, \<=, \>, \<)
> - \[x\] Aggregate Functions
> - \[x\] count
> - \[x\] sum
> - \[x\] max
> - \[x\] min
> - \[x\] Geospatial Queries
> - \[x\] Nearby
> - \[x\] Within
> - \[x\] Contains
> - \[x\] Intersects
> \- \[x\] Official Clients
> - \[x\] Javascript
> - \[x\] Go \[v0.3\]
> - \[x\] Java
> \- \[x\] Distributed Transactions
> \- \[x\] Distributed #14 \[v0.2\]
> - \[x\] Distributed Loader \[v0.2\]
> - \[x\] Distributed Server \[v0.2\]
> \- \[x\] Clustering
> - \[x\] Node discovery and membership via Dgraph Zero
> \- \[x\] High Availability
> - \[x\] Raft
> - \[x\] Automatic Data Replication
> - \[x\] Automatic Failover for reads
> - \[x\] Read linearizability
> \- \[x\] Resilience
> - \[x\] Shard moves to handle server failure
> \- \[x\] Export
> \- \[\] Backup
> 
> \---
> \### After v1.0 / Proprietary Plugins
> 
> \- \[\] Multi-homing support
> \- \[\] Cypher Support
> \- \[\] Access Control Lists
> \- \[\] Query Graphical User Interface
> \- \[\] User authentication
> \- \[\] Cluster Management
> \- \[\] SPARQL \[maybe\]
> \- \[\] Tinkerpop Support \[maybe\]
> \- \[x\] Distributed transactions \[maybe\]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex007/uploads/dgraph/original/2X/2/2b38fdece2abe5814f2e51bee69d1e67fc304b0a.png) [@system](https://discuss.dgraph.io/u/system)\
**Post date:** [November 28, 2017, 12:59am UTC](https://discuss.dgraph.io/t/bulk-delete-drop-database/998/2 "2017-11-28T00:59:40Z")

</div>

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