Add a page about resharding a database and a few other improvements#2960
Add a page about resharding a database and a few other improvements#2960renetapopova merged 29 commits intoneo4j:devfrom
Conversation
486f7c5 to
cc07cc6
Compare
EmelieBondesson
left a comment
There was a problem hiding this comment.
A few small comments but apart from that it looks good to me
99e49e0 to
2b96c19
Compare
2b96c19 to
8379d83
Compare
…atabase into the database foo-sharded-new
|
The test failure is not related to this PR. |
| You can use the `neo4j-admin database copy` command to create a sharded property database from a standard database, specifying the number of property shards for the new database. | ||
| The existing database must be stopped during the copying process. | ||
|
|
||
| The following options should be specified for the `neo4j-admin database copy` command: |
There was a problem hiding this comment.
As they are not mandatory it should not say "should" but "can". Or maybe write:
The following options will be used for the neo4j-admin database copy command
There was a problem hiding this comment.
But if you don't specify them, you can't split an existing database into shards.
There was a problem hiding this comment.
This section is about this, not about the copy command per se.
There was a problem hiding this comment.
My comment comes from that:
--copy-schema: You can do it without it, and actually we are writing "if needed"
--target-location can be skipped and --target-format then skipped as well or set to database and then the database stores will be created in the neo4j store location.
This is cosmetic so we can take later discussions :)
|
|
||
| There are several ways to load data into a sharded property database: | ||
| There are several ways to import data into a sharded property database, depending on your use case and the size of your dataset. | ||
| All of these methods require that the database is not running. |
There was a problem hiding this comment.
This is conflicting with presenting LOAD CSV right after (it needs a running database). And neo4j-admin can be run with a neo4j already running. Only issue would be competing for resources (memory and cpu). Unless there is a very potent reason why this phrase was included maybe is better to remove it until we have a better wording.
|
Thanks for the documentation updates. The preview documentation has now been torn down - reopening this PR will republish it. |
This PR contains the following changes to pages: