pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gaetano Mendola <mendola@bigfoot.com>
To: Steve <steve@hotmail.com>
Subject: Re: Utilizing multiple disks
Date: Sun, 25 Jul 2004 02:03:59 +0200
Message-ID: <4102F8EF.7080504@bigfoot.com> (raw)
In-Reply-To: <cdmv71$1u0m$4@news.hub.org>
References: <cdmv71$1u0m$4@news.hub.org>

Steve wrote:

> Hi,
> 
> I've been running postgres on my server for over a year now and the 
> tables have become huge. I have 3 tables that have data over 10GB each 
> and these tables are read very very frequently. In fact, heavy searches 
> on these tables are expected every 2 to 3 minutes. This unfortunately 
> gives a very poor response time to the end user and so I'm looking at 
> other alternatives now.

This depend on the query that you are running on it:

Are you performing queries using the like operator? If yes did you define
an index on it using the right operator class ?

Are you performing queries on a calculated field ? If yes then you need
to construct a sort of materialized view.

If you are on Linux did you mounted your data partition with the option
noatime ?


Please provide use more information on your queries and on your datas,
your configurations...

Usualy split your tables on multiple disk is the last optimization step,
are you sure did you already reach the bootleneck of your sistem ?



Regards
Gaetano Mendola





view thread (3+ messages)  latest in thread

Message-ID: <4102F8EF.7080504@bigfoot.com>
Permalink:  ../4102F8EF.7080504@bigfoot.com/
Also on:    postgresql.org/message-id/4102F8EF.7080504@bigfoot.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 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, steve@hotmail.com
  Subject: Re: Utilizing multiple disks
  In-Reply-To: <4102F8EF.7080504@bigfoot.com>
  References: <cdmv71$1u0m$4@news.hub.org> <4102F8EF.7080504@bigfoot.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