pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kostas Papadopoulos <kostas@methodosit.com.cy>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Same query, same data different plan
Date: Tue, 11 Oct 2022 09:06:43 +0300
Message-ID: <14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy> (raw)
In-Reply-To: <cb7aa27b-c0a8-46e5-eb87-b074abfd188f@aklaver.com>
References: <20b3e283-3107-cd18-6e7f-90ed58e7ddf8@methodosit.com.cy>
	<CAAZnbVoCXD0d6AKDjoEUD2NXzH1KugMUGy69Whs0_tfH-LPXcw@mail.gmail.com>
	<8da58bc7-a01a-0168-3d49-062258ac82ec@methodosit.com.cy>
	<20221010131217.7kzur6b63cl2we7y@jrouhaud>
	<CAFj8pRDrXx3Vn4tosO=QO_LgpRu9MnrnPsz8dfDJpL2z51StiA@mail.gmail.com>
	<a4258205-3105-7709-04f4-0ce82012578f@methodosit.com.cy>
	<4073393.1665413623@sss.pgh.pa.us>
	<37fcbc79-c9c9-979d-f7ad-43771e7923c5@methodosit.com.cy>
	<cb7aa27b-c0a8-46e5-eb87-b074abfd188f@aklaver.com>


Hi Adrian,

On 10/10/2022 20:59, Adrian Klaver wrote:
> Information needed:
> 
> 1) The query and its EXPLAIN ANALYZE for both slow/fast cases.
> 
> 2) Postgres version.
> 
> 3) What database are the developers workstation pointing at?
> 
> 4) What is the test db and is it the same as 3)?
> 
> 5) What clients are you using to run the query?
> 


Thanks for the interest. I was just looking for pointers on what to look at next. Got 
that from Tom (table bloat) and Imre (different random sample of analyze).

Regards
kostas





view thread (15+ messages)

Message-ID: <14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy>
Permalink:  ../14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy/
Also on:    postgresql.org/message-id/14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kostas@methodosit.com.cy, adrian.klaver@aklaver.com
  Subject: Re: Same query, same data different plan
  In-Reply-To: <14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy>
  References: <20b3e283-3107-cd18-6e7f-90ed58e7ddf8@methodosit.com.cy> <CAAZnbVoCXD0d6AKDjoEUD2NXzH1KugMUGy69Whs0_tfH-LPXcw@mail.gmail.com> <8da58bc7-a01a-0168-3d49-062258ac82ec@methodosit.com.cy> <20221010131217.7kzur6b63cl2we7y@jrouhaud> <CAFj8pRDrXx3Vn4tosO=QO_LgpRu9MnrnPsz8dfDJpL2z51StiA@mail.gmail.com> <a4258205-3105-7709-04f4-0ce82012578f@methodosit.com.cy> <4073393.1665413623@sss.pgh.pa.us> <37fcbc79-c9c9-979d-f7ad-43771e7923c5@methodosit.com.cy> <cb7aa27b-c0a8-46e5-eb87-b074abfd188f@aklaver.com> <14b38f31-452c-22d6-6a4f-bd79e2e026b5@methodosit.com.cy>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox