Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id A47DF2E0042 for ; Tue, 25 Mar 2008 11:06:01 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 96705-01 for ; Tue, 25 Mar 2008 11:05:58 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from depesz.com (depesz.com [88.198.37.40]) by postgresql.org (Postfix) with ESMTP id AEFF82E003B for ; Tue, 25 Mar 2008 11:05:58 -0300 (ADT) Received: from depesz by depesz.com with local (Exim 4.63) (envelope-from ) id 1Je9mm-0004yH-5d; Tue, 25 Mar 2008 15:05:56 +0100 Date: Tue, 25 Mar 2008 15:05:56 +0100 From: hubert depesz lubaczewski To: sathiya psql Cc: pgsql-admin@postgresql.org Subject: Re: what is the maximum number of rows in a table in postgresql 8.1 Message-ID: <20080325140556.GA18759@depesz.com> Reply-To: depesz@depesz.com References: <396486430803250510t58a5532coc7955463101395c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/212 X-Sequence-Number: 28695 On Tue, Mar 25, 2008 at 05:42:46PM +0530, sathiya psql wrote: > i need what will be the maximum number of rows *to have good performance* in > postgres 8.1 any. just accept the fact that count(*) is *always* slow. use triggers to store counts if you are using them all of the time. also, i have two simple requests: 1. try to write to 1 mailing list. and not send the same question to all lists you can find. 2. please try to avoid using workds like "lakh" or "crore" in your mails. i assume they mean something in your country of origin, but as far as i know this is not english. regards, depesz -- quicksil1er: "postgres is excellent, but like any DB it requires a highly paid DBA. here's my CV!" :) http://www.depesz.com/ - blog dla ciebie (i moje CV)