pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andy Lowe <andyl@dmetrix.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Query is significantly slower on faster machine
Date: Fri, 13 Aug 2004 14:16:33 -0400
Message-ID: <25441.1092420993@sss.pgh.pa.us> (raw)
In-Reply-To: <000501c48011$9fe99020$ef01a8c0@andy>
References: <000501c48011$9fe99020$ef01a8c0@andy>

"Andy Lowe" <andyl@dmetrix.com> writes:
> I've got an application that runs on the same machine as my database.  The
> application contains a query that was taking significantly too long to run
> on a test system.  On my development machine, it runs approximately 8-10
> times faster, using a database containing identical data.

My first instinct is to think that you're getting different plans for
the query.  Try EXPLAIN ANALYZE'ing the query on both systems and see
what you get.

			regards, tom lane



view thread (2+ messages)

Message-ID: <25441.1092420993@sss.pgh.pa.us>
Permalink:  ../25441.1092420993@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25441.1092420993@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andyl@dmetrix.com
  Subject: Re: Query is significantly slower on faster machine
  In-Reply-To: <25441.1092420993@sss.pgh.pa.us>
  References: <000501c48011$9fe99020$ef01a8c0@andy> <25441.1092420993@sss.pgh.pa.us>

* 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