mirror of
https://github.com/aljazceru/ditto.git
synced 2026-02-07 14:34:30 +01:00
Remove SQLite support
This commit is contained in:
@@ -16,12 +16,12 @@ ssh -L 9229:localhost:9229 <user>@<host>
|
||||
|
||||
Then, in Chromium, go to `chrome://inspect` and the Ditto server should be available.
|
||||
|
||||
## SQLite performance
|
||||
## SQL performance
|
||||
|
||||
To track slow queries, first set `DEBUG=ditto:sqlite.worker` in the environment so only SQLite logs are shown.
|
||||
To track slow queries, first set `DEBUG=ditto:sql` in the environment so only SQL logs are shown.
|
||||
|
||||
Then, grep for any logs above 0.001s:
|
||||
|
||||
```sh
|
||||
journalctl -fu ditto | grep -v '(0.00s)'
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user