-
Notifications
You must be signed in to change notification settings - Fork 164
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
Slow sqlite insertion #1570
Comments
I did a bit of testing on this and the performance seems to be very fast, even on insertion and updating. However, this is SQLite, and one thing SQLite is very very bad at is concurrency. Is it possible that there is other process holding up the table? |
All logs showing pretty much fast transactions, but there is "freezing" between the transactions. |
I don't know a lot about SQLite. I just know that when people have tried to use SQLite with multiple users, it tends to lock up. On your other issue: you even have get a database is locked error. However, it seems likely that the database locks for some period of time and releases the lock and other transactions can proceed. It is possible that under certain conditions, there are multiple requests going to the server backend and locking up the database somehow. The dynamic update of widgets are requests that are happening in the background as well as some messaging. I wonder if these are causing the database to lock up. |
Then it looks like a really big problem. |
Describe the bug
Query from sqlite db takes no time, but when something needs to be updated or inserted - tactic freezes
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Faster db inserction
The text was updated successfully, but these errors were encountered: