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 396E9D1B505 for ; Mon, 8 Sep 2003 10:58:05 +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 16728-03 for ; Mon, 8 Sep 2003 07:57:57 -0300 (ADT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 6579ED1B4FF for ; Mon, 8 Sep 2003 07:57:53 -0300 (ADT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h889xWZ16577; Mon, 8 Sep 2003 11:59:34 +0200 Received: from gmendola (accesspoint.mm.eutelsat.org [194.214.173.4]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with SMTP id h88ApgR28472; Mon, 8 Sep 2003 12:51:49 +0200 Message-ID: <00a501c375f7$9b6e87f0$27700b3e@mm.eutelsat.org> From: "Gaetano Mendola" To: Cc: "Vasilis Ventirozos" References: <200309081032.51586.vendi@cosmoline.com> <001501c375f0$6d3b4eb0$1664a8c0@DEMOLITION> <200309081326.05261.vendi@cosmoline.com> Subject: Re: Are 50 million rows a problem for postgres ? Date: Mon, 8 Sep 2003 12:54:21 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.9 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, MSG_ID_ADDED_BY_MTA_3, QUOTED_EMAIL_TEXT, RCVD_IN_OSIRUSOFT_COM, REFERENCES, REPLY_WITH_QUOTES X-Spam-Level: X-Archive-Number: 200309/131 X-Sequence-Number: 10219 "Vasilis Ventirozos" wrote: > This is a simple statement that i run > > core_netfon=# EXPLAIN select spcode,count(*) from callticket group by spcode; > QUERY PLAN > -------------------------------------------------------------------------- ------------- > Aggregate (cost=2057275.91..2130712.22 rows=979151 width=4) > -> Group (cost=2057275.91..2106233.45 rows=9791508 width=4) > -> Sort (cost=2057275.91..2081754.68 rows=9791508 width=4) > Sort Key: spcode > -> Seq Scan on callticket (cost=0.00..424310.08 rows=9791508 > width=4) > (5 rows) May we see your configuration file ? Regards Gaetano Mendola