Re: What's size of your PostgreSQL Database?

From: "Brent Wood" <b(dot)wood(at)niwa(dot)co(dot)nz>
To: <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: What's size of your PostgreSQL Database?
Date: 2008-08-19 05:36:02
Message-ID: 48AB04820200007B00014A51@gwia1.ham.niwa.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a db (tables with up to 5,000,000 records, up to 70 columns x 1,500,000 records, around 50Gb of disk space for the database (incl data, indexes, etc)

Most records have PostGIS geometry columns, which work very well.

For read performance this is on a (2 yr old) Linux box with 2x software RAID 0 (striped) WD 10,000RPM Raptor drives.

FWIW bonnie gives reads at about 150Mb/sec from the filesystem. We have been more than happy with performance.
though the 4Gb of RAM helps....

For data security, pg_dump backs it up every second day onto another 250Gb drive on the box, & this is copied over the LAN to another server which is backed up to tape every day.

It works for us :-)

Cheers,

Brent Wood

>>> Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com> 08/19/08 4:00 PM >>>
On Mon, 2008-08-18 at 11:01 -0400, justin wrote:
> Ow Mun Heng wrote:
> > -----Original Message-----
> > From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
> >
> > > If you're looking at read only / read
> > > mostly, then RAID5 or 6 might be a better choice than RAID-10. But
> > > RAID 10 is my default choice unless testing shows RAID-5/6 can beat
> > > it.
> > >
> >
> > I'm loading my slave server with RAID-0 based on 3 IDE 7200 Drives.
> > Is this worst off than a RAID 5 implementation?
> >
> >
> >
> I see no problem using Raid-0 on a purely read only database where
> there is a copy of the data somewhere else. RAID 0 gives performance.
> If one of the 3 drives dies it takes the server down and lost of data
> will happen. The idea behind RAID 1/5/6/10 is if a drive does fail
> the system can keep going. Giving you time to shut down and replace
> the bad disk or if you have hot swappable just pull and replace.

I'm looking for purely read-only performance and since I didn't have the
bandwidth to do extensive testing, I didn't know whether a RAID1 or a
Raid 0 will do the better job. In the end, I decided to go with RAID 0
and now, I'm thinking if RAID1 will do a better job.

>

Browse pgsql-general by date

  From Date Subject
Next Message David Wilson 2008-08-19 06:28:42 Re: What's size of your PostgreSQL Database?
Previous Message Francisco Figueiredo Jr. 2008-08-19 01:50:22 Re: Postres.exe Processes Hang