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 CCEE6D1B433 for ; Mon, 5 Jan 2004 13:45:03 +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 78891-01 for ; Mon, 5 Jan 2004 09:44:18 -0400 (AST) Received: from asmodeus.mcnaught.org (sp-260-1.net4.netcentrix.net [4.21.254.118]) by svr1.postgresql.org (Postfix) with ESMTP id 3B621D1B44C for ; Mon, 5 Jan 2004 09:44:14 -0400 (AST) Received: from doug by asmodeus.mcnaught.org with local (Exim 3.36 #1) id 1AdV1l-0006Wk-00; Mon, 05 Jan 2004 08:44:17 -0500 To: Alex Cc: pgsql-general@postgresql.org Subject: Re: Slow Performance with 7.4.1 References: <3FF91F49.1020403@meerkatsoft.com> <87n0927gs3.fsf@asmodeus.mcnaught.org> <3FF954C4.4060100@meerkatsoft.com> From: Doug McNaught Date: Mon, 05 Jan 2004 08:44:17 -0500 In-Reply-To: <3FF954C4.4060100@meerkatsoft.com> (alex@meerkatsoft.com's message of "Mon, 05 Jan 2004 21:12:52 +0900") Message-ID: <87hdza7bny.fsf@asmodeus.mcnaught.org> User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/193 X-Sequence-Number: 55221 Alex writes: > 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. Sounds like you may not have DMA enabled on the newer machine, or there is some other kernel problem that slows the disk down. You might try running Bonnie or a similar disk benchmark to make sure you are getting the right disk performance. -Doug