Course · Part of Sharpen your Cypher
Cypher Indexes and Constraints
Make your graph more performant with Cypher constraints and indexes
About this course
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
Course content
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
Further reading
Posts from the GraphAcademy blog.
9 min read
Writing Cypher Queries That Don't Lose Your Data
The query trap that hides your newest data, and the query shape that brings it back.
Kemi Elizabeth OjogbedeRead post
16 min read
SQL to Cypher - 10 Queries You Already Know
You already know how to write these queries. This article shows you what they look like when the joins go away.
Jeremy MorganRead post
4 min read
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.
Adam CowleyRead post