pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Antal Attila <atesz@ritek.hu>
Cc: pgsql-performance@postgresql.org
Subject: Re: What's the best hardver for PostgreSQL 8.1?
Date: Tue, 20 Dec 2005 14:06:09 -0600
Message-ID: <20051220200609.GM28771@pervasive.com> (raw)
In-Reply-To: <43A84D03.7090002@ritek.hu>
References: <43A84D03.7090002@ritek.hu>

On Tue, Dec 20, 2005 at 07:27:15PM +0100, Antal Attila wrote:
> We have complex databases with some 100million rows (2-3million new 

How much space does that equate to?

> records per month). Our current servers are working on low resposibility 
> in these days, so we have to buy new hardver for database server. Some 
> weeks ago we started to work with PostgreSQL8.1, which solved the 
> problem for some months.
> There are some massive, hard query execution, which are too slow (5-10 
> or more minutes). The parallel processing is infrequent (rarely max. 4-5 
> parallel query execution).
> So we need high performance in query execution with medium parallel 
> processability.
> What's your opinion what productions could help us? What is the best or 
> only better choice?
> The budget line is about 30 000$ - 40 000$.

Have you optimized the queries?

Items that generally have the biggest impact on performance in
decreasing order:
1. System architecture
2. Database design
3. (for long-running/problem queries) Query plans
4. Disk I/O
5. Memory
6. CPU

So, I'd make sure that the queries have been optimized (and that
includes tuning postgresql.conf) before assuming you need more hardware.

Based on what you've told us (very little parallelization), then your
biggest priority is probably either disk IO or memory (or both). Without
knowing the size of your database/working set it's difficult to provide
more specific advice.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (54+ messages)  latest in thread

Message-ID: <20051220200609.GM28771@pervasive.com>
Permalink:  ../20051220200609.GM28771@pervasive.com/
Also on:    postgresql.org/message-id/20051220200609.GM28771@pervasive.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: jnasby@pervasive.com, atesz@ritek.hu
  Subject: Re: What's the best hardver for PostgreSQL 8.1?
  In-Reply-To: <20051220200609.GM28771@pervasive.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