Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id B115C634D8C for ; Tue, 23 Jun 2009 09:13:50 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 52584-02 for ; Tue, 23 Jun 2009 09:13:49 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qy0-f195.google.com (mail-qy0-f195.google.com [209.85.221.195]) by mail.postgresql.org (Postfix) with ESMTP id 7E14E6339ED for ; Tue, 23 Jun 2009 09:13:49 -0300 (ADT) Received: by qyk33 with SMTP id 33so15821qyk.15 for ; Tue, 23 Jun 2009 05:13:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type; bh=4PtRYpNjzIMPfCMgkx5U69Btx1YbpGjN47C8tDsTXiU=; b=oSsJtu28DZReuHJ0wCwuH9RZ3egSzqLNquODIOcPqZ1moekm9snJNvtzG/TzsRiR4q odPEwkDR8CTW3efnerB8J9nNBiS2w2cM/2eCJuvWDtej+tVuPWsHTR+C+FkgyKl69JrR U7emxyAU2ZT1b+wmOVNuCSMH5lwH4WzO9VSRI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=qFdbTMZcJZ1U+EnoaOkruBhhAoMbGrcdQFgnbutdi5YG1yKsoVLgxXDMh7kpnVV/ga cKvobIiVO3ZODLPX7AB890n+kzo/r8bhYotv6Y5E/5un+jYnkbgj7ICuyj7BV8yj/rIP bjnhAI+Q4kc7MEiGN89h946c79ZmHeM9I+6II= MIME-Version: 1.0 Received: by 10.229.70.138 with SMTP id d10mr936qcj.22.1245759228168; Tue, 23 Jun 2009 05:13:48 -0700 (PDT) In-Reply-To: References: <491f66a50906230313ja128291k1363095bcef6ae18@mail.gmail.com> Date: Tue, 23 Jun 2009 08:13:48 -0400 X-Google-Sender-Auth: c07d4bc08388ef49 Message-ID: <491f66a50906230513q50576e3ha3ddfa4a2480328@mail.gmail.com> Subject: Re: Queries very slow and memory consumption too high From: Dave Cramer To: Albe Laurenz Cc: Saurabh Dave , Craig Ringer , pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary=0016360e3d18454b1d046d02ecca X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200906/93 X-Sequence-Number: 19757 --0016360e3d18454b1d046d02ecca Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, Jun 23, 2009 at 6:30 AM, Albe Laurenz wrote: > Dave Cramer wrote: > > This also suggests that you have not tuned pg. 35M shared > > memory is not very much. You should look at tuning the installation. > > Maybe, but first the problem should be identified, else this falls into > the category of "changing things without knowing why". > Maybe the whole database is only 30MB big? Certainly a valid point, however the fact that it is untuned suggests that the OP should read about tuning. DAve > > > Yours, > Laurenz Albe > --0016360e3d18454b1d046d02ecca Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, Jun 23, 2009 at 6:30 AM, Albe La= urenz <laur= enz.albe@wien.gv.at> wrote:
Dave Cramer wrote:
> This also suggests that you have not tuned pg. 35M shared
> memory is not very much. You should look at tuning the installation.
Maybe, but first the problem should be identified, else this falls in= to
the category of "changing things without knowing why".
Maybe the whole database is only 30MB big?

Certainly a= valid point, however the fact that it is untuned suggests that the OP shou= ld read about tuning.

DAve


Yours,
Laurenz Albe

--0016360e3d18454b1d046d02ecca--