O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A query plan

To illustrate, here is an example of a query plan, which reads from top to bottom. You can see the related query in the image; it is based on the Movies dataset that is available if you follow the slides tied to the :play movies command:

A short execution plan

The first operator is NodeByLabelScan because I mentioned the labels. If I drop them, the execution plan becomes the following:

A longer execution plan

As you will notice, it starts with the operator AllNodesScan, which means that all the nodes in the database are evaluated ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required