From 5ae1cdd3a24162f311dcd6c47f3a453a617377e6 Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 17 Dec 2025 16:34:19 +0100 Subject: [PATCH 1/6] changed a query plan --- .../operators/operators-detail.adoc | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index a7fe8eac6..0011dc82c 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2854,27 +2854,27 @@ Runtime SLOTTED Runtime version {neo4j-version} -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +ProduceResults | `other.name` | 4 | 12 | 0 | | 0/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Projection | other.name AS `other.name` | 4 | 12 | 12 | | 1/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +AntiSemiApply | | 4 | 12 | 0 | | 0/0 | -| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +Expand(Into) | (me)-[anon_2:FRIENDS_WITH]->(other) | 1 | 0 | 81 | 896 | 28/0 | -| | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +Argument | me, other | 14 | 14 | 0 | | 0/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +CartesianProduct | | 14 | 14 | 0 | | 0/0 | -| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +NodeByLabelScan| other:Person | 14 | 14 | 35 | | 1/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 0/1 | -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ - -Total database accesses: 166, total allocated memory: 976 ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Indexes Used | ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| +ProduceResults | 0 | `other.name` | 13 | 12 | 0 | 0 | 0/0 | | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| +Projection | 1 | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| +Apply | 2 | | 13 | 12 | 0 | | 0/0 | | +| |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| | +AntiSemiApply | 3 | | 13 | 12 | 0 | | 0/0 | | +| | |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| | | +Expand(Into) | 4 | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | | +| | | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| | | +Argument | 5 | me, other | 14 | 14 | 0 | | 0/0 | | +| | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| | +NodeByLabelScan | 6 | other:Person | 14 | 14 | 15 | | 1/0 | | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ +| +NodeIndexSeek | 7 | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | range_person_name: 1 | ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ + +Total database accesses: 45, total allocated memory: 672 ---- ====== From ad96d3dec68cb816e4dfeeb5a796c270ed6f6f47 Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 17 Dec 2025 19:04:32 +0100 Subject: [PATCH 2/6] plan update --- .../operators/operators-detail.adoc | 46 ++++++++++--------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index 0011dc82c..02adb6182 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2854,27 +2854,31 @@ Runtime SLOTTED Runtime version {neo4j-version} -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | Indexes Used | -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| +ProduceResults | 0 | `other.name` | 13 | 12 | 0 | 0 | 0/0 | | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| +Projection | 1 | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| +Apply | 2 | | 13 | 12 | 0 | | 0/0 | | -| |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| | +AntiSemiApply | 3 | | 13 | 12 | 0 | | 0/0 | | -| | |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| | | +Expand(Into) | 4 | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | | -| | | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| | | +Argument | 5 | me, other | 14 | 14 | 0 | | 0/0 | | -| | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| | +NodeByLabelScan | 6 | other:Person | 14 | 14 | 15 | | 1/0 | | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ -| +NodeIndexSeek | 7 | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | range_person_name: 1 | -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+----------------------+ - -Total database accesses: 45, total allocated memory: 672 ++-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | ++-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +ProduceResults | `other.name` | 4 | 12 | 0 | | 0/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Projection | other.name AS `other.name` | 4 | 12 | 24 | | 2/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Apply | | 4 | 12 | 0 | | 0/0 | +| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +Anti | | 4 | 12 | 0 | 1256 | 0/0 | +| | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +Limit | 1 | 11 | 2 | 0 | 752 | | +| | | +--------------------------------------------------------+----------------+------+---------+----------------+ | +| | +Expand(Into) | (me)-[anon_2:FRIENDS_WITH]->(other) | 1 | 2 | 81 | 2632 | | +| | | +--------------------------------------------------------+----------------+------+---------+----------------+ | +| | +Argument | me, other | 14 | 14 | 0 | 3192 | 1/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +CartesianProduct | | 14 | 14 | 0 | 3672 | | +| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +NodeByLabelScan| other:Person | 14 | 14 | 35 | | | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 120 | 0/1 | ++-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ + +Total database accesses: 178, total allocated memory: 6744 ---- ====== From 2b401093ac6fb2c52e151bfea81544980f8b9dcb Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 17 Dec 2025 19:12:14 +0100 Subject: [PATCH 3/6] plan update --- .../operators/operators-detail.adoc | 42 +++++++++---------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index 02adb6182..d26ab2874 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2854,29 +2854,25 @@ Runtime SLOTTED Runtime version {neo4j-version} -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +ProduceResults | `other.name` | 4 | 12 | 0 | | 0/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Projection | other.name AS `other.name` | 4 | 12 | 24 | | 2/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Apply | | 4 | 12 | 0 | | 0/0 | -| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +Anti | | 4 | 12 | 0 | 1256 | 0/0 | -| | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +Limit | 1 | 11 | 2 | 0 | 752 | | -| | | +--------------------------------------------------------+----------------+------+---------+----------------+ | -| | +Expand(Into) | (me)-[anon_2:FRIENDS_WITH]->(other) | 1 | 2 | 81 | 2632 | | -| | | +--------------------------------------------------------+----------------+------+---------+----------------+ | -| | +Argument | me, other | 14 | 14 | 0 | 3192 | 1/0 | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +CartesianProduct | | 14 | 14 | 0 | 3672 | | -| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +NodeByLabelScan| other:Person | 14 | 14 | 35 | | | -| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 120 | 0/1 | -+-------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +ProduceResults | 0 | `other.name` | 13 | 12 | 0 | 0 | 0/0 | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Projection | 1 | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Apply | 2 | | 13 | 12 | 0 | | 0/0 | +| |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +AntiSemiApply | 3 | | 13 | 12 | 0 | | 0/0 | +| | |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | | +Expand(Into) | 4 | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | +| | | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | | +Argument | 5 | me, other | 14 | 14 | 0 | | 0/0 | +| | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +NodeByLabelScan | 6 | other:Person | 14 | 14 | 15 | | 1/0 | +| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +NodeIndexSeek | 7 | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | ++--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ Total database accesses: 178, total allocated memory: 6744 ---- From 5946b43597198d4dd14b15d2e96041e237514bac Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 17 Dec 2025 19:13:41 +0100 Subject: [PATCH 4/6] removed indexes --- .../operators/operators-detail.adoc | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index d26ab2874..65c64faa7 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2854,25 +2854,25 @@ Runtime SLOTTED Runtime version {neo4j-version} -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| Operator | Id | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +ProduceResults | 0 | `other.name` | 13 | 12 | 0 | 0 | 0/0 | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Projection | 1 | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Apply | 2 | | 13 | 12 | 0 | | 0/0 | -| |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +AntiSemiApply | 3 | | 13 | 12 | 0 | | 0/0 | -| | |\ +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Expand(Into) | 4 | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | -| | | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Argument | 5 | me, other | 14 | 14 | 0 | | 0/0 | -| | | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +NodeByLabelScan | 6 | other:Person | 14 | 14 | 15 | | 1/0 | -| | +----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +NodeIndexSeek | 7 | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | -+--------------------+----+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ ++--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | ++--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +ProduceResults | `other.name` | 13 | 12 | 0 | 0 | 0/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Projection | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +Apply | | 13 | 12 | 0 | | 0/0 | +| |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +AntiSemiApply | | 13 | 12 | 0 | | 0/0 | +| | |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | | +Expand(Into) | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | +| | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | | +Argument | me, other | 14 | 14 | 0 | | 0/0 | +| | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| | +NodeByLabelScan | other:Person | 14 | 14 | 15 | | 1/0 | +| | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ +| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | ++--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ Total database accesses: 178, total allocated memory: 6744 ---- From 1d9e02525d74110f8905b62143fc402474035ba7 Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Wed, 17 Dec 2025 19:22:23 +0100 Subject: [PATCH 5/6] plan update --- .../operators/operators-detail.adoc | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index 65c64faa7..5d899b419 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2857,24 +2857,28 @@ Runtime version {neo4j-version} +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ | Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +ProduceResults | `other.name` | 13 | 12 | 0 | 0 | 0/0 | +| +ProduceResults | `other.name` | 13 | 11 | 0 | 0 | 0/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Projection | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | +| +Projection | other.name AS `other.name` | 13 | 11 | 22 | | 0/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Apply | | 13 | 12 | 0 | | 0/0 | +| +Apply | | 13 | 11 | 0 | | 0/0 | | |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +AntiSemiApply | | 13 | 12 | 0 | | 0/0 | +| | +Apply | | 13 | 11 | 0 | | 0/0 | | | |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Expand(Into) | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | +| | | +Anti | | 13 | 11 | 0 | 1256 | 0/0 | | | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Argument | me, other | 14 | 14 | 0 | | 0/0 | +| | | +Limit | 1 | 1 | 3 | 0 | 752 | | +| | | | +--------------------------------------------------------+----------------+------+---------+----------------+ | +| | | +Expand(Into) | (me)-[:FRIENDS_WITH]->(other) | 1 | 3 | 17 | 592 | | +| | | | +--------------------------------------------------------+----------------+------+---------+----------------+ | +| | | +Argument | me, other | 14 | 14 | 0 | 4472 | 1/0 | | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +NodeByLabelScan | other:Person | 14 | 14 | 15 | | 1/0 | +| | +NodeByLabelScan | other:Person | 14 | 14 | 15 | 2424 | 1/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | +| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 376 | 1/0 | +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -Total database accesses: 178, total allocated memory: 6744 +Total database accesses: 56, total allocated memory: 7024 ---- ====== From 40f1ebb37470471ebb7f1817824c77dd51c2d1e8 Mon Sep 17 00:00:00 2001 From: Richard Sill Date: Thu, 18 Dec 2025 08:52:40 +0100 Subject: [PATCH 6/6] plan change --- .../operators/operators-detail.adoc | 22 ++++++++----------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc index 5d899b419..c31cda234 100644 --- a/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc +++ b/modules/ROOT/pages/planning-and-tuning/operators/operators-detail.adoc @@ -2857,28 +2857,24 @@ Runtime version {neo4j-version} +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ | Operator | Details | Estimated Rows | Rows | DB Hits | Memory (Bytes) | Page Cache Hits/Misses | +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +ProduceResults | `other.name` | 13 | 11 | 0 | 0 | 0/0 | +| +ProduceResults | `other.name` | 13 | 12 | 0 | 0 | 0/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Projection | other.name AS `other.name` | 13 | 11 | 22 | | 0/0 | +| +Projection | other.name AS `other.name` | 13 | 12 | 12 | | 0/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +Apply | | 13 | 11 | 0 | | 0/0 | +| +Apply | | 13 | 12 | 0 | | 0/0 | | |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +Apply | | 13 | 11 | 0 | | 0/0 | +| | +AntiSemiApply | | 13 | 12 | 0 | | 0/0 | | | |\ +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Anti | | 13 | 11 | 0 | 1256 | 0/0 | +| | | +Expand(Into) | (me)-[:FRIENDS_WITH]->(other) | 1 | 0 | 16 | 592 | 1/0 | | | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | | +Limit | 1 | 1 | 3 | 0 | 752 | | -| | | | +--------------------------------------------------------+----------------+------+---------+----------------+ | -| | | +Expand(Into) | (me)-[:FRIENDS_WITH]->(other) | 1 | 3 | 17 | 592 | | -| | | | +--------------------------------------------------------+----------------+------+---------+----------------+ | -| | | +Argument | me, other | 14 | 14 | 0 | 4472 | 1/0 | +| | | +Argument | me, other | 14 | 14 | 0 | | 0/0 | | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| | +NodeByLabelScan | other:Person | 14 | 14 | 15 | 2424 | 1/0 | +| | +NodeByLabelScan | other:Person | 14 | 14 | 15 | | 1/0 | | | +--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | 376 | 1/0 | +| +NodeIndexSeek | RANGE INDEX me:Person(name) WHERE name = $autostring_0 | 1 | 1 | 2 | | 1/0 | +--------------------+--------------------------------------------------------+----------------+------+---------+----------------+------------------------+ -Total database accesses: 56, total allocated memory: 7024 +Total database accesses: 45, total allocated memory: 672 ---- ======