From: Tomasz Myrta <jasiek@klaster.net>
To: mlennert@club.worldonline.be
Cc: pgsql-sql@postgresql.org
Subject: Re: performance question
Date: Mon, 20 Jan 2003 22:05:47 +0100
Message-ID: <3E2C64AB.2070101@klaster.net> (raw)
In-Reply-To: <59665.164.15.128.4.1043062834.squirrel@http://moritz.homelinux.org>
References: <59665.164.15.128.4.1043062834.squirrel@http://moritz.homelinux.org>
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
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: jasiek@klaster.net, mlennert@club.worldonline.be
Subject: Re: performance question
In-Reply-To: <3E2C64AB.2070101@klaster.net>
* 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