pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Crosby <ryusei@gmail.com>
To: Richard Huxton <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Looking for tips
Date: Tue, 19 Jul 2005 14:41:51 -0400
Message-ID: <1efd553a05071911413e50ea90@mail.gmail.com> (raw)
In-Reply-To: <42DD420C.2010306@archonet.com>
References: <1efd553a05071910427b290203@mail.gmail.com>
	<42DD420C.2010306@archonet.com>

> Identify what the problem is first of all. Some things to consider:
>  - Are there particular queries giving you trouble?
>  - Is your load mostly reads or mostly writes?
>  - Do you have one user or 100?
>  - Are you block-loading data efficiently where necessary?
>  - Have you indexed both sides of your foreign-keys where sensible?
>  - Are your disks being used effectively?
>  - Are your statistics accurate/up to date?

No queries in particular appear to be a problem. I think it's just the
overall speed. If any of the configuration settings will help make the
simple select queries go faster, that would be ideal.
The load is about 50/50 read/write.
At the moment it's just one user, but the goal is to have a cluster of
servers (probably less than a dozen) updating to a central db.
Indices exist for the fields being searched, but we don't have any foreign keys.
I'm not too familiar with effective disk usage or statistics...



view thread (28+ messages)  latest in thread

Message-ID: <1efd553a05071911413e50ea90@mail.gmail.com>
Permalink:  ../1efd553a05071911413e50ea90@mail.gmail.com/
Also on:    postgresql.org/message-id/1efd553a05071911413e50ea90@mail.gmail.com

 · 

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: ryusei@gmail.com, dev@archonet.com
  Subject: Re: Looking for tips
  In-Reply-To: <1efd553a05071911413e50ea90@mail.gmail.com>

* 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