Skip to content

Commit 5d2aea5

Browse files
authored
Add a notice for directedUnionRelationshipTypeScans (#1002)
The UnionRelationshipTypeScans are not supported in the block-store storage formats. Therefore, since they have been rolled out as the default in enterprise, we add a note suggesting these plans will not be used in the planner anymore.
1 parent 5793f73 commit 5d2aea5

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,12 +1688,14 @@ Total database accesses: 37
16881688

16891689
The `DirectedUnionRelationshipTypesScan` operator fetches all relationships and their start and end nodes with at least one of the provided types from the relationship type index.
16901690

1691+
[NOTE]
1692+
As the block storage format becomes the default, this operator will cease to be used in generating plans. Please refer to link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats[Operations Manual -> Store formats] for futher details on the various store formats available.
16911693

16921694
.DirectedUnionRelationshipTypesScan
16931695
======
16941696
16951697
.Query
1696-
[source,cypher]
1698+
[source,cypher,role=test-result-skip]
16971699
----
16981700
PROFILE
16991701
MATCH ()-[friendOrFoe: FRIENDS_WITH|FOE]->()
@@ -1733,12 +1735,14 @@ Total database accesses: 14, total allocated memory: 184
17331735
The `PartitionedDirectedUnionRelationshipTypeScan` is a variant of the xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-directed-union-relationship-types-scan[`DirectedUnionRelationshipTypesScan`] operator used by the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-parallel-runtime[parallel runtime].
17341736
It allows the index to be partitioned into different segments where each segment can be scanned independently in parallel.
17351737

1738+
[NOTE]
1739+
As the block storage format becomes the default, this operator will cease to be used in generating plans. Please refer to link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats[Operations Manual -> Store formats] for futher details on the various store formats available.
17361740

17371741
.PartitionedDirectedUnionRelationshipTypesScan
17381742
======
17391743
17401744
.Query
1741-
[source,cypher]
1745+
[source,cypher,role=test-result-skip]
17421746
----
17431747
CYPHER runtime=parallel
17441748
PROFILE
@@ -1777,12 +1781,14 @@ Total database accesses: 25
17771781

17781782
The `UndirectedUnionRelationshipTypesScan` operator fetches all relationships and their start and end nodes with at least one of the provided types from the relationship type index.
17791783

1784+
[NOTE]
1785+
As the block storage format becomes the default, this operator will cease to be used in generating plans. Please refer to link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats[Operations Manual -> Store formats] for futher details on the various store formats available.
17801786

17811787
.UndirectedUnionRelationshipTypeScan
17821788
======
17831789
17841790
.Query
1785-
[source,cypher]
1791+
[source,cypher,role=test-result-skip]]
17861792
----
17871793
PROFILE
17881794
MATCH ()-[friendOrFoe: FRIENDS_WITH|FOE]-()
@@ -1822,11 +1828,14 @@ Total database accesses: 14, total allocated memory: 184
18221828
The `PartitionedUndirectedUnionRelationshipTypeScan` is a variant of the xref:planning-and-tuning/operators/operators-detail.adoc#query-plan-undirected-union-relationship-types-scan[`UndirectedUnionRelationshipTypesScan`] operator used by the xref:planning-and-tuning/runtimes/concepts.adoc#runtimes-parallel-runtime[parallel runtime].
18231829
It allows the index to be partitioned into different segments where each segment can be scanned independently in parallel.
18241830

1831+
[NOTE]
1832+
As the block storage format becomes the default, this operator will cease to be used in generating plans. Please refer to link:{neo4j-docs-base-uri}/operations-manual/{page-version}/database-internals/store-formats[Operations Manual -> Store formats] for futher details on the various store formats available.
1833+
18251834
.PartitionedUndirectedUnionRelationshipTypesScan
18261835
======
18271836
18281837
.Query
1829-
[source,cypher]
1838+
[source,cypher,role=test-result-skip]
18301839
----
18311840
CYPHER runtime=parallel
18321841
PROFILE

0 commit comments

Comments
 (0)