pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris Mair <list@1006.org>
To: SpaceBallOne <space_ball_one@hotmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: poor performance of db?
Date: Mon, 24 Jan 2005 11:38:47 +0100
Message-ID: <1106563126.7157.51.camel@dell> (raw)
In-Reply-To: <BAY14-DAV850511937A7C1DDE0806FCC850@phx.gbl>
References: <BAY14-DAV850511937A7C1DDE0806FCC850@phx.gbl>

> I then re-wrote the page to use a single select query to call all the
> information needed by PHP to draw the screen. That managed to shave it
> down to 3.5 seconds... but this so far is as fast as I can get the
> page to load. Have tried vacuuming and creating indexes but to no
> avail. (increasing shared mem buffers yet to be done)

If you call this select statement directly from psql instead of through
the PHP thing, does timing change?

(just to make sure, time is actually spent in the query and not
somewhere else)

PS: use \timing in psql to see timing information

Bye, Chris.





view thread (8+ messages)  latest in thread

Message-ID: <1106563126.7157.51.camel@dell>
Permalink:  ../1106563126.7157.51.camel@dell/
Also on:    postgresql.org/message-id/1106563126.7157.51.camel@dell

 · 

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: list@1006.org, space_ball_one@hotmail.com
  Subject: Re: poor performance of db?
  In-Reply-To: <1106563126.7157.51.camel@dell>

* 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