pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Jain <Eric.Jain@isb-sib.ch>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: optimizing large query with IN (...)
Date: Wed, 10 Mar 2004 09:13:37 +0100
Message-ID: <001401c40677$9723fed0$c300000a@caliente> (raw)
References: <62371.200.174.148.100.1078889715.squirrel@webmail.webnow.com.br>

> UPDATE table SET table.par = table.par + 1
> WHERE table.key IN ('value1', 'value2', ... , 'value1200' )

How fast is the query alone, i.e. 

  SELECT * FROM table
  WHERE table.key IN ('value1', 'value2', ... , 'value1200' )




view thread (10+ messages)  latest in thread

Message-ID: <001401c40677$9723fed0$c300000a@caliente>
Permalink:  ../001401c40677$9723fed0$c300000a@caliente/
Also on:    postgresql.org/message-id/001401c40677$9723fed0$c300000a@caliente

 · 

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: pgsql-performance@postgresql.org
  Cc: Eric.Jain@isb-sib.ch
  Subject: Re: optimizing large query with IN (...)
  In-Reply-To: <001401c40677$9723fed0$c300000a@caliente>

* 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