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

Suggestion to speed up initial JSON import #355

Open
pombredanne opened this issue Feb 21, 2019 · 0 comments
Open

Suggestion to speed up initial JSON import #355

pombredanne opened this issue Feb 21, 2019 · 0 comments
Milestone

Comments

@pombredanne
Copy link
Contributor

pombredanne commented Feb 21, 2019

Description

When I import a JSON file, I noted that the sqlite DB file seems to be flushed on disk incrementally and I can see the sqlite file grow as the import goes.
I have an idea: if you import to a memory only database and once this is all imported and only then you save on disk this may speed things up? this may be worth a try

System configuration

Operating System:
Linux Ubuntu 16.04 x86_64

ScanCode Workbench Version:
3.0.0b2

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

No branches or pull requests

3 participants