Skip to content

Conversation

renetapopova
Copy link
Collaborator

No description provided.

@neo-technology-commit-status-publisher
Copy link
Collaborator

Looks like you've updated the documentation!

Check out your changes at https://neo4j-docs-operations-785.surge.sh

@renetapopova renetapopova force-pushed the dev-data-consistency branch from acd93dd to 4983600 Compare June 8, 2023 10:28
Copy link

@mnssn mnssn left a comment

Choose a reason for hiding this comment

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

Great job, I think the reorganization makes a lot of sense! 👍

I have left a couple of do comments, that I think should be addressed before merging. Then there are a few considers, and questions that you can feel free to ignore. 🙂

@mnssn mnssn self-assigned this Jun 15, 2023
@renetapopova renetapopova requested a review from mnssn June 15, 2023 17:40
@renetapopova
Copy link
Collaborator Author

Huge thanks for the review, @mnssn! Apologies for the confusion with this leftover data-integrity.adoc file. I've tried to apply all your suggestions to their relevant places, but could you please take a second look so that we're sure that everything is okay?

|VOLUMETRIC
|label:enterprise[Enterprise Edition]
This policy checks every 10 seconds if there is enough volume of logs available for pruning and, if so, it triggers a checkpoint and subsequently, it prunes the logs.
By default, the volume is set to 250MiB, but it can be configured using the settings xref:configuration/configuration-settings.adoc#config_db.tx_log.rotation.retention_policy[`db.tx_log.rotation.retention_policy`] and xref:configuration/configuration-settings.adoc#config_db.tx_log.rotation.size[`db.tx_log.rotation.size`].
Copy link
Collaborator Author

@renetapopova renetapopova Jun 15, 2023

Choose a reason for hiding this comment

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

@mnssn, Is this sentence technically true?

Copy link

@mnssn mnssn Jun 19, 2023

Choose a reason for hiding this comment

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

It is true that db.tx_log.rotation.retention_policy is used to configure volumetric.

For db.tx_log.rotation.size the interplay is more subtle. This setting specifies how much space a single file of the transaction log may roughly occupy. This influences how much space can be reclaimed by all strategies by virtue of the following.

To reclaim a given file, the newest checkpoint for the transaction log must exist in another file. So if you have a huge transaction log, then it is likely that your latest checkpoint is in the same file, making it impossible to reclaim said file.

@renetapopova renetapopova merged commit 60068b1 into neo4j:dev Jun 19, 2023
@renetapopova renetapopova deleted the dev-data-consistency branch June 19, 2023 14:16
renetapopova added a commit to renetapopova/docs-operations that referenced this pull request Jun 19, 2023
renetapopova added a commit that referenced this pull request Jun 19, 2023
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.

3 participants