Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6BA9C2E0043 for ; Tue, 25 Mar 2008 09:50:30 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 42467-08 for ; Tue, 25 Mar 2008 09:50:19 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by postgresql.org (Postfix) with ESMTP id 358652E002C for ; Tue, 25 Mar 2008 09:50:27 -0300 (ADT) Received: by an-out-0708.google.com with SMTP id c36so730733ana.33 for ; Tue, 25 Mar 2008 05:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=Kz44C0+F8XWtns0cd7AZ7IWr95M93I1tVNqzhmQSfko=; b=dFPRnPoHOwy+sqp547v8IYFmVdU+G/Cvi3mJaLzNoTGq0Skc7CH6/FuEQz1+qHeIttPyjrCuE5IUDVDXpyNMkd73gJWepp7sj2w2JPZmHDCshMthVoiGVfU6M0gH3MxZYiBmScASItKhcf5RZFqdpjd6ZV7zf4nVC7fOhwH3i1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kK1yVFv3ryTYVnk1MgqA6JFf+QjQDX5s0TUuHuIxkpuoNbUjn9B8+0MJOz8wTfygYENpkiGMN53C98hnkoh/cR6nW5maTeTlFD0HA6nQgCHSpEGmy3hkmP1GjfLqjnqiZ/Wf6MoWfNBD5f0Mud2OWUVhlcg6ukyhHRfxa6rVEBI= Received: by 10.101.69.10 with SMTP id w10mr21628080ank.68.1206449426212; Tue, 25 Mar 2008 05:50:26 -0700 (PDT) Received: by 10.100.105.20 with HTTP; Tue, 25 Mar 2008 05:50:25 -0700 (PDT) Message-ID: Date: Tue, 25 Mar 2008 18:20:25 +0530 From: "sathiya psql" To: "Craig Ringer" Subject: Re: what is the maximum number of rows in a table in postgresql 8.1 Cc: pgsql-performance@postgresql.org In-Reply-To: <47E8EEF1.40709@postnewspapers.com.au> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3024_15144536.1206449426194" References: <7be3f35d0803250448h62f47b13mebe0252fca9b90e1@mail.gmail.com> <20080325120101.GC6756@alvh.no-ip.org> <47E8EEF1.40709@postnewspapers.com.au> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/470 X-Sequence-Number: 29424 ------=_Part_3024_15144536.1206449426194 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline EXPLAIN ANALYZE SELECT count(*) from call_log_in_ram ; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------- Aggregate (cost=90760.80..90760.80 rows=1 width=0) (actual time= 6069.373..6069.374 rows=1 loops=1) -> Seq Scan on call_log_in_ram (cost=0.00..89121.24 rows=3279119 width=0) (actual time=0.012..4322.345 rows=3279119 loops=1) Total runtime: 6069.553 ms (3 rows) zivah=# EXPLAIN ANALYZE SELECT count(*) from call_log_in_ram ; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------- Aggregate (cost=90760.80..90760.80 rows=1 width=0) (actual time= 6259.436..6259.437 rows=1 loops=1) -> Seq Scan on call_log_in_ram (cost=0.00..89121.24 rows=3279119 width=0) (actual time=0.013..4448.549 rows=3279119 loops=1) Total runtime: 6259.543 ms ------=_Part_3024_15144536.1206449426194 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline EXPLAIN ANALYZE SELECT count(*) from call_log_in_ram ;
                                                            QUERY PLAN                                                        
----------------------------------------------------------------------------------------------------------------------------------
 Aggregate  (cost=90760.80..90760.80 rows=1 width=0) (actual time=6069.373..6069.374 rows=1 loops=1)
   ->  Seq Scan on call_log_in_ram  (cost=0.00..89121.24 rows=3279119 width=0) (actual time=0.012..4322.345 rows=3279119 loops=1)
 Total runtime: 6069.553 ms
(3 rows)

zivah=# EXPLAIN ANALYZE SELECT count(*) from call_log_in_ram ;
                                                            QUERY PLAN                                                        
----------------------------------------------------------------------------------------------------------------------------------
 Aggregate  (cost=90760.80..90760.80 rows=1 width=0) (actual time=6259.436..6259.437 rows=1 loops=1)
   ->  Seq Scan on call_log_in_ram  (cost=0.00..89121.24 rows=3279119 width=0) (actual time=0.013..4448.549 rows=3279119 loops=1)
 Total runtime: 6259.543 ms



------=_Part_3024_15144536.1206449426194--