Configuring data-sources: Memgraph
Please check for supported Memgraph versions in our compatibility matrix.
Configuration
To edit the Memgraph data-source configuration,
you can either use the Web user-interface
or edit the configuration file located at linkurious/data/config/production.json
.
Example configuration:
{
"dataSources": [
{
"graphdb": {
"vendor": "memgraph",
"url": "bolt+s://18.150.10.214",
"user": "my-memgraph-user",
"password": "my-memgraph-password"
},
"index": {
"vendor": "elasticsearch",
"host": "127.0.0.1",
"port": 9201
}
}
]
}
Supported graphdb
options with Memgraph:
url
(required): URL of the Memgraph server (Bolt:bolt://
orbolt+s://
)databaseName
(optional): Name of the database to be connecteduser
(optional): Memgraph user (if credentials are enabled)password
(optional): Memgraph password (if credentials are enabled)latitudeProperty
(optional): Name of the node property to use for latitude (used in geo mode)longitudeProperty
(optional): Name of the node property to use for longitude (used in geo mode)ignoredEdgeTypePrefixes
(optional): List of edge type prefixes to be excluded in the schema samplinguseSchemaCacheAndAutoIndexes
(optional): When enabled, Linkurious Enterprise will use the schema metadata cache, node categories and edge types indexes to speed up the schema sampling. This option is ideal for large graph databases in production.
Warning: When the
useSchemaCacheAndAutoIndexes
option is enabled, Memgraph v2.16.0 or higher is required and must be configured with the following options:
--storage-enable-schema-metadata=true
--storage_mode='IN_MEMORY_TRANSACTIONAL'
--storage-automatic-label-index-creation-enabled=true
--storage_automatic_edge_type_index_creation_enabled=true
We strongly recommend you to also enable the following Memgraph options:
--storage-enable-edges-metadata=true
: Necessary to make getting edges by ID scalable.
Memgraph cloud
Linkurious Enterprise allows using Memgraph instances running on Memgraph cloud.