Skip site navigation (1) Skip section navigation (2)

Re: High cost of ... where ... not in (select ...)

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Aaron Turner <synfinatic(at)gmail(dot)com>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: High cost of ... where ... not in (select ...)
Date: 2009-06-16 21:37:50
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Aaron Turner escribió:
> I'm trying to figure out how to optimize this query (yes, I ran vacuum/analyze):
> musecurity=# explain DELETE FROM muapp.pcap_store WHERE pcap_storeid
> NOT IN (SELECT pcap_storeid FROM muapp.pcap_store_log);

What PG version is this?

Alvaro Herrera                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-performance by date

Next:From: Aaron TurnerDate: 2009-06-16 23:39:15
Subject: Re: High cost of ... where ... not in (select ...)
Previous:From: Aaron TurnerDate: 2009-06-16 21:28:19
Subject: High cost of ... where ... not in (select ...)

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group