pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Bergman <steve@rueb.com>
To: pgsql-performance@postgresql.org
Subject: Optimizing for writes. Data integrity not critical
Date: Thu, 19 May 2005 17:21:07 -0500
Message-ID: <428D1153.1020109@rueb.com> (raw)

Hi,

I am using postgresql in small (almost trivial) application in which I 
pull some data out of a Cobol C/ISAM file and write it into a pgsl 
table.  My users can then use the data however they want by interfacing 
to the data from OpenOffice.org.

The amount of data written is about 60MB and takes a few minutes on a 
1200Mhz Athlon with a single 60MB IDE drive running Fedora Core 3 with 
pgsql 7.4.7.  I'd like to speed up the DB writes a bit if possible.  
Data integrity is not at all critical as the database gets dropped, 
created, and populated immediately before each use.  Filesystem is ext3, 
data=ordered and I need to keep it that way as there is other data in 
the filesystem that I do care about.  I have not done any tuning in the 
config file yet, and was wondering what things would likely speed up 
writes in this situation.

I'm doing the writes individually.  Is there a better way?  Combining 
them all into a transaction or something?

Thanks,
Steve Bergman



view thread (6+ messages)  latest in thread

Message-ID: <428D1153.1020109@rueb.com>
Permalink:  ../428D1153.1020109@rueb.com/
Also on:    postgresql.org/message-id/428D1153.1020109@rueb.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: steve@rueb.com
  Subject: Re: Optimizing for writes. Data integrity not critical
  In-Reply-To: <428D1153.1020109@rueb.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox