| From: | Thomas F(dot)O'Connell <tfo(at)sitening(dot)com> |
|---|---|
| To: | Sabio - PSQL <slopez_pg(at)ceroriesgo(dot)co(dot)cr> |
| Cc: | PgSQL - Performance <pgsql-performance(at)postgresql(dot)org> |
| Subject: | Re: [ADMIN] Too slow |
| Date: | 2005-03-22 18:50:29 |
| Message-ID: | 8a80660373bf9494ae545525a4e60bcf@sitening.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin pgsql-performance |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sabio - PSQL | 2005-03-22 18:55:01 | Re: Too slow |
| Previous Message | Chris Hoover | 2005-03-22 18:49:20 | Re: Too slow |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2005-03-22 18:56:10 | Re: What about utility to calculate planner cost constants? |
| Previous Message | Chris Hoover | 2005-03-22 18:49:20 | Re: Too slow |