Re: [GENERAL] Performance while loading data and indexing - Mailing list pgsql-hackers

From Justin Clift
Subject Re: [GENERAL] Performance while loading data and indexing
Date
Msg-id 3D92D841.3E02B2A8@postgresql.org
Whole thread Raw
In response to Re: [GENERAL] Performance while loading data and indexing  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List pgsql-hackers
Shridhar Daithankar wrote:
<snip>
> > > fsync=true (Sad but true. Left untouched.. Will that make a difference on
> > > SCSI?)
> >
> > Definitely.  Have directly measured a ~ 2x tps throughput increase on
> > FreeBSD when leaving fsync off whilst performance measuring stuff
> > recently (PG 7.2.2).  Like anything it'll depend on workload, phase of
> > moon, etc, but it's a decent indicator.
>
> I didn't know even that matters with SCSI..Will check out..

Cool.  When testing it had FreeBSD 4.6.2 installed on one drive along
with the PostgreSQL 7.2.2 binaries, it had the data on a second drive
(mounted as /pgdata), and it had the pg_xlog directory mounted on a
third drive.  Swap had it's own drive as well.

Everything is UltraSCSI, etc.  Haven't yet tested for a performance
difference through moving the indexes to another drive after creation
though.  That apparently has the potential to help as well.

:-)

Regards and best wishes,

Justin Clift

--
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
   - Indira Gandhi

pgsql-hackers by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: [GENERAL] Performance while loading data and indexing
Next
From: "Mario Weilguni"
Date:
Subject: Re: Performance while loading data and indexing