Skip to content
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

[chore/performance] sqlite pragma tuning #1232

Closed
tsmethurst opened this issue Dec 8, 2022 · 4 comments
Closed

[chore/performance] sqlite pragma tuning #1232

tsmethurst opened this issue Dec 8, 2022 · 4 comments
Labels
chore a pain in the butt that needs doing config Something needs to be made configurable, or there's a config issue investigation Something needs to be investigated (may not be tied to code changes) performance

Comments

@tsmethurst
Copy link
Contributor

To squeeze more performance out of the modernc go sqlite implementation, we should investigate which knobs we can tweak and buttons we can press to tune it.

Relevant documents for this:

and likely some others to be found here: https://www.sqlite.org/docs.html

@tsmethurst tsmethurst added config Something needs to be made configurable, or there's a config issue performance chore a pain in the butt that needs doing investigation Something needs to be investigated (may not be tied to code changes) labels Dec 8, 2022
@tsmethurst tsmethurst added this to the v0.7.0 Stormy Sloth milestone Dec 8, 2022
@NyaaaWhatsUpDoc
Copy link
Member

I think we're already using shared cache mode right? Though WAL (write-ahead-logging) is definitely one worth looking into. I tried quickly enabling it at one point but I think it will be a little more complex than just enabling it, as I was getting some errors with queries after doing so :p

@igalic
Copy link
Contributor

igalic commented Dec 8, 2022

might be worth looking into what TheLounge for instance is doing, although their use is very simple

i also think plume's authors did quite a few optimisation.

@NyaaaWhatsUpDoc
Copy link
Member

Just a note I have started working on this yesterday evening. Will pick it up again this weekend :)

@tsmethurst
Copy link
Contributor Author

closed by #1349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore a pain in the butt that needs doing config Something needs to be made configurable, or there's a config issue investigation Something needs to be investigated (may not be tied to code changes) performance
Projects
None yet
Development

No branches or pull requests

3 participants