-
Notifications
You must be signed in to change notification settings - Fork 10
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
cannot load data #6
Comments
Sorry! I did not see this before now. I usually debug by interacting with the code as it goes, which may not be much help for you. The way Assuming that it is still working, the options would be:
If you look at |
OK thanks. I will try that. |
I would usually do multiple inserts by either concatting the data and doing a single insert with a long timeout. The reason for that is so you don't end up with multiple checkpoints in the indexes. That matters for on-disk storage because each checkpoint makes the nodes in the index trees immutable. This means that you'll need to start copying nodes again as the next transaction starts, which is both slower and uses more disk space. Repeated strings are just fine. As data comes in, every string is converted to a number, and the number is stored in the triple. It is important that the same string will always return the same number. This is done in 2 ways:
Each time a longer string is used, the index is searched:
(I can explain what the number is too, but it doesn't really matter in the context of your question) |
Hi,
I have json file, 87MB .
I am not able to load it.
here is my code:
here is log:
; eval (current-form): (import-data "my-file ...
; (err) Execution error (ExceptionInfo) at asami.core/eval19083$transact$fn (core.cljc:278).
; (err) Transaction timeout
could you please give me a hint how to debug this issue?
The text was updated successfully, but these errors were encountered: