Skip to content

Commit 36e1a32

Browse files
Add note clarifying DELETE does not free up disk space (#1025)
1 parent c0bb312 commit 36e1a32

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/ROOT/pages/clauses/delete.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ The `DELETE` clause is used to delete nodes, relationships or paths.
99
For removing properties and labels, see the xref::clauses/remove.adoc[REMOVE] clause.
1010

1111
It is not possible to delete nodes with relationships connected to them without also deleting the relationships.
12-
This can be done by either explicitly deleting specific relationships, or by using the `DETACH DELETE` clause.
12+
This can be done by either explicitly deleting specific relationships, or by using the `DETACH DELETE` clause.
13+
14+
[NOTE]
15+
While the `DELETE` clause renders the deleted objects no longer accessible, the space occupied by the deleted nodes and relationships remain on the disk and is reserved for future transactions creating data.
16+
For information about how to clear and reuse the space occupied by deleted objects, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/performance/space-reuse/[Operations Manual -> Space reuse].
1317

1418
== Example graph
1519

0 commit comments

Comments
 (0)