pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: Nicholay P. Chuprynin <kolyan@infoport.uz>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgres & large tables on average machine
Date: Fri, 29 Mar 2002 17:24:50 -0800
Message-ID: <3CA513E2.5000501@wellsgaming.com> (raw)
References: <ILEMKFGEMKDJNPOGGNCKOECJCOAA.fred@digicamp.com>

Fred Moyer wrote:
> Your UDMA 33 bus will limit disk reads to 33 Mbytes/sec so there is your
> first bottleneck.  Get a  66 mhz PCI ide adapter (Promise is cheap) and that
> will increase your disk speed dramatically.
> Also you won't be able to do much with 128 Mb of ram, put in as much as you
> can.  That box is likely 66 mhz front side bus so that will be a bottleneck
> once you max out the ram.
 >
[snip]
> 
>>Resently I had to create and manage the (relatively) large table.
>>In the mean time it's about 8 million rows, and surely will grow above
>>this size.
>>The problem is that queries takes absolutely not acceptable time.
>>Database located on average Celeron 400 machine with 128 Mb of RAM and
>>UDMA 33 capable IDE drive.
>>I run PostgreSQL 7.1 on Debian Linux with 2.4.18 kernel.
>>My question is what could be done in order to improve the performance?
>>I mean, is that normal behavior for Postgres on such computer or I
>>encounter a misconfiguration?

Also, the Celeron processor is cache-starved.  If you can switch it out
for a P3 at even the same clock speed, it'd be worth it.  A while back,
someone posted benchmarks where he just changed the processor from a
Celeron to a P3 of the same clock speed and the P3 was twice as fast.

Databases are I/O bound.  Anything you can stuff into cache is worth it.
This is why lots of memory, big disk caches, disk controller caches, and
processor caches help so much.

--Jeremy




view thread (6+ messages)  latest in thread

Message-ID: <3CA513E2.5000501@wellsgaming.com>
Permalink:  ../3CA513E2.5000501@wellsgaming.com/
Also on:    postgresql.org/message-id/3CA513E2.5000501@wellsgaming.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: jeremy@wellsgaming.com, kolyan@infoport.uz
  Subject: Re: Postgres & large tables on average machine
  In-Reply-To: <3CA513E2.5000501@wellsgaming.com>
  References: <ILEMKFGEMKDJNPOGGNCKOECJCOAA.fred@digicamp.com> <3CA513E2.5000501@wellsgaming.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