Re: [HACKERS] Low Performance

From: Hannu Krosing <hannu(at)trust(dot)ee>
To: pourreza(at)yahoo(dot)com
Cc: PGSQL <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Low Performance
Date: 1999-04-24 13:51:33
Message-ID: 3721CC65.7ABCE800@trust.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pourreza wrote:
>
> Hi to all
> I have a problem to join a table and a view. My table and view each has
> 150000
> records. When I join these it takes about 30sec. How can improve
> performance.

1. Use EXPLAIN on the join and add indexes where appropriate
2. Use a join that returns less rows
3. Use a faster computer or increase buffer size
4. Redesign your tables.
5. Tell us more about your setup and tables/views

----------------
Hannu

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-04-24 15:46:13 Re: [HACKERS] Can't start postmaster
Previous Message Tom Lane 1999-04-23 21:38:54 Re: [HACKERS] Re: light dawns: serious bug in FE/BE protocol handling