A database is the life force behind an application, and that calls for a high degree of initial optimization depending upon the type and size of data to be stored and resources available on the server. Being written in Java, Neo4j also requires you to configure the Java related parameters properly as well. In the upcoming sections, we will look at how you can tweak your system and database configurations to maintain your Neo4j data store in good health.
For advanced usage of the Neo4j database, you can configure several parameters to keep the resources in check. The primary configuration file, Neo4j, is located in the conf/neo4j-server.properties
directory. For normal development purposes, the default settings are sufficient. However, as an administrator, you can make suitable changes to the settings.
You can set the base directory on the disk where your database resides using the following property:
org.neo4j.server.database.location=/path/to/database/graph...