pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Muhammad Bilal Jamil <mbjamil92@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: Improving performance of select query
Date: Mon, 14 Dec 2020 10:50:39 -0700
Message-ID: <4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com> (raw)
In-Reply-To: <CAJqS1V+FrqZC7rQGe3wFVHa5UEz1RfnHPDa-15UkJjbRpKVEdg@mail.gmail.com>
References: <20c57bfb287749c2a5ff22d7ddd3df93@sandvine.com>
	<b9277405-f578-bab1-2d4b-ad46d60f8b8b@gmx.net>
	<93B14ED6-5AD1-4427-AED6-A4B80D27DD15@gmail.com>
	<CAJqS1V+FrqZC7rQGe3wFVHa5UEz1RfnHPDa-15UkJjbRpKVEdg@mail.gmail.com>



> On Dec 14, 2020, at 10:37 AM, Muhammad Bilal Jamil <mbjamil92@gmail.com> wrote:
> 
> I think you can also increase the query performance by creating indexes?
> 
> 
> 

OP said there was a key on the target (large) table.  I’m not sure there’s much of a win in indexing 10K ids.
> 
> 

view thread (6+ messages)

Message-ID: <4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com>
Permalink:  ../4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com/
Also on:    postgresql.org/message-id/4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com

 · 

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: robjsargent@gmail.com, mbjamil92@gmail.com
  Subject: Re: Improving performance of select query
  In-Reply-To: <4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com>
  References: <20c57bfb287749c2a5ff22d7ddd3df93@sandvine.com> <b9277405-f578-bab1-2d4b-ad46d60f8b8b@gmx.net> <93B14ED6-5AD1-4427-AED6-A4B80D27DD15@gmail.com> <CAJqS1V+FrqZC7rQGe3wFVHa5UEz1RfnHPDa-15UkJjbRpKVEdg@mail.gmail.com> <4C1E13A7-63F6-473F-B249-E79F45E9D024@gmail.com>

* 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