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

From Kostas Papadopoulos
Subject Same query, same data different plan
Date
Msg-id 20b3e283-3107-cd18-6e7f-90ed58e7ddf8@methodosit.com.cy
Whole thread Raw
Responses Re: Same query, same data different plan
Re: Same query, same data different plan
List pgsql-general
I have two identical databases running in the same instance of Postgresql. Ran 
analyze on both. Running the same query I'm getting different plans, one x10 slower. 
Although I have solved my problem by re-writing the query, I want to understand why 
this is happening. If the configuration, Postgresql version, schema and data are the 
same, what other factors is the planner considering?

-- 

Kostas Papadopoulos
KE MethodosIT




pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Different execution plan between PostgreSQL 8.4 and 12.11
Next
From: Daevor The Devoted
Date:
Subject: Re: Same query, same data different plan