po 10. 10. 2022 v 15:12 odesílatel Julien Rouhaud <rjuju123@xxxxxxxxx> napsal:
On Mon, Oct 10, 2022 at 04:05:42PM +0300, Kostas Papadopoulos wrote:
> Hi,
>
> Yes, I ran ANALYZE in both databases.
This can be a common case. Check your configuration: work_mem, shared_buffers, effective_cache_size, random_page_cost, seq_page_cost, ...
Please look at https://wiki.postgresql.org/wiki/Slow_Query_Questions to provide
more information.