Re: Postgres insert performance and storage requirement compared to Oracle

From: Mladen Gogala <mladen(dot)gogala(at)vmsinfo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres insert performance and storage requirement compared to Oracle
Date: 2010-10-26 21:02:55
Message-ID: 4CC741FF.8050709@vmsinfo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 10/26/2010 11:41 AM, Merlin Moncure wrote:
> yup, that's exactly what I mean -- this will give you more uniform
> insert performance (your temp table doesn't even need indexes). Every
> N records (say 10000) you send to permanent and truncate the temp
> table. Obviously, this is more fragile approach so weigh the
> pros/cons carefully.
>
> merlin

Truncate temporary table? What a horrible advice! All that you need is
the temporary table to delete rows on commit.

--

Mladen Gogala
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
http://www.vmsinfo.com
The Leader in Integrated Media Intelligence Solutions

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jon Nelson 2010-10-26 21:27:23 Re: Postgres insert performance and storage requirement compared to Oracle
Previous Message Simon Riggs 2010-10-26 21:00:16 Re: ask for review of MERGE

Browse pgsql-performance by date

  From Date Subject
Next Message André Volpato 2010-10-26 21:04:10 Re: AIX slow buffer reads
Previous Message Josh Berkus 2010-10-26 20:54:07 Re: CPUs for new databases