Skip to content

Commit 5e17680

Browse files
Update query profiles with new operator MergeInto.
Sister of #1419
1 parent b4cb008 commit 5e17680

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

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

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -3403,23 +3403,23 @@ Runtime version {neo4j-version}
34033403
34043404
Batch size 128
34053405
3406-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
3407-
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
3408-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
3409-
| +ProduceResults | 0 | | 1 | 0 | 0 | | | | |
3410-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
3411-
| +EmptyResult | 1 | | 1 | 0 | 0 | | | | |
3412-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
3413-
| +Apply | 2 | | 1 | 1 | 0 | | | | |
3414-
| |\ +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
3415-
| | +LockingMerge | 3 | CREATE (s)-[anon_0:FRIENDS_WITH]->(s), LOCK(s) | 1 | 1 | 1 | | | | |
3416-
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
3417-
| | +Expand(Into) | 4 | (s)-[anon_0:FRIENDS_WITH]->(s) | 0 | 0 | 10 | 904 | | | |
3418-
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
3419-
| | +Argument | 5 | s | 1 | 3 | 0 | 2280 | 2/0 | 0.460 | Fused in Pipeline 1 |
3420-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
3421-
| +NodeIndexSeek | 6 | RANGE INDEX s:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 376 | 1/0 | 0.211 | In Pipeline 0 |
3422-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
3406+
+--------------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
3407+
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline | Indexes Used |
3408+
+--------------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
3409+
| +ProduceResults | 0 | | 1 | 0 | 0 | 0 | | | | |
3410+
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
3411+
| +EmptyResult | 1 | | 1 | 0 | 0 | | | | | |
3412+
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
3413+
| +Apply | 2 | | 1 | 0 | 0 | | | | | |
3414+
| |\ +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
3415+
| | +ArgumentTracker | 6 | | 1 | 0 | 0 | 736 | | | | |
3416+
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
3417+
| | +MergeInto | 3 | MERGE (s)-[anon_0:FRIENDS_WITH]->(s) | 1 | 1 | 1 | | | | | |
3418+
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
3419+
| | +Argument | 4 | s | 1 | 1 | 0 | 2288 | 1/0 | 1.626 | Fused in Pipeline 1 | |
3420+
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
3421+
| +NodeIndexSeek | 5 | RANGE INDEX s:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 376 | 1/0 | 0.300 | In Pipeline 0 | range_person_name: 1 |
3422+
+--------------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
34233423
34243424
Total database accesses: 15, total allocated memory: 2232
34253425
----
@@ -6050,7 +6050,7 @@ The `LockingMerge` operator is similar to the xref:planning-and-tuning/operators
60506050
----
60516051
PROFILE
60526052
MATCH (s:Person {name: 'me'})
6053-
MERGE (s)-[:FRIENDS_WITH]->(s)
6053+
MERGE (s)-[:FRIENDS_WITH]->(:Person {name: 'you'})
60546054
----
60556055
60566056
.Query Plan
@@ -6064,25 +6064,25 @@ Runtime version {neo4j-version}
60646064
60656065
Batch size 128
60666066
6067-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
6068-
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline |
6069-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
6070-
| +ProduceResults | 0 | | 1 | 0 | 0 | | | | |
6071-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
6072-
| +EmptyResult | 1 | | 1 | 0 | 0 | | | | |
6073-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
6074-
| +Apply | 2 | | 1 | 1 | 0 | | | | |
6075-
| |\ +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
6076-
| | +LockingMerge | 3 | CREATE (s)-[anon_0:FRIENDS_WITH]->(s), LOCK(s) | 1 | 1 | 1 | | | | |
6077-
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
6078-
| | +Expand(Into) | 4 | (s)-[anon_0:FRIENDS_WITH]->(s) | 0 | 0 | 10 | 904 | | | |
6079-
| | | +----+-------------------------------------------------------+----------------+------+---------+----------------+ | | |
6080-
| | +Argument | 5 | s | 1 | 3 | 0 | 2280 | 2/0 | 0.460 | Fused in Pipeline 1 |
6081-
| | +----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
6082-
| +NodeIndexSeek | 6 | RANGE INDEX s:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 376 | 1/0 | 0.211 | In Pipeline 0 |
6083-
+-----------------+----+-------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+
6084-
6085-
Total database accesses: 15, total allocated memory: 2232
6067+
+------------------+----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
6068+
| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Time (ms) | Pipeline | Indexes Used |
6069+
+------------------+----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
6070+
| +ProduceResults | 0 | | 0 | 0 | 0 | | | | | |
6071+
| | +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
6072+
| +EmptyResult | 1 | | 0 | 0 | 0 | | | | | |
6073+
| | +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
6074+
| +Apply | 2 | | 0 | 0 | 0 | | | | | |
6075+
| |\ +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
6076+
| | +LockingMerge | 3 | CREATE (anon_1:Person {name: $autostring_1}), (s)-[anon_0:FRIENDS_WITH]->(anon_1), LOCK(s) | 0 | 0 | 0 | | | | | |
6077+
| | | +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
6078+
| | +Expand(Into) | 4 | (s)-[anon_0:FRIENDS_WITH]->(anon_1) | 0 | 0 | 0 | | | | | |
6079+
| | | +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+ | | +----------------------+
6080+
| | +NodeIndexSeek | 5 | RANGE INDEX anon_1:Person(name) WHERE name = $autostring_1 | 0 | 0 | 0 | 128 | 0/0 | 0.000 | Fused in Pipeline 1 | |
6081+
| | +----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
6082+
| +NodeIndexSeek | 6 | RANGE INDEX s:Person(name) WHERE name = $autostring_0 | 0 | 0 | 1 | 376 | 1/0 | 0.186 | In Pipeline 0 | range_person_name: 1 |
6083+
+------------------+----+--------------------------------------------------------------------------------------------+----------------+------+---------+----------------+------------------------+-----------+---------------------+----------------------+
6084+
6085+
Total database accesses: 1, total allocated memory: 584
60866086
----
60876087
60886088
======

0 commit comments

Comments
 (0)