Configuring import batch size

Introduction

During the application data import process (see Export and import the Application data), CAST Imaging is configured to import data in a batch of 1000 rows and then perform a commit. If you have allocated additional memory to Neo4j (see Optimize Neo4j memory allocation) it is possible to increase the default import batch size so that data commits are performed less, therefore increasing overall import performance.

You can read more about this process in the Neo4j documentation.

Update process

Open and edit the following file:

Microsoft Windows traditional installer:
%APPDATA%\CAST\ImagingSystem\imagingservice\imagingetl.bat
 
Docker Installer extension (located in the folder created when unzipping the extension):
etl\app.config

Alter the following line and increase the batch size as necessary:

NEO4J_IMPORT_BATCH_SIZE

Restart the Neo4j Windows service / Linux container to ensure the changes are taken into account.