Module 6

Reducing Memory

In Full definition for Cypher (opens in a new tab)Neo4j's implementation of GQL, the ISO standard query language for graph databases. It is declarative: you describe the pattern to find, and the database decides how to find it., a query represents a single Full definition for transaction (opens in a new tab)A unit of work that either succeeds in full or leaves no trace. against the graph. Large queries will use more memory and you may need to reduce the amount of memory required for a query. Cypher statement tuning is beyond the scope of this course, but in this lesson, you will learn some techniques for keeping queries smaller. Limiting results and filtering your queries are the easiet ways to reduce memory requirements that you have already learned about.

In this module, you will learn how to reduce memory by:

  • Using CALL to perform a subquery.
  • Using UNION to combine the results of multiple queries.
Ready, let's go!