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

Import large RDF files #300

Open
dinani65 opened this issue Mar 14, 2023 · 2 comments
Open

Import large RDF files #300

dinani65 opened this issue Mar 14, 2023 · 2 comments

Comments

@dinani65
Copy link

Hello,
I am importing a turtle file into the database using CALL n10s.rdf.import.fetch("file:///path_file/file.ttl","Turtle");
The problem is that the database would not be available after a while.
I guess it is because of the size of the file, it is around 620 MB. Once I try it with a small file, it is fine and works.
can someone tell me how to tackle this issue?
Thanks

@jbarrasa
Copy link
Collaborator

Hi @dinani65

The database should stay online during the import process. That's independent of the size of the file.
The n10s.rdf.import.* methods do periodic commits as the RDF is parsed from the file so not only the DB should be up but also results should be visible incrementally.
Check your DB settings (memory etc) to make sure all is ok.

what behavior are you seeing? does the DB come back online once the process is complete?

Is the RDF file public so we can try to reproduce the issue in case is some problem with the RDF file?
Also, could you share the n10s.graphconfig settings?

@dinani65
Copy link
Author

It was because of DB settings.
Thank you for your reply.

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

2 participants