Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E2EDD1337D33 for ; Mon, 25 Oct 2010 15:16:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 65626-03-7 for ; Mon, 25 Oct 2010 18:16:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm5-vm0.bullet.mail.ac4.yahoo.com (nm5-vm0.bullet.mail.ac4.yahoo.com [98.139.52.68]) by mail.postgresql.org (Postfix) with SMTP id 1B79C1337BF3 for ; Mon, 25 Oct 2010 15:12:41 -0300 (ADT) Received: from [98.139.52.195] by nm5.bullet.mail.ac4.yahoo.com with NNFMP; 25 Oct 2010 18:12:40 -0000 Received: from [98.139.52.147] by tm8.bullet.mail.ac4.yahoo.com with NNFMP; 25 Oct 2010 18:12:40 -0000 Received: from [127.0.0.1] by omp1030.mail.ac4.yahoo.com with NNFMP; 25 Oct 2010 18:12:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 833233.47775.bm@omp1030.mail.ac4.yahoo.com Received: (qmail 54100 invoked by uid 60001); 25 Oct 2010 18:12:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1288030360; bh=BjFE9kPndTUyT9xI+QG/3Iq9MS+if/p28MswUe7Y+jk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=ciIEs6IbJwnudrFwJHI2b3bgED7xkrgXNz9A+vg/ywi8BdWg0MtxW25tGtl2LkqrXmtWrSQ1kUmty9TNf3o+gZHfWdX4x7beERIcC9DGDPQcSCSeQMQ97lX0jz5uNJSaSkcW0yjm3vgyOgYZSBcf84opdX7uXcPdW96x1UuWthY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=cSqimL7tf8XiRgylFfxdnq919YfDwmJcNEXFsJA/3tHmRrq9sGptuIQXofvP7p9GEWeyyd7WC8ganZPJzIEbuBuPpbw1vbIEBP/wbtE33qz49+dKq91mGz1R+x/WxFIO+xkGeLR6gmClsXBjvzAwRZPcg+qMZaqmBZ8imehO9Tc=; Message-ID: <402913.53404.qm@web65405.mail.ac4.yahoo.com> X-YMail-OSG: HggDHvEVM1kJMalLvBAZ3hTqbgkTFb2n3VA.TcAZzV3oTBm zAo4xf7QWpCREgcNmGNptAOJRPFJ3uoc9UxWZhois1zlYF7s7ci1FAu6rIVe rlSYqozg8JJFe4ICc7vliifHIRDBVk810OUGj3ra8MnB40NUf573w2q5_KI7 rLL0dajWjnMeHKGrfWzHUJd6GFJM_qsi2ofvkK0jFNXC7ohIlHAjktWjqa1Y wSVjKpxjY.3ZIVOrTqUFj4ogqmmvWM1dHw6WL4hTqEz6irOhfNYcqult9oyW NVBivr2jQtIXDQWGeKCWCW1nzY.0- Received: from [194.237.142.6] by web65405.mail.ac4.yahoo.com via HTTP; Mon, 25 Oct 2010 11:12:40 PDT X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.284920 Date: Mon, 25 Oct 2010 11:12:40 -0700 (PDT) From: Divakar Singh Subject: Postgres insert performance and storage requirement compared to Oracle To: pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-314445254-1288030360=:53404" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.909 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/396 X-Sequence-Number: 40814 --0-314445254-1288030360=:53404 Content-Type: text/plain; charset=us-ascii Hello Experts, My application uses Oracle DB, and makes use of OCI interface. I have been able to develop similar interface using postgreSQL library. However, I have done some tests but results for PostgreSQL have not been encouraging for a few of them. 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. 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. Thanks in anticipation. --0-314445254-1288030360=:53404 Content-Type: text/html; charset=us-ascii
Hello Experts,
My application uses Oracle DB, and makes use of OCI interface.
I have been able to develop similar interface using postgreSQL library.
However, I have done some tests but results for PostgreSQL have not been encouraging for a few of them.

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.

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.

Thanks in anticipation.

--0-314445254-1288030360=:53404--