From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Eric Jain <Eric.Jain@isb-sib.ch>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Re: optimizing large query with IN (...)
Date: Wed, 10 Mar 2004 16:38:39 +0800
Message-ID: <404ED40F.2040800@familyhealth.com.au> (raw)
In-Reply-To: <001401c40677$9723fed0$c300000a@caliente>
References: <62371.200.174.148.100.1078889715.squirrel@webmail.webnow.com.br>
<001401c40677$9723fed0$c300000a@caliente>
>>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' )
Also, post the output of '\d table' and EXPLAIN ANALYZE UPDATE...
Chris
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: chriskl@familyhealth.com.au, Eric.Jain@isb-sib.ch
Subject: Re: optimizing large query with IN (...)
In-Reply-To: <404ED40F.2040800@familyhealth.com.au>
* 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