Cypher Indexes and Constraints
Make your graph more performant with Cypher constraints and indexes
In this 2-hour course, you will learn
Build on from the knowledge gained in the Cypher Intermediate Queries course by learning how to create and manage indexes and constraints to make your database more performant.
This course uses the Recommendations dataset which contains Person, Movie, Genre, and User nodes.
Prerequisites
To take this course we recommend that you have taken these courses in GraphAcademy:
Constraints
Indexes
Full-text indexes and search
Index Management
5 modules, 2 hours.
- Constraints in Neo4j5 min
- Creating Uniqueness Constraints5 min
- Creating Uniqueness Constraints5 min
- Creating Existence Constraints for Node Properties5 min
- Creating Existence Constraints for Node properties5 min
- Creating Existence Constraints on Relationship Properties5 min
- Creating Existence Constraints for Relationship Properties5 min
- Creating Node Key Constraints5 min
- Creating a Node Key Constraint5 min
- Managing Constraints in Neo4j5 min
- Dropping Constraints5 min
Posts from the GraphAcademy blog.
TIL: Cypher has a format() function for dates and times
A deprecation warning taught me that Cypher now formats dates, times, and durations natively. No APOC required.
Replacing your APOC Periodic Iterate with CALL {} IN TRANSACTIONS
apoc.periodic.iterate is deprecated in Cypher 25. Learn how to rewrite your queries with CALL {} IN TRANSACTIONS.
How Cypher Graph Types Kept Our AI-Generated Queries Honest During a Migration
We rebuilt GraphAcademy against the same Neo4j database. Graph types made sure AI-generated Cypher could not drift from the data model.