Re: performance question

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: mlennert(at)club(dot)worldonline(dot)be
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: performance question
Date: 2003-01-20 21:05:47
Message-ID: 3E2C64AB.2070101@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Moritz Lennert wrote:

>Hello,
>
>I have a table with some 2.2 million rows on a Pentium4, 1.8GHz with 512
>MB RAM.
>Some queries I launch take quite a long time, and I'm wondering whether
>this is normal,or whether I can get better performance somehow.
>
>As an example, I have a field which is in char(2), with 23 different
>possible values.

This field is not too selective. Are there any more fields which are always in where condition?
If yes, indexing on more than one field should help.

Tomasz Myrta

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Josh Berkus 2003-01-20 22:20:37 Re: performance question
Previous Message Tom Lane 2003-01-20 20:38:20 Re: performance question