I have a lot of “query is slow”.
I discovered that I can use an external database for my instance.
It seems that my issue should be fixed by changing my database.
(The above does not account for execution data though, so make sure to extract that separately if relevant)
However, the cause of slow queries is often a large database. Before migrating to a new database, you may also want to ensure that you have data pruning enabled.