Re: Massive performance issues

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: Matthew Sackman <matthew(at)lshift(dot)net>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Massive performance issues
Date: 2005-09-02 04:24:32
Message-ID: 4317D400.2080809@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Matthew Sackman wrote:

> I need to get to the stage where I can run queries such as:
>
> select street, locality_1, locality_2, city from address
> where (city = 'Nottingham' or locality_2 = 'Nottingham'
> or locality_1 = 'Nottingham')
> and upper(substring(street from 1 for 1)) = 'A'
> group by street, locality_1, locality_2, city
> order by street
> limit 20 offset 0
>
> and have the results very quickly.
>

This sort of query will be handled nicely in 8.1 - it has bitmap and/or
processing to make use of multiple indexes. Note that 8.1 is in beta now.

Cheers

Mark

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Luke Lonergan 2005-09-02 04:54:34 Re: Poor performance on HP Package Cluster
Previous Message Hemant Pandey 2005-09-02 03:51:51 Update is more affected( taking more time) than Select ( if Auto vacuum is not running)