From: Fernando Eduardo B. L. e Carvalho <feblec@ig.com.br>
To: Postgresql <pgsql-sql@postgresql.org>
Subject: Select very slow...
Date: Sun, 18 Mar 2001 06:15:42 -0300
Message-ID: <3AB47CBE.B3D44367@ig.com.br> (raw)
Table 1
create table person (
doc text primary key,
etc ....
city text );
90000 rows
create table sales (
doc text,
etc .....
);
300000 rows
select p.city,count(*) from sales s, person p where s.doc = p.doc
group by p.city;
Anyone help-me?
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-sql@postgresql.org
Cc: feblec@ig.com.br
Subject: Re: Select very slow...
In-Reply-To: <3AB47CBE.B3D44367@ig.com.br>
* 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