Re: optimizing large query with IN (...) - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: optimizing large query with IN (...)
Date
Msg-id 404ED40F.2040800@familyhealth.com.au
Whole thread Raw
In response to Re: optimizing large query with IN (...)  ("Eric Jain" <Eric.Jain@isb-sib.ch>)
List pgsql-performance
>>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


pgsql-performance by date:

Previous
From: "Eric Jain"
Date:
Subject: Re: optimizing large query with IN (...)
Next
From: "Shea,Dan [CIS]"
Date:
Subject: Cluster failure due to space