Re: Improving speed of copy

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: Pgsql-hackers(at)postgresql(dot)org
Subject: Re: Improving speed of copy
Date: 2002-09-21 08:44:26
Message-ID: 3D8C7EC2.21798.1D636CD3@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 20 Sep 2002 at 10:27, Mike Benoit wrote:

> On Fri, 2002-09-20 at 08:52, Shridhar Daithankar wrote:
>
> > Besides there is issue of space. Mysql takes 1.4GB space for 1.2GB text data
> > and postgresql takes 3.2GB of space. Even with 40 bytes per row overhead
> > mentioned in FAQ, that should come to around 1.7GB, counting for 40% increase
> > in size. Vacuum was run on database.
> >
>
> How did you calculate the size of database? If you used "du" make sure
> you do it in the data/base directory as to not include the WAL files.

OK latest experiments, I turned number of buffers 15K and fsync is disabled..
Load time is now 1250 sec.

I noticed lots of notices in log saying, XLogWrite: new log files created.. I
am pushing wal_buffers to 1000 and wal_files to 40 to test again.. I hope it
gives me some required boost..

And BTW about disk space usage, it's 2.6G with base pg_xlog taking 65M. still
not good..

Will keep you guys updated..

Bye
Shridhar

--
It is necessary to have purpose. -- Alice #1, "I, Mudd", stardate 4513.3

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2002-09-21 15:13:44 Re: Hosed PostGreSQL Installation
Previous Message Pete St. Onge 2002-09-21 05:54:55 Hosed PostGreSQL Installation