Skip site navigation (1) Skip section navigation (2)

Re: How to get higher tps

From: Ron <rjpeace(at)earthlink(dot)net>
To: "Marty Jia" <mjia(at)ask(dot)com>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: How to get higher tps
Date: 2006-08-22 15:47:13
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
At 04:45 PM 8/21/2006, Marty Jia wrote:
>I'm exhausted to try all performance tuning ideas, like following

All of this comes =after= the Get the Correct HW (1) & OS (2) 
steps.  You are putting the cart before the horse.

>I believe all above have right size and values, but I just can not get
>higher tps more than 300 testd by pgbench

300tps on what HW?  and under what pattern of IO load?
300tps of OLTP on a small number of non-Raptor 10K rpm HD's may 
actually be decent performance.
300tps on a 24 HD RAID 10 based on Raptors or 15Krpm HDs and working 
through a HW RAID controller w/ >= 1GB of BB cache is likely to be poor.

>Here is our hardware
>Dual Intel Xeon 2.8GHz

Modest CPU and RAM for a DB server now-a-days.   In particular, the 
more DB you can keep in RAM the better.
And you have said nothing about the most importance HW when talking 
about tps:  What Does Your HD Subsystem Look Like?

>Linux 2.4 kernel
>RedHat Enterprise Linux AS 3
Upgrade to a 2.6 based kernel and examine your RHEL-AS3 install with 
a close eye to trimming the fat you do not need from it.  Cent-OS ot 
Ca-Os may be better distro choices.

>200GB for PGDATA on 3Par, ext3
>50GB for WAL on 3Par, ext3
Put WAL on ext2.  Experiment with ext3, jfs, reiserfs, and XFS for pgdata.

Take a =close= look at the exact HW specs of your make sure 
that you are not attempting the impossible with that HW.
"3par" is marketing fluff.  We need HD specs and RAID subsystem config data.

>With PostgreSql 8.1.4
>We don't have i/o bottle neck.
Prove it.  Where are the numbers that back up your assertion and how 
did you get them?

>Whatelse I can try to better tps? Someone told me I can should get tps
>over 1500, it is hard to believe.
Did they claim your exact HW could get 1500tps?  Your exact HW+OS+pg 
version+app SW?  Some subset of those 4 variables?
Performance claims are easy to make.  =Valid= performance claims are 
tougher since they have to be much more constrained and descriptive.


In response to


pgsql-performance by date

Next:From: Marty JiaDate: 2006-08-22 15:57:13
Subject: Re: How to get higher tps
Previous:From: Marty JiaDate: 2006-08-22 15:46:34
Subject: Re: How to get higher tps

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group