Re: Postgres insert performance and storage requirement compared to Oracle - Mailing list pgsql-performance

From Divakar Singh
Subject Re: Postgres insert performance and storage requirement compared to Oracle
Date
Msg-id 173298.80592.qm@web65406.mail.ac4.yahoo.com
Whole thread Raw
In response to Re: Postgres insert performance and storage requirement compared to Oracle  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: Postgres insert performance and storage requirement compared to Oracle  (Merlin Moncure <mmoncure@gmail.com>)
Re: Postgres insert performance and storage requirement compared to Oracle  (Steve Singer <ssinger@ca.afilias.info>)
List pgsql-performance
yes this is a very clearly visible problem.
The difference b/w oracle and PG increases with more rows.
when oracle takes 3 GB, PG takes around 6 GB.
I only use varchar.
I will try to use your tips on "smart table layout, toast compression".
Assuming these suggested options do not have any performance penalty?
 
Best Regards,
Divakar



From: Merlin Moncure <mmoncure@gmail.com>
To: Divakar Singh <dpsmails@yahoo.com>
Cc: Robert Haas <robertmhaas@gmail.com>; Mladen Gogala <mladen.gogala@vmsinfo.com>; pgsql-performance@postgresql.org
Sent: Wed, October 27, 2010 11:36:00 PM
Subject: Re: [PERFORM] Postgres insert performance and storage requirement compared to Oracle

On Tue, Oct 26, 2010 at 11:10 PM, Divakar Singh <dpsmails@yahoo.com> wrote:
> Dear All,
> Thanks for your inputs on the insert performance part.
> Any suggestion on storage requirement?
> VACUUM is certainly not an option, because this is something related to
> maintenance AFTER insertion.
> I am talking about the plain storage requirement w.r. to Oracle, which I
> observed is twice of Oracle in case millions of rows are inserted.
> Anybody who tried to analyze the average storage requirement of PG w.r. to
> Oracle?

There isn't much you can to about storage use other than avoid stupid
things (like using char() vs varchar()), smart table layout, toast
compression, etc.  Are you sure this is a problem?

merlin

pgsql-performance by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Postgres insert performance and storage requirement compared to Oracle
Next
From: Jon Nelson
Date:
Subject: Re: temporary tables, indexes, and query plans