Book Image

Learning Cypher

By : Onofrio Panzarino
Book Image

Learning Cypher

By: Onofrio Panzarino

Overview of this book

Table of Contents (13 chapters)

Chapter 4. Improving Performance

Using Neo4j has several advantages, including a very natural model that allows you to easily express complex schemas with a lot of relations as well as Atomicity, Consistency, Isolation, and Durability (ACID) transactions. It gives a great performance compared to relational databases.

Performance is a key feature in some scenarios and drives developers and architects to choose Neo4j. In this chapter, you will learn about:

  • Several performance issues that you face while using Cypher and some possible solutions

  • How to profile a Cypher query to estimate its computational cost and its cost in terms of number of times I/O is accessed

  • How to use the schema to preserve the integrity of the database and take advantage of it to improve performance