Re: Same query, same data different plan - Mailing list pgsql-general

From Kostas Papadopoulos
Subject Re: Same query, same data different plan
Date
Msg-id a4258205-3105-7709-04f4-0ce82012578f@methodosit.com.cy
Whole thread Raw
In response to Same query, same data different plan  (Kostas Papadopoulos <kostas@methodosit.com.cy>)
Responses Re: Same query, same data different plan
List pgsql-general
Hi,

I cannot see how it can be configuration since the two databases are in the same
Postgres instance.


Kostas Papadopoulos

On 10/10/2022 16:16, Pavel Stehule wrote:
> po 10. 10. 2022 v 15:12 odesílatel Julien Rouhaud <rjuju123@gmail.com>
> 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.
>>
>>
>>
>



pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Same query, same data different plan
Next
From: Imre Samu
Date:
Subject: Re: Same query, same data different plan