X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id F1D8DD1B576 for ; Sat, 20 Sep 2003 14:12:36 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 58459-03 for ; Sat, 20 Sep 2003 11:12:08 -0300 (ADT) Received: from web14104.mail.yahoo.com (web14104.mail.yahoo.com [216.136.172.134]) by svr1.postgresql.org (Postfix) with SMTP id 76E17D1B574 for ; Sat, 20 Sep 2003 11:12:04 -0300 (ADT) Message-ID: <20030920141208.20848.qmail@web14104.mail.yahoo.com> Received: from [24.165.150.172] by web14104.mail.yahoo.com via HTTP; Sat, 20 Sep 2003 07:12:08 PDT Date: Sat, 20 Sep 2003 07:12:08 -0700 (PDT) From: Christopher Smith Subject: Re: Are 50 million rows a problem for postgres ? To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-861780152-1064067128=:19748" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/329 X-Sequence-Number: 10417 --0-861780152-1064067128=:19748 Content-Type: text/plain; charset=us-ascii I have a US zip code look-up table that includes all zip codes within a 300 mile radius. DATE_PORTAL=# select count(origin) from zips_300 ; count ----------- 201021979 (1 row) The row count is shown above. I get great , great performance. However with large data sets, you need a lot of space for indexes. In my production system, I moved the indexes to another disk. Postgresql can handle 50 million rows with no problem, just index the data properly. --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-861780152-1064067128=:19748 Content-Type: text/html; charset=us-ascii
I have a US zip code look-up table that includes all zip codes within a 300 mile radius.
 
 
DATE_PORTAL=# select count(origin) from zips_300 ;
   count  
-----------
 201021979
(1 row)
 
The row count is shown above. I get great , great performance. However with large data sets, you need a lot of space for indexes.  In my production system, I moved the indexes to another disk. 
 
Postgresql can handle 50 million rows with no problem, just index the data properly.


Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software --0-861780152-1064067128=:19748--