How do I override browser configuration settings

Commencing with Neo4j 3.2.2 one can override default configuration settings of the browser whereby a number of these settings are defined under the left frame and through the ‘gears’ icon. To implement said functionality you would first need to know… Read more →

Explore:  


Diagnose storage performance issues

Slow storage can affect Neo4j performance, therefore we recommend using Solid State Drives in the product documentation. Benchmark your underlying system On Ubuntu or RedHat, you can use fio tool to benchmark your underlying storage. The command below will create… Read more →

Explore:  


Resolve TLS certificate errors

TLS encryption is required everywhere. This is a compilation of few errors you can expect while configuring your server. openssl command is required to diagnose or manipulate the certificates. Check the permission on the folder neo4j might run as a… Read more →

Explore:  


Will execution_guard_enabled work in my release of Neo4j?

Background From the beginning, the execution guard was never meant to be used by the general public. However, the feature was there in the product, though undocumented, and it did work for the purpose of preventing long running queries from… Read more →

Explore:  


Checkpointing and Log Pruning interactions

Overview Checkpointing is the process of flushing all pending page updates from the page cache to the store files. This is necessary for ensuring that the number of transactions that are in need of being replayed during recovery is kept… Read more →

Explore:  


Manually Merging neo4j-wrapper.conf into neo4j.conf in Neo4j 3.1

Neo4j 3.1 takes the configuration changes made in Neo4j 3.0 a step further, and ships with a single configuration file: conf/neo4j.conf. This is the result of merging the contents of conf/neo4j.conf and conf/neo4j-wrapper.conf. The upgrade does not merge these automatically,… Read more →

Explore:  


How do I quickly switch between multiple graphs without modifying neo4j.conf?

If you have multiple graphs set up and want to quickly switch between each without modifying dbms.active_database in conf/neo4j.conf, you can accomplish this with a neo4j restart and with the environment variable NEO4J_CONF defined pointing to the appropriate/corresponding neo4j.conf file.… Read more →

Explore:  


Tuning GC algorithms

Introduction There are several Garbage Collection algorithms available in Java. You can find the supported JDKs in our product requirements section. We will review some of the available GCs and their main features. G1 This is the default GC algorithm… Read more →

Explore:  


Understanding logical logs and effects of parameters keep_logical_logs and logical_log_rotation_threshold

Neo4j maintains logical logs for incremental backup and cluster consistency. The logical logs are named as follows: pre 2.2 data/graph.db/nioneo_logical.log* 2.2 forward data/graph.db/neostore.transaction.db* When one runs a database backup, via bin/neo4j-backup, if the -to <target directory> has a previous backup,… Read more →

Explore:  


A Demonstration of Cluster Size at Formation and Runtime

Causal Clustering Minimum Core Size At Formation causal_clustering.minimum_core_cluster_size_at_formation is defined as the minimum number of Core machines initially required to form a cluster. The cluster will form when at least this many Core members have discovered each other. The following… Read more →

Explore:  


How to specify a separate debug.log for the backup process?

When running neo4j-admin backup on a running Neo4j instance the backup logs are also written into the existing Neo4j instance debug.log and can get confusing as to which line items in the debug.log is part of backup process and those… Read more →

Explore:  


Displaying Query CPU Utilization and Allocated Bytes in Query log

In Neo4j 3.3 and prior versions, when query logging is enabled with the following configuration parameters: # Log executed queries that takes longer than the configured threshold. Enable by uncommenting this line. dbms.logs.query.enabled=true # If the execution of query takes… Read more →

Explore:  


How do I enable Java Flight Recorder and view the Results

Java Flight Recorder can be used to capture low level Java properties and run-time data about Java processes, for example Neo4j. Per https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/tooldescr002.html The Java Flight Recorder (JFR) is a commercial feature. You can use it for free on developer… Read more →

Explore:  


Change logging levels in Neo4j Embedded

In order to change the default logging levels in a Neo4j embedded instance, you must edit/define the configuration file, which is XML. In particular the file is neo4j-logback.xml. The neo4j-logback.xml file must be located in the classpath, so that org.neo4j.kernel.logging.LogbackService… Read more →

Explore:  


How to Configure Proxy in Neo4j Desktop

Organizations have proxy settings in order to access the internet or external websites. Neo4j Desktop has a way to setup proxy configuration so one can use their organization’s proxy settings. To setup Proxy in Neo4j Desktop: Click on the Settings… Read more →

Explore:  


Neo4j Security Benchmark

Overview: This document, Neo4j Security Benchmark, provides prescriptive guidance for establishing a secure configuration posture for Neo4j Enterprise Edition versions 3.5.0 and higher. This guide was tested against Neo4j 3.5.0 running on Ubuntu Linux 18.04, but applies to other Linux… Read more →

Explore:  


When authentication is enabled in Neo4j, how do I call the HA Status REST API without a username/password

One can enable authentication for the Neo4j database by adding the following to the conf/neo4j-server.properties dbms.security.auth_enabled=true In doing so any connections to the database will need to provide a username/password. However for the REST endpoint for HA Status information a… Read more →

Explore:  


Database was successfully initialized, but failed to start

Sometimes when the database does not start it could be something as simple as unnecessary characters in the neo4j.conf file. For example if you add space and/or tab characters to below setting: dbms.ssl.policy.client_policy.private_key=/var/lib/neo4j/certificates/client_policy/neo4j.key The database will fail to start and… Read more →

Explore:  


Throttling Bolt Requests

When large amounts of data are sent between a Neo4j database and a client (typically large query results, from server to client), there are a few hidden throttling mechanisms that may come into play. TCP Throttling Bolt connections between a… Read more →

Explore:  


Understanding Neo4j Query Plan Caching

This article is based on the behavior of Neo4j 2.3.2. Query plan caching is governed by three parameters, as defined in the conf/neo4j.properties file, which are detailed here. The three parameters which govern whether a Cypher statement is planned/replanned are:… Read more →

Explore:  


Geocoding with Arcgis

Prerequisites Create/obtain an Arcgis account. Create application within your account. The application will be assigned a ‘client_id’ and ‘secret’. APOC The APOC library provides a apoc.spatial.geocode(‘address’) procedure (as well as reverseGeocode), that supports geocoding against OpenStreetMap and Google Maps. It… Read more →

Explore:  


Manually Migrating Configuration Settings from Neo4j 2.x to Neo4j 3.x

One of the major changes in Neo4j 3.0 was the reworking of configuration files and the individual configuration setting naming convention to make it more consitent and managable going forward. A config-migrator tool is supplied in Neo4j 3.0 to assist… Read more →

Explore:  


How do i configure Neo4j so that data/graph.db/messages.log is automatically rotated

As tested and verified with Neo4j 2.3.0, the data/graph.db/messages.log, its size and number of rotated archives is governed by the following parameters in the conf/neo4j.properties file Name Description Default store.internal_log.max_archives Maximum number of history files for the internal log. 7… Read more →

Explore: