X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D4FACD1B1B4 for ; Thu, 29 Jul 2004 23:59:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 82087-03 for ; Fri, 30 Jul 2004 02:59:56 +0000 (GMT) Received: from mail.coretech.co.nz (coretech.co.nz [202.36.204.41]) by svr1.postgresql.org (Postfix) with ESMTP id 9CBB7D1B252 for ; Thu, 29 Jul 2004 23:59:55 -0300 (ADT) Received: (qmail 31694 invoked from network); 30 Jul 2004 02:59:53 -0000 Received: from localhost (127.0.0.1) by 0 with SMTP; 30 Jul 2004 02:59:53 -0000 Received: from 203.167.203.141 ([203.167.203.141]) by mail.coretech.co.nz (Horde) with HTTP for ; Fri, 30 Jul 2004 14:59:53 +1200 Message-ID: <1091156393.39517b44365bc@mail.coretech.co.nz> Date: Fri, 30 Jul 2004 14:59:53 +1200 From: markir@coretech.co.nz To: Stephane Tessier Cc: pgsql-performance@postgresql.org Subject: Re: my boss want to migrate to ORACLE References: <000001c474c5$73e2cfc0$4e00020a@develavoie> In-Reply-To: <000001c474c5$73e2cfc0$4e00020a@develavoie> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Originating-IP: Withheld X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=NO_REAL_NAME X-Spam-Level: X-Archive-Number: 200407/235 X-Sequence-Number: 7626 A furthur thought or two: - you are *sure* that it is Postgres that is slow? (could be Php...or your machine could be out of some resource - see next 2 points) - is your machine running out of cpu or memory? - is your machine seeing huge io transfers or long io waits? - are you running Php on this machine as well as Postgres? - what os (and what release) are you running? (guessing Linux but...) As an aside, they always say this but: Postgres 7.4 generally performs better than 7.3...so an upgrade could be worth it - *after* you have solved/identified the other issues. best wishes Mark Quoting Stephane Tessier : > Hi everyone, > > somebody can help me??????? my boss want to migrate to > ORACLE................ > > we have a BIG problem of performance,it's slow.... > we use postgres 7.3 for php security application with approximately 4 > millions of insertion by day and 4 millions of delete and update > and archive db with 40 millions of archived stuff... > > we have 10 databases for our clients and a centralized database for the > general stuff. > > database specs: > > double XEON 2.4 on DELL PowerEdge2650 > 2 gigs of RAM > 5 SCSI Drive RAID 5 15rpm > > tasks: > > 4 millions of transactions by day > 160 open connection 24 hours by day 7 days by week > pg_autovacuum running 24/7 > reindex on midnight