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

docs: document on how to run OMC with SQLite #759

Open
schu opened this issue Mar 5, 2024 · 0 comments · May be fixed by #809
Open

docs: document on how to run OMC with SQLite #759

schu opened this issue Mar 5, 2024 · 0 comments · May be fixed by #809
Assignees
Labels
documentation Improvements or additions to documentation p2

Comments

@schu
Copy link
Member

schu commented Mar 5, 2024

Using SQLite as database is only a matter of settting DB_CONNECTION=sqlite in the .env config, but it's not clear from the Laravel documentation if additional configuration is needed to enable WAL mode and other parameters relevant for performance. We should document this.

@schu schu added documentation Improvements or additions to documentation p2 labels Mar 5, 2024
@schu schu removed the needs triage label Mar 5, 2024
schu added a commit that referenced this issue Apr 14, 2024
There doesn't seem to be a way to configure SQLite pragmas like
`journal_mode=WAL` from Laravel's database config (if there is a better
way, please let us know). Therefore, configure the SQLite database in
the `AppServiceProvider` upon boot.

More infos on `journal_mode=WAL` and relevant pragma knobs for
performance can be found under the links below:

https://www.sqlite.org/pragma.html#pragma_journal_mode

https://phiresky.github.io/blog/2020/sqlite-performance-tuning/

Resolves #759 (I think..)
@schu schu self-assigned this Apr 14, 2024
schu added a commit that referenced this issue Apr 14, 2024
There doesn't seem to be a way to configure SQLite pragmas like
`journal_mode=WAL` from Laravel's database config (if there is a way,
please let us know). Therefore, configure the SQLite database in the
`AppServiceProvider` upon boot.

More infos on `journal_mode=WAL` and relevant pragma knobs for
performance can be found under the links below:

https://www.sqlite.org/pragma.html#pragma_journal_mode

https://phiresky.github.io/blog/2020/sqlite-performance-tuning/

Resolves #759 (I think..)
schu added a commit that referenced this issue Apr 15, 2024
There doesn't seem to be a way to configure SQLite pragmas like
`journal_mode=WAL` from Laravel's database config (if there is a way,
please let us know). Therefore, configure the SQLite database in the
`AppServiceProvider` upon boot.

More infos on `journal_mode=WAL` and relevant pragma knobs for
performance can be found under the links below:

https://www.sqlite.org/pragma.html#pragma_journal_mode

https://phiresky.github.io/blog/2020/sqlite-performance-tuning/

Resolves #759 (I think..)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation p2
Projects
None yet
1 participant