Re: Same query, same data different plan

From: Kostas Papadopoulos <kostas(at)methodosit(dot)com(dot)cy>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Daevor The Devoted <dollien(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org, Julien Rouhaud <rjuju123(at)gmail(dot)com>
Subject: Re: Same query, same data different plan
Date: 2022-10-10 13:23:43
Message-ID: a4258205-3105-7709-04f4-0ce82012578f@methodosit.com.cy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)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.
>>
>>
>>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Imre Samu 2022-10-10 13:24:38 Re: Same query, same data different plan
Previous Message Pavel Stehule 2022-10-10 13:16:22 Re: Same query, same data different plan