Skip to content

Document the new clear data option for the recreate database procedure. #2258

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

AnnaSjerling
Copy link
Collaborator

No description provided.

@NataliaIvakina
Copy link
Collaborator

The test failure will be covered in a separate PR.

@AnnaSjerling AnnaSjerling force-pushed the update-recreate-database-procedure-with-clear-data-option branch from 3fa6205 to cc93083 Compare April 11, 2025 14:05
Copy link
Collaborator

@NataliaIvakina NataliaIvakina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, everything looks good. I just want to clarify details.

In Neo4j 2025.04 an additional option was added to the recreate database procedure which clears the data (e.g. nodes and relationships) and the schema (e.g. constraints and indexes) for the database.
This means you end up with an empty store, but as with the other recreate database options, all privileges associated with the database are kept.

When, and only when, the clear data option is used, the store format can also be changed for the recreated database.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AnnaSjerling and others added 5 commits April 16, 2025 16:18
Co-authored-by: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com>
Co-authored-by: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com>
Co-authored-by: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com>
@NataliaIvakina NataliaIvakina force-pushed the update-recreate-database-procedure-with-clear-data-option branch from 85ebba9 to 7ae8cee Compare April 16, 2025 14:18
@neo4j-docops-agent
Copy link
Collaborator

neo4j-docops-agent commented Apr 17, 2025

Thanks for the documentation updates.

The preview documentation has now been torn down - reopening this PR will republish it.

@NataliaIvakina NataliaIvakina merged commit 502a90f into neo4j:dev Apr 17, 2025
8 checks passed
NataliaIvakina added a commit to NataliaIvakina/docs-operations that referenced this pull request Apr 17, 2025
…e. (neo4j#2258)

Co-authored-by: NataliaIvakina <82437520+NataliaIvakina@users.noreply.github.com>
Co-authored-by: Natalia Ivakina <natalia.ivakina@neotechnology.com>
NataliaIvakina added a commit that referenced this pull request Apr 17, 2025
#2283)

…e. (#2258)

Co-authored-by: Anna Sjerling <102957391+AnnaSjerling@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants