X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7188ED1B4BE for ; Mon, 5 Jan 2004 12:14:13 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 52725-09 for ; Mon, 5 Jan 2004 08:13:27 -0400 (AST) Received: from 216.127.68.117 (unknown [216.127.68.117]) by svr1.postgresql.org (Postfix) with SMTP id 9DA88D1B499 for ; Mon, 5 Jan 2004 08:13:18 -0400 (AST) Received: (qmail 3492 invoked from network); 5 Jan 2004 12:12:59 -0000 Received: from m072-201.nv.iinet.net.au (HELO meerkatsoft.com) (203.217.72.201) by localhost with SMTP; 5 Jan 2004 12:12:59 -0000 Message-ID: <3FF954C4.4060100@meerkatsoft.com> Date: Mon, 05 Jan 2004 21:12:52 +0900 From: Alex User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en, ja MIME-Version: 1.0 To: Doug McNaught Cc: pgsql-general@postgresql.org Subject: Re: Slow Performance with 7.4.1 References: <3FF91F49.1020403@meerkatsoft.com> <87n0927gs3.fsf@asmodeus.mcnaught.org> In-Reply-To: <87n0927gs3.fsf@asmodeus.mcnaught.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/189 X-Sequence-Number: 55217 The old system has a 80GB, 5200rpm ATA , the new system a 120GB, 7200rpm ATA. The new system should at least not be slower. Also, on the new system I have a separate partition for the database. If I run a Vacuum or a SELECT COUNT(*) on a larger table (2-6 million records) the systems responds very slow, the screen almost freezes. Thanks Alex Doug McNaught wrote: >Alex writes: > > > >>Hi, >>I just installed pg 7.4.1 on a new system P4, 3.2Gh HT, 1GB Mem, RH9 >>and discovered that some of the processes have become extremely >>slow. Mainly I am talking about a SELECT COUNT(*) or VACUUM. >> >>Before running the same database on a P4. 2Ghz 412MB mem, I got the >>job done in some cases half the time. >> >>The weird thing however is, that normal inserts seem to be much faster >>on the new system and I am wondering if it is Postgres or HW related. >> >>Does anyone has an advise ? >> >> > >What kind of disk hardware is on the two systems? > >-Doug > >---------------------------(end of broadcast)--------------------------- >TIP 7: don't forget to increase your free space map settings > > > >