Re: Too slow

From: Sabio - PSQL <slopez_pg(at)ceroriesgo(dot)co(dot)cr>
To: PostgreSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Too slow
Date: 2005-03-22 18:55:01
Message-ID: 42406A05.6020008@ceroriesgo.co.cr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

PG version = 8.0 over Linux Fedora Core 3
PostgreSQL was compiled from source

Lee Wu wrote:

>PG version?
>
>Maybe worth to try NOT EXISTS instead of NOT IN
>
>-----Original Message-----
>From: pgsql-admin-owner(at)postgresql(dot)org
>[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Sabio - PSQL
>Sent: Tuesday, March 22, 2005 7:23 AM
>To: PostgreSQL Admin
>Subject: [ADMIN] Too slow
>
>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
>
>
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 4: Don't 'kill -9' the postmaster
>
>
>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sabio - PSQL 2005-03-22 19:10:08 Re: Too slow
Previous Message Thomas F.O'Connell 2005-03-22 18:50:29 Re: [ADMIN] Too slow