X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id C86F19DCCE6 for ; Mon, 27 Mar 2006 14:04:49 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23259-10 for ; Mon, 27 Mar 2006 14:04:48 -0400 (AST) X-Greylist: delayed 04:30:24.227321 by SQLgrey- Received: from smarty.gabriel.co.hu (smarty.gabriel.co.hu [195.70.37.16]) by postgresql.org (Postfix) with ESMTP id 035DF9DCC03 for ; Mon, 27 Mar 2006 14:04:45 -0400 (AST) Received: from localhost (smarty [127.0.0.1]) by smarty.gabriel.co.hu (Postfix) with ESMTP id 273013E3BB for ; Mon, 27 Mar 2006 20:04:42 +0200 (CEST) Received: from smarty.gabriel.co.hu ([127.0.0.1]) by localhost (smarty [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31608-07 for ; Mon, 27 Mar 2006 20:04:42 +0200 (CEST) Received: from [192.168.111.135] (customer-174.radio-net.hu [217.113.54.174]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smarty.gabriel.co.hu (Postfix) with ESMTP id E67763C9EB for ; Mon, 27 Mar 2006 20:04:41 +0200 (CEST) Message-ID: <4428293E.9080300@i-logic.hu> Date: Mon, 27 Mar 2006 20:04:46 +0200 From: =?ISO-8859-1?Q?G=E1briel_=C1kos?= Organization: I-Logic Kft User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: count(*) performance References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at gabriel.co.hu X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.034 required=5 tests=[AWL=0.034] X-Spam-Score: 0.034 X-Spam-Level: X-Archive-Number: 200603/523 X-Sequence-Number: 17960 Luke Lonergan wrote: > To test your disk speed, use the following commands and report the times > here: > > time bash -c "dd if=/dev/zero of=bigfile bs=8k count=500000 && sync" root@panther:/fast # time bash -c "dd if=/dev/zero of=bigfile bs=8k count=500000 && sync" 500000+0 records in 500000+0 records out 4096000000 bytes transferred in 45.469404 seconds (90082553 bytes/sec) real 0m56.880s user 0m0.112s sys 0m18.937s > time dd if=bigfile of=/dev/null bs=8k root@panther:/fast # time dd if=bigfile of=/dev/null bs=8k 500000+0 records in 500000+0 records out 4096000000 bytes transferred in 53.542147 seconds (76500481 bytes/sec) real 0m53.544s user 0m0.048s sys 0m10.637s I guess these values aren't that bad :) -- Üdvözlettel, Gábriel Ákos -=E-Mail :akos.gabriel@i-logic.hu|Web: http://www.i-logic.hu=- -=Tel/fax:+3612367353 |Mobil:+36209278894 =-