O'Reilly logo

Neo4j Cookbook by Ankur Goel

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

Optimizing the Cypher query for performance

Cypher is the most important aspect of Neo4j, and many migrations to the Neo4j database from their SQL counterparts are because of it. It provides easy migration from the SQL background to Neo4j without losing flexibility in querying, which the SQL language provides.

In this recipe, you will learn the various aspects of how to improve Cypher query performance; however, it totally depends on the domain and the application involved.

Getting ready

To get started with this recipe, install Neo4j using the earlier recipes from Chapter 1, Getting Started with Neo4j, of this book.

How to do it...

The profiling of a Cypher query should be the first step.

Now, you will learn some aspects of how to improve Cypher query ...

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