Re: [HACKERS] Performance while loading data and indexing

From: Justin Clift <justin(at)postgresql(dot)org>
To: shridhar_daithankar(at)persistent(dot)co(dot)in
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Performance while loading data and indexing
Date: 2002-09-26 09:49:53
Message-ID: 3D92D841.3E02B2A8@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-performance

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-09-26 09:54:48 Re: [HACKERS] Performance while loading data and indexing
Previous Message Richard Huxton 2002-09-26 09:48:06 Re: Performance while loading data and indexing

Browse pgsql-hackers by date

  From Date Subject
Next Message Mario Weilguni 2002-09-26 09:50:08 Re: Performance while loading data and indexing
Previous Message Richard Huxton 2002-09-26 09:48:06 Re: Performance while loading data and indexing

Browse pgsql-performance by date

  From Date Subject
Next Message Justin Clift 2002-09-26 09:56:34 Re: [HACKERS] Performance while loading data and indexing
Previous Message Richard Huxton 2002-09-26 09:48:06 Re: Performance while loading data and indexing