pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mendola Gaetano <mendola@bigfoot.com>
To: pgsql-admin@postgresql.org
Cc: Dennis Oudijk <dennis@emg.ca>
Subject: Re: Statistical Reporting
Date: Wed, 17 Sep 2003 11:56:15 +0200
Message-ID: <006d01c37d01$ef3da620$152aa8c0@GMENDOLA2> (raw)
References: <bk83tj$13t5$1@news.hub.org>

"Dennis Oudijk" <dennis@emg.ca> wrote:
> We run an apartment rental websites where people can post the rental
> properties that are available to rent.
>
> We currently have a statistics feature that provides landlords with
> information such as 'how many time has their property come up in a search'
> and 'how many times have people clicked on the rental property in the
search
> result to view the complete details'.
>
> This queries our database and seems to place a heavy load on our server.
we
> are thinking of using replication so that we can query the offline server
> (backup server) so that we do not task the live server however we
understand
> that currently there is not a stable replication solution for Postgresql
> 7.32
>
> Does anybody have any suggestion on how to handle this query more
> efficiently?

Which query ?
Show as, the query, table definition, and the explain analyze on that query.

Regards
Gaetano Mendola




view thread (2+ messages)

Message-ID: <006d01c37d01$ef3da620$152aa8c0@GMENDOLA2>
Permalink:  ../006d01c37d01$ef3da620$152aa8c0@GMENDOLA2/
Also on:    postgresql.org/message-id/006d01c37d01$ef3da620$152aa8c0@GMENDOLA2

 · 

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-admin@postgresql.org
  Cc: mendola@bigfoot.com, dennis@emg.ca
  Subject: Re: Statistical Reporting
  In-Reply-To: <006d01c37d01$ef3da620$152aa8c0@GMENDOLA2>
  References: <bk83tj$13t5$1@news.hub.org> <006d01c37d01$ef3da620$152aa8c0@GMENDOLA2>

* 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