From: Thomas F.O'Connell <tfo@sitening.com>
To: Sabio - PSQL <slopez_pg@ceroriesgo.co.cr>
Cc: PgSQL - Performance <pgsql-performance@postgresql.org>
Subject: Re: [ADMIN] Too slow
Date: Tue, 22 Mar 2005 12:50:29 -0600
Message-ID: <8a80660373bf9494ae545525a4e60bcf@sitening.com> (raw)
In-Reply-To: <42402A4B.70703@ceroriesgo.co.cr>
References: <42402A4B.70703@ceroriesgo.co.cr>
Please post the results of that query as run through EXPLAIN ANALYZE.
Also, I'm going to reply to this on pgsql-performance, which is
probably where it better belongs.
-tfo
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005
On Mar 22, 2005, at 8:23 AM, Sabio - PSQL wrote:
> How can I improve speed on my queries. For example this query takes
> one day executing itself and it has not finalized !!!
> "create table tmp_partes as select * from partes where identificacion
> not in (select cedula from sujetos)"
>
> partes have 1888000 rows, an index on identificacion
> sujetos have 5500000 rows, an index on cedula
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: tfo@sitening.com, slopez_pg@ceroriesgo.co.cr
Subject: Re: [ADMIN] Too slow
In-Reply-To: <8a80660373bf9494ae545525a4e60bcf@sitening.com>
* 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