public inbox for [email protected]  
help / color / mirror / Atom feed
From: Merlin Moncure <[email protected]>
To: patibandlakoshal <[email protected]>
Cc: postgres performance list <[email protected]>
Subject: Re: Cursor vs Set Operation
Date: Wed, 1 Nov 2017 11:28:12 -0500
Message-ID: <CAHyXU0zhQeC+SfinvmjX1vSYdDfcxeukLV8_se7gMWyXM=S_tg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgsql-performance>

On Mon, Oct 30, 2017 at 5:51 PM, patibandlakoshal
<[email protected]> wrote:
> From performance standpoint I  thought set operation was better than Cursor.
> But I found Cursor to be more effective than Set operation. Is there a way
> we can force optimizer to use cursor plan. QUERY PLAN

You're going to have to be  a little more specific.  In particular, I
have no idea what a 'cursor plan' is.  What precise operations did you
do?

merlin


-- 
Sent via pgsql-performance mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance




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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Cursor vs Set Operation
  In-Reply-To: <CAHyXU0zhQeC+SfinvmjX1vSYdDfcxeukLV8_se7gMWyXM=S_tg@mail.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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox