-
Notifications
You must be signed in to change notification settings - Fork 210
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
Why virtuoso rolls forward with batch size transactions replayed when I restart the virtuoso. #1311
Comments
Were any log entries produced following the load program run, preceding the Unix stop/start? I would expect these to include the |
Here is the detailed information of my loading program and information of stop/start afterwards in As you can see, there are 10 disable checkpoint/Scheduler events messages on 20:21 since I start the 10 threads of
-- Next day, I did the 1st attempt of
-- 2nd time stop and start, login works after restart. "3 transactions, 185 bytes replayed (100 %)" at 09:22:34
-- 3rd time to stop and restart, can’t login due to transaction replayed.
|
The reason I did |
Where did you obtain the Also, when the scheduler is enabled on restart the Virtuoso RDF Free text index incremental rebuild will be invoked to index all the text for the previously bulk-loaded data, which would grow the transaction log. Then, your last restart, as a checkpoint had not been run over the hour-plus Virtuoso had been running, you would have a sizeable transaction log, which is then being replayed on startup (after the quick shutdown). You can add the |
Okay, here is my practice of doing virtuoso load.
After this step, everything should be committed to triple store. Should no more active transaction for triple data afterwards except there are some other activities behind. My observation of stop and restart is that if make each stop/restart attempt close to each other, then the number of transaction replayed is pretty smaller. 45 transactions and 3 transactions in the first 2 above. But if you make it longer to do stop/start, like the 3rd one, wait for other hour to do so, then the number of transactions is getting bigger. I also did a test of enabling Now my question is that is there a soft stop virtuoso available? |
One more question,
The loading is pretty fast. However I do see the followings in the
|
The As said previously, when the scheduler is enabled, on restart the Virtuoso RDF Free text index incremental rebuild will be invoked, to index all the text for the previously bulk-loaded data, which would grow the transaction log. Then, your last restart, as a checkpoint had not been run over the hour-plus Virtuoso had been running, you would have a sizeable transaction log (being the index building), which is then being replayed on startup (after the quick shutdown). The |
I had a program to run 10 threads of
rdf_loader_run()
. When they are done, I runCHECKPOINT
to commit everything. After finishing the program, I did unix command to stop and start virtuoso, thevirtuoso.log
showed the following information which I don't understand.If I did
CHECKPOINT
in my program, why the log still shows transactions message? The login is not working during roll forward with transactions. How can I avoid that?Thanks
The text was updated successfully, but these errors were encountered: