pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@peufeu.com>
To: Andrus <eetasoft@online.ee>
To: pgsql-performance@postgresql.org
Subject: Re: Query runs too long for indexed tables
Date: Wed, 05 Apr 2006 12:22:53 +0200
Message-ID: <op.s7i5sfy2cigqcu@apollo13> (raw)
In-Reply-To: <e1039l$15ie$1@news.hub.org>
References: <e0ui0o$2v0m$2@news.hub.org>
	<1144180128.32266.56.camel@state.g2switchworks.com>
	<e1039l$15ie$1@news.hub.org>



> UPDATE firma1.rid SET toode=NULL
>         WHERE toode IS NOT NULL AND
>         toode NOT IN (SELECT TOODE      FROM firma1.TOODE);

	Why not use a LEFT JOIN for this ?



view thread (9+ messages)  latest in thread

Message-ID: <op.s7i5sfy2cigqcu@apollo13>
Permalink:  ../op.s7i5sfy2cigqcu@apollo13/
Also on:    postgresql.org/message-id/op.s7i5sfy2cigqcu@apollo13

 · 

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: lists@peufeu.com, eetasoft@online.ee
  Subject: Re: Query runs too long for indexed tables
  In-Reply-To: <op.s7i5sfy2cigqcu@apollo13>

* 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