Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 576EF650175 for ; Thu, 4 Sep 2008 16:49:13 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26712-06 for ; Thu, 4 Sep 2008 16:49:08 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by postgresql.org (Postfix) with ESMTP id 1B42F650183 for ; Thu, 4 Sep 2008 16:49:07 -0300 (ADT) Received: by rv-out-0506.google.com with SMTP id b25so125144rvf.43 for ; Thu, 04 Sep 2008 12:49:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=d5vJNwU0dH8QXgmyTowYYmEMkMG/jVgyZk4HM5vdusQ=; b=dn5c3CkmKeieuQF+OJ/8YBMeFCWzpz+3F8z/z5aFC8tmEaSfKUz7JqNZo2NNnutdsI dU9rffRCNT1S4fr+S129NcKqnMj5ftxgS4If3Taiykz9BQX9oWmCaY2Sp5Y9HeeXk7Tq teDsy7GBN1s/gK+fpAhbdHvMMfucWSRn3QWhM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QJlm3owK+sqecM+RW10EPRFzLdnf7SpNZN/RhjgUL4Q70Ac2eWSMQYrkvfivud5eik B0PCBJs+99IEoatIZ4iDujnqFLhnLNO99cbbrPnp0iWYW7wPP8bmDPjNaL3wrQz0dC+K 7mnuHoEYXnKEpqL6UeSFHVMD2i/jKCEY5AGg4= Received: by 10.141.170.9 with SMTP id x9mr6007883rvo.90.1220557746067; Thu, 04 Sep 2008 12:49:06 -0700 (PDT) Received: by 10.141.74.11 with HTTP; Thu, 4 Sep 2008 12:49:05 -0700 (PDT) Message-ID: Date: Thu, 4 Sep 2008 13:49:05 -0600 From: "Scott Marlowe" To: Ulrich Subject: Re: More shared_buffers instead of effective_cache_size? Cc: pgsql-performance@postgresql.org In-Reply-To: <48C0395C.4000806@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48C035E2.3070407@gmx.net> <48C0395C.4000806@gmx.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200809/63 X-Sequence-Number: 31376 On Thu, Sep 4, 2008 at 1:39 PM, Ulrich wrote: > Scott Marlowe wrote: >> >> Stop using a virtual server? > > That is not possible... Sorry shoulda had a smiley face at the end of that. :) <-- there >> I wouldn't set shared_buffers that high >> just because things like vacuum and sorts need memory too > > Okay, I understand that vacuum uses memory, but I thought sorts are done in > work_mem? I am only sorting the result of one query which will never return > more than 500 rows. You can probably play with larger shared memory, but I'm betting that the fact that you're running under a VM is gonna weigh eveything down a great deal, to the point that you're tuning is going to have minimal effect.