Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
04-26-2022 10:16 AM
After a few 3rd party imports, our database grew a lot (from a dump of 75mb to 505mb)
After reading the article for space reuse, we tested it:
neo4j-admin copy
The issue is that we have a lot of code using 3.5 syntax, so the migration is a tech debt we are not yet ready to pay it.
What's the alternative of defragmentation / saving space in 3.5-enterprise of the neo4j-admin copy
?
One of my ideas is to export the cleaned up data from 4.4 in JSON and import it in 3.5 instance, but I'm not sure if the schema works?
Here are the available commands in 3.5-enterprise:
available commands:
General
check-consistency
Check the consistency of a database.
help
This help text, or help for the command specified in <command>.
import
Import from a collection of CSV files or a pre-3.0 database.
memrec
Print Neo4j heap and pagecache memory settings recommendations.
report
Produces a zip/tar of the most common information needed for remote assessments.
store-info
Prints information about a Neo4j database store.
Authentication
set-default-admin
Sets the default admin user when no roles are present.
set-initial-password
Sets the initial password of the initial admin user ('neo4j').
Clustering
unbind
Removes cluster state data for the specified database.
Offline backup
dump
Dump a database into a single-file archive.
load
Load a database from an archive created with the dump command.
Online backup
backup
Perform an online backup from a running Neo4j enterprise server.
restore
Restore a backed up database.
04-27-2022 04:18 AM
See GitHub - jexp/store-utils: Utilities to compact, copy, fix, analyse Neo4j stores for a 3.5 equivalent and this was the predecessor to neo4j-admin copy
and can be used where neo4j-admin copy
is not available.
Regarding
The issue is that we have a lot of code using 3.5 syntax, so the migration is a tech debt we are not yet ready to pay it.
and whereas Neo4j 3.5.0 was released November 2018 ( Neo4j 3.5.0 - Neo4j Graph Data Platform ) it is coming off patch support in 1 month, May 2022 and as such no further patches will be released for 3.5. So it would be in your best interest to upgrade
All the sessions of the conference are now available online