Re: [GENERAL] Fast join

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Leon <leon(at)udmnet(dot)ru>
Cc: "'pgsql-general(at)hub(dot)org'" <pgsql-general(at)hub(dot)org>
Subject: Re: [GENERAL] Fast join
Date: 1999-06-29 13:31:52
Message-ID: 199906291331.JAA20566@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Hello all!
>
> I assume this is a developer's list, isn't it? Because the
> address hackers-request(at)postgreSQL(dot)org mentioned in PostgreSQL FAQ
> doesn't work.
>
> Ok. Let me begin with the beginning. We are a group of developers
> of an free accounting system here in Russia. We want to use Postgres
> as our database server. It is cool, but we encountered a problem
> during preliminary tests, a problem concerning joins. The problem
> is that joins are too slow. Consider that sequence of commands
> given at the command prompt of psql (strange duplicates of NOTICEs are
> removed):

Are you using 6.5? If not, upgrade. The optimizer is much smarter in
6.5.

Also, if a join does most of the table, it is faster do not use indexes,
and just sort on the backend.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leon 1999-06-29 14:00:53 Re: [GENERAL] Fast join
Previous Message Leon 1999-06-29 13:27:16 Re: [GENERAL] Fast join