Re: Postgres insert performance and storage requirement compared to Oracle

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Divakar Singh <dpsmails(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgres insert performance and storage requirement compared to Oracle
Date: 2010-10-25 19:26:41
Message-ID: AANLkTinyQME8DhkD0hGPS6-09Qz0C99rVr_AzDLr_oqD@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On Mon, Oct 25, 2010 at 12:36 PM, Divakar Singh <dpsmails(at)yahoo(dot)com> wrote:
>
> Storage test was simple, but the data (seconds taken) for INSERT test for PG vs Oracle for 1, 2, 3,4 and 5 indexes was:
> PG:
> 25
> 30
> 37
> 42
> 45
>
> Oracle:
>
> 33
> 43
> 50
> 65
> 68
> Rows inserted: 100,000
> Above results show good INSERT performance of PG when using SQL procedures. But performance when I use C++ lib is very bad. I did that test some time back so I do not have data for that right now.

So, assuming I wanted to reproduce your results, can you provide a
self contained test case that shows these differences? I have always
gotten really good performance using libpq myself, so I'm looking for
what it is you might be doing differently from me that would make it
so slow.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-10-25 19:34:45 Re: foreign keys for array/period contains relationships
Previous Message Ray Stell 2010-10-25 19:21:57 Re: Postgres insert performance and storage requirement compared to Oracle

Browse pgsql-performance by date

  From Date Subject
Next Message Alan Hodgson 2010-10-25 19:51:41 Re: Postgres insert performance and storage requirement compared to Oracle
Previous Message André Volpato 2010-10-25 19:26:29 Re: AIX slow buffer reads