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

Optimise ForeignKey accumulation #94

Open
josepajay opened this issue Nov 29, 2021 · 0 comments
Open

Optimise ForeignKey accumulation #94

josepajay opened this issue Nov 29, 2021 · 0 comments

Comments

@josepajay
Copy link
Contributor

Accumulating PrimaryKeys in a Set was using large amounts of memory. Currently we are hashing the primaryKeys and then storing it in Sets to reduce the memory usage. See function readAndValidateWithParser for more information on this.

A similar approach can be taken for foreignKeys, as the current implication might use up lot of memory if there are multiple tables and foreignKeys defined.

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

No branches or pull requests

1 participant