L
L
loljapanes2021-10-25 00:30:18
PostgreSQL
loljapanes, 2021-10-25 00:30:18

What to do if slow queries?

Please tell me, there is a free dedicated database on elephantsql, I noticed that there are slow queries, as I understand it, these are slow queries, this is how it looks 6175cfd0612d4591265544.png
and there are a lot of such slow queries, what should I do? I use nestjs as server and typeorm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-10-25
@loljapanes

Judging by the fact that even the creation of a table and queries with hacks take quite a long time, this is simply not a particularly fast base.
Considering that you have, in principle, few requests - if this does not lead to applied inconvenience, it is quite possible to score. When the load increases and the application becomes noticeably slower, you can think about optimizations or transferring somewhere to normal hardware.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question