From: Jeff Trout <threshar@torgo.978.org>
To: Chris Isaacson <cisaacson@tradebotsystems.com>
Cc: John A Meinel <john@arbash-meinel.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: COPY insert performance
Date: Tue, 26 Jul 2005 10:22:57 -0400
Message-ID: <795D0AC7-3C39-4CE3-A105-921F35BAC8DF@torgo.978.org> (raw)
In-Reply-To: <07774C6E31D94A44A2A60E2085944F09071DF1@tbmail.tradebot.com>
References: <07774C6E31D94A44A2A60E2085944F09071DF1@tbmail.tradebot.com>
On Jul 26, 2005, at 8:15 AM, Chris Isaacson wrote:
>
> I am using InnoDB with MySQL which appears to enforce true transaction
> support. (http://dev.mysql.com/doc/mysql/en/innodb-overview.html) If
> not, how is InnoDB "cheating"?
>
are you sure your tables are innodb?
chances are high unless you explcitly stated "type = innodb" when
creating that they are myisam.
look at "show table status" output to verify.
>
> I've played with the checkpoint_segments. I noticed an enormous
> improvement increasing from the default to 40, but neglible
> improvement
> thereafter. Do you have a recommendation for a value?
there's been a thread on -hackers recently about checkpoint issues..
in a nut shell there isn't much to do. But I'd say give bizgres a
try if you're going to be continually loading huge amounts of data.
--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/http://www.stuarthamm.net/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: threshar@torgo.978.org, cisaacson@tradebotsystems.com, john@arbash-meinel.com
Subject: Re: COPY insert performance
In-Reply-To: <795D0AC7-3C39-4CE3-A105-921F35BAC8DF@torgo.978.org>
References: <07774C6E31D94A44A2A60E2085944F09071DF1@tbmail.tradebot.com> <795D0AC7-3C39-4CE3-A105-921F35BAC8DF@torgo.978.org>
* 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