Re: Same query, same data different plan

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Same query, same data different plan
Date: 2022-10-10 13:44:00
Message-ID: 370be1df-d840-d08c-0cbb-27b4b33a0e1c@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How identical is "identical"?

For example, does diff says that "pg_dump --schema-only" of DB1 and DB2 are
perfectly identical?

And are the table counts identical?

On 10/10/22 08:15, Kostas Papadopoulos wrote:
> Hi,
>
> Thank you for responding. My question is not about the performance of a
> specific query. As I wrote, that is already solved.
>
> My question is "how can it be that the same query run in two exactly the
> same databases can have different plans."
>
>
> Kostas Papadopoulos
>
> On 10/10/2022 16:12, Julien Rouhaud wrote:
>> On Mon, Oct 10, 2022 at 04:05:42PM +0300, Kostas Papadopoulos wrote:
>>> Hi,
>>>
>>> Yes, I ran ANALYZE in both databases.
>>
>> Please look at https://wiki.postgresql.org/wiki/Slow_Query_Questions to
>> provide
>> more information.
>
>

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kostas Papadopoulos 2022-10-10 14:04:52 Re: Same query, same data different plan
Previous Message Imre Samu 2022-10-10 13:24:38 Re: Same query, same data different plan