From: | Divakar Singh <dpsmails(at)yahoo(dot)com> |
---|---|
To: | jd(at)commandprompt(dot)com |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Postgres insert performance and storage requirement compared to Oracle |
Date: | 2010-10-25 18:31:22 |
Message-ID: | 772167.16310.qm@web65409.mail.ac4.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-performance |
> My questions/scenarios are:
>
> 1. How does PostgreSQL perform when inserting data into an indexed
> (type: btree)
> table? Is it true that as you add the indexes on a table, the
> performance
> deteriorates significantly whereas Oracle does not show that much
> performance
> decrease. I have tried almost all postgreSQL performance tips
> available. I want
> to have very good "insert" performance (with indexes), "select"
> performance is
> not that important at this point of time.
-- Did you test?
Yes. the performance was comparable when using SQL procedure. However, When I
used libpq, PostgreSQL performed very bad. There was some difference in
environment also between these 2 tests, but I am assuming libpq vs SQL was the
real cause. Or it was something else?
>
> 2. What are the average storage requirements of postgres compared to
> Oracle? I
> inserted upto 1 million records. The storage requirement of postgreSQL
> is almost
> double than that of Oracle.
-- What was your table structure?
Some 10-12 columns ( like 2 timestamp, 4 int and 4 varchar), with 5 indexes on
varchar and int fields including 1 implicit index coz of PK.
Joshua D. Drake
--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 509.416.6579
Consulting, Training, Support, Custom Development, Engineering
http://twitter.com/cmdpromptinc | http://identi.ca/commandprompt
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Kupershmidt | 2010-10-25 18:33:10 | Re: Postgres insert performance and storage requirement compared to Oracle |
Previous Message | Jeff Davis | 2010-10-25 18:27:29 | Re: Range Types, discrete and/or continuous |
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Kupershmidt | 2010-10-25 18:33:10 | Re: Postgres insert performance and storage requirement compared to Oracle |
Previous Message | Scott Marlowe | 2010-10-25 18:26:27 | Re: Postgres insert performance and storage requirement compared to Oracle |