Knowledge Base

Articles tagged as schema

A method to calculate the size of an index in Neo4j.

If the need arises to calculate the size of an index in Neo4j, for capacity planning purposes, there are two methods available: 1) Execute the db.indexes() procedure: CALL db.indexes() YIELD…

Read more

Migrating Explicit Lucene Indexes to Native Schema Indexes

Given that there are still some customers on the older Neo4j releases that utilize legacy/explicit indexes, we will discuss a few pointers here on how to convert these indexes to…

Read more

Using Cypher to generate Cypher statements to recreate Users and Roles

The following can be used to extract user and role definitions from an existing database and the resultant output can be played back on another Neo4j database. The resultant output…

Read more

Viewing schema data with APOC Procedures

APOC Procedures offers meta procedures to view information about your database schema and the data it stores. The procedure apoc.meta.schema() uses a sampling of the graph data to produce a…

Read more