You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@krlmlr, this was on my todo list for a long time, but due to priorities....
Anyway, I executed your script (https://serverfault.com/q/1000690/95758) on windows with 2 small modifications: Sys.getpid() and 4 cores (since I only have 4 physical). Here are the plots:
it seems that on unix, most of the time nothing happens. As if one process is locking the table, up until the "buffer" is full, then it bursts and unlocks it for an other process to do the same. On windows, you see one thread constantly writing while the others wait. Similar to unix with gc(), which also slows down the process much.
https://serverfault.com/q/1000690/95758
https://www.sqlite.org/wal.html
https://www.sqlite.org/pragma.html#pragma_synchronous
The text was updated successfully, but these errors were encountered: