Too slow

From: Sabio - PSQL <slopez_pg(at)ceroriesgo(dot)co(dot)cr>
To: PostgreSQL Admin <pgsql-admin(at)postgresql(dot)org>
Subject: Too slow
Date: 2005-03-22 14:23:07
Message-ID: 42402A4B.70703@ceroriesgo.co.cr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-performance

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message KÖPFERL Robert 2005-03-22 15:48:00 Databases there, tables away
Previous Message Dragan Matic 2005-03-22 13:56:56 Re: Fixing "old version was found" error

Browse pgsql-performance by date

  From Date Subject
Next Message Alex Turner 2005-03-22 14:56:02 Planner issue
Previous Message Kenneth Marshall 2005-03-22 14:00:50 Re: What about utility to calculate planner cost constants?