From: Radu-Adrian Popescu <radu.popescu@aldratech.com>
To: Postgres Admin List <pgsql-admin@postgresql.org>
Subject: Re: Maximum Performance
Date: 24 Jan 2002 13:13:50 +0200
Message-ID: <1011870830.3343.47.camel@rpopescu> (raw)
On Thu, 2002-01-24 at 10:02, Jean Huveneers wrote:
> Hi,
>
> Within an couple of weeks we will start using PostgreSQL on Mandrake 8.1
> in real business (we have been testing, for over a half year).
>
Not that i have anything against Mandrake, but it is a desktop
distribution. I've heard several admins say their kernels are pretty
weak when it comes to server applications. So get a RedHat kernel
instead (2.2 or 2.4 series), because they are tested very thouroughly
and they include the best of Alan Cox' patches.
> In future we will have some tables with 100.000+ records an the system
> has te work very fast.
100.000+ records it's a pretty thin number. A PIII with 256 MB and X/Gnome
desktop running handles tables of 1.000.000 records on my workstation very
well.
> I know that speed of querries depend much on the amount of availible RAM
> to PostgreSQL, the server will only run the databases. What amount is
> RAM is usefull (I meen, does Postgres use the RAM, if availible, up to 2
> GB)?
Postgresql can use alot of ram. Read the pgsql docs on shared memory and kernel
parameters; you can reserve alot of shmem to postgresql, and yes, with a
large DB and/or alot of concurent connections it will even eat up your
swap. Also, check out Bruce M.'s articles on PostgreSQL optimization, as
they cover this and many more issues.
> I'm can chose for a Dual Athlon MP on a Tyan Thunder K7 motherbord, but
> does PostgreSQL use the 2 processors?
Like the post before said, using a SMP kernel (again, use RedHat's
kernels !) will send backends to both processors. Also you should note
that *any* program that forks or creates threads on a SMP machine will
be able to use (all) the processors.
--
Radu-Adrian Popescu
CSA, DBA, Programmer
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: radu.popescu@aldratech.com
Subject: Re: Maximum Performance
In-Reply-To: <1011870830.3343.47.camel@rpopescu>
References: <1011870830.3343.47.camel@rpopescu>
* 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