pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlo Stonebanks <stonec.register@sympatico.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Performance Optimization for Dummies 2 - the SQL
Date: Tue, 17 Oct 2006 02:43:57 -0400
Message-ID: <eh1u3h$2plf$1@news.hub.org> (raw)
References: <eft782$5a1$1@news.hub.org>
	<b42b73150610042326v7fdeed17rf6b96e52a681a6db@mail.gmail.com>
	<eg2cds$29en$1@news.hub.org>
	<b42b73150610050630t76e9eedeh45a382729d35f2f6@mail.gmail.com>
	<eg611q$l0m$1@news.hub.org>
	<1160153623.6181.13.camel@state.g2switchworks.com>
	<b42b73150610061153i3d11d7a4r23e1d7c5317feb9f@mail.gmail.com>
	<eg6f8l$2det$1@news.hub.org>
	<b42b73150610090649y74c4dc99g176366921f784e7b@mail.gmail.com>
	<egua6n$1fv4$1@news.hub.org>
	<b42b73150610161407l55e66854g94b31de6dd511f16@mail.gmail.com>

> you have a two part part key on facility(country code, postal code), 
> right?

Well, I'm glad you pointed it out, because I THOUGhT I had created it, but 
apparently I haven't -- I only noticed that it was missing after I listed 
all the other indexes. Looks like this query is one of the victims of a db 
structure corruption I suffered when transferring the schema over from 
development into production.

(Well, that's my excuse and I'm sticking to it!)

Thanks for all the help - I've reduced the execution time to 1/10 of its 
original time.

Carlo 





view thread (38+ messages)  latest in thread

Message-ID: <eh1u3h$2plf$1@news.hub.org>
Permalink:  ../eh1u3h$2plf$1@news.hub.org/
Also on:    postgresql.org/message-id/eh1u3h$2plf$1@news.hub.org

 · 

reply

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-performance@postgresql.org
  Cc: stonec.register@sympatico.ca
  Subject: Re: Performance Optimization for Dummies 2 - the SQL
  In-Reply-To: <eh1u3h$2plf$1@news.hub.org>

* 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