Skip to content
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

Chunk data to reduce memory on large datasets when updating next_audit_date #14221

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

snipe
Copy link
Owner

@snipe snipe commented Feb 5, 2024

For users with very large datasets, changing the default audit_interval (which then updates next_audit_date) would result in an OOM issue. This fix chunks the query which should improve that.

Copy link

This pull request has been linked to Shortcut Story #24749: Updating audit interval times out on very large datasets.

@snipe snipe merged commit e08d60e into develop Feb 5, 2024
8 checks passed
@snipe snipe deleted the bug/sc-24749 branch February 5, 2024 20:51
@snipe
Copy link
Owner Author

snipe commented Feb 5, 2024

FYI, this resulted in better, but still not good enough. Getting a gateway timeout, so will be revisiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant