Replies: 1 comment 2 replies
-
|
Did you find an answer? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm running expressjs v4, better-sqlite3 v7. My web app is very slow. Routine select queries take about 6-7 seconds. This is with or without the WAL journal mode. BUT when I have "DB Browser for SQLite" open on the server, with the database file open in it, suddenly queries are only around 300-500 milliseconds! — which is the behaviour I want and expect. Does anyone have any idea why this might be? What does sqlite browser do when opening the file, that might not being done when used via expressjs/better-sqlite3 ? If I understood that, I might be able to set it up so that the delay does not occur.
Beta Was this translation helpful? Give feedback.
All reactions