X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E9C92DBAA0 for ; Thu, 24 Nov 2005 11:47:20 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56430-04 for ; Thu, 24 Nov 2005 15:47:24 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.201]) by svr1.postgresql.org (Postfix) with ESMTP id E398EDB941 for ; Thu, 24 Nov 2005 11:47:17 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 40so1466117nzk for ; Thu, 24 Nov 2005 07:47:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=l9QZWfZ8L8r0Z1OkkJ+PM3V+cTGTalT2mcAqWb6TRIgKwjQliNE8ruCyuC4W7SoXaGTGOvt0izVAXdlw5YvrKUBMxbubZYID4ClP2llj//8wpShyorrQ3YaOGiapU/aa7lKmv75e/p3OrcZBunsj2nFQpAVg4NRwhcCHsh8C0cg= Received: by 10.64.201.14 with SMTP id y14mr7258714qbf; Thu, 24 Nov 2005 07:47:18 -0800 (PST) Received: by 10.65.212.3 with HTTP; Thu, 24 Nov 2005 07:47:18 -0800 (PST) Message-ID: Date: Thu, 24 Nov 2005 10:47:18 -0500 From: Jaime Casanova To: Nirmal Kumar Subject: Re: Postgres Database slow Cc: "pgsql-admin@postgresql.org" In-Reply-To: <20051124154020.60269.qmail@web53505.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20051124154020.60269.qmail@web53505.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.155 required=5 tests=[AWL=-0.121, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.155 X-Spam-Level: X-Archive-Number: 200511/310 X-Sequence-Number: 19683 always CC list On 11/24/05, Nirmal Kumar wrote: > Hi Jamie > > Thanks for the Reply. > > Memory allocated: 756MB. > We are not finding any problem on the Hardware. > > we tried to explain a normal query of same db load in > two different servers and postgres 7.4.2 seems to take > a lot of execution time comparatively higher than a > 7.3.8 version of postgres > > The servers are mandrake 9.1 for 7.3.8 and suse in > ppc has 7.4.2 > > We will try vaccum analise and get back to you. > if you found that the problem persist you can send info about the query, tables (and views) involved, indexes, explain analyze (from 7.3.8 if possible, and from 7.4.2)... > Regards > Nirmal > > > --- Jaime Casanova wrote: > > > On 11/21/05, Nirmal Kumar > > wrote: > > > Hi > > > > > > We are facing a slowness problem in posgres > > Database. > > > Whenver we query a data it is very very slow.It is > > > running on the IBM ISERIES I5 Server. > > > > > > HARDWARE: IBM Iseries I5 PPC Server > > > OS: SUSE LINUX ENTERPRISE SERVER 9.0 > > > POSTGRESSQL: 7.4.2 > > > WEB SERVER: APACHE2 > > > > > > Using the command line also it is taking long time > > to > > > query a database. > > > > > > Any Cluses > > > > > > Regards > > > Nirmal > > > > > > > > > > > > > how many memory do you have? > > can you show an explain of some query that is slow? > > had you run VACUUM ANALYZE (or ANALYZE at least) > > recently? > > > > it's all the system that slow or just queries? > > (maybe it is a problem > > of lack of resources) > > > > > > -- > > regards, > > Jaime Casanova > > (DBA: DataBase Aniquilator ;) > > > > > > > __________________________________ > Yahoo! Music Unlimited > Access over 1 million songs. Try it free. > http://music.yahoo.com/unlimited/ > -- Atentamente, Jaime Casanova (DBA: DataBase Aniquilator ;)