Skip site navigation (1) Skip section navigation (2)

Re: COPY insert performance

From: Jeff Trout <threshar(at)torgo(dot)978(dot)org>
To: Chris Isaacson <cisaacson(at)tradebotsystems(dot)com>
Cc: "John A Meinel" <john(at)arbash-meinel(dot)com>,<pgsql-performance(at)postgresql(dot)org>
Subject: Re: COPY insert performance
Date: 2005-07-26 14:22:57
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
On Jul 26, 2005, at 8:15 AM, Chris Isaacson wrote:
> I am using InnoDB with MySQL which appears to enforce true transaction
> support.  (  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(at)jefftrout(dot)com>

In response to

pgsql-performance by date

Next:From: Vivek KheraDate: 2005-07-26 15:22:31
Subject: Re: Looking for tips
Previous:From: Chris IsaacsonDate: 2005-07-26 12:27:25
Subject: Re: COPY insert performance

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group