Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id BDDE5633B56 for ; Thu, 7 Jan 2010 11:16:41 -0400 (AST) 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 15757-03-6 for ; Thu, 7 Jan 2010 15:16:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mail.postgresql.org (Postfix) with ESMTP id C76646335ED for ; Thu, 7 Jan 2010 11:16:09 -0400 (AST) Received: by bwz5 with SMTP id 5so11726109bwz.3 for ; Thu, 07 Jan 2010 07:16:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XZuSLvyrSSBsVSaS55Oj4rn70GBX81/cPWMF4v78alQ=; b=iFuCEyzpdnh2zYRARXeX7RAYFiFXeo+gCFqsfge7Utl0xnINExH9ETaZUkLoqYrvw6 oRzZmxWUV8eyf2A61KlLMfp1mdrvpoe0LbaT7L1Hrl0nDQFgxQyGDX2KDL6nl5TJ01zR IVSKEpeNdzHr5UrsWHEGJF6vTPyl9lKd5Gg1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=BhwMte/Sd6gu2bu4OQIK6egyHEMOV6hu2Yh64Gf5Ut+EpR/vsMogp2pktxiHtFkm40 6rvpbB8eBIltbarhbWcz8PJ2/HefC7+2bqMr0QuDLWFbPKMefesKKlQcBJ+3PpebDton 6EdfEF1ky8UhOKr2RxtGtiHrXemNaeFh6V+R0= MIME-Version: 1.0 Received: by 10.204.35.139 with SMTP id p11mr555728bkd.178.1262877367283; Thu, 07 Jan 2010 07:16:07 -0800 (PST) In-Reply-To: <852badbc1001070705w45ed93d6m385ea50da2221959@mail.gmail.com> References: <852badbc1001070438j36eb10d3qa22398ffcbef405f@mail.gmail.com> <4B45E36E.4040706@tweakers.net> <852badbc1001070547p48b47175vf87efc473e3bd41b@mail.gmail.com> <26014999.20100107150535@erwied.eu> <852badbc1001070610p698dc3cfr4628b1e7768990e6@mail.gmail.com> <20100107141423.GC4315@alvh.no-ip.org> <852badbc1001070623m5d901c42k50bb808409141ca4@mail.gmail.com> <852badbc1001070705w45ed93d6m385ea50da2221959@mail.gmail.com> Date: Thu, 7 Jan 2010 15:16:07 +0000 Message-ID: <2f4958ff1001070716u6c6f5d6di8946fa13aad9dfc1@mail.gmail.com> Subject: Re: Air-traffic benchmark From: =?UTF-8?Q?Grzegorz_Ja=C5=9Bkiewicz?= To: Lefteris Cc: Ivan Voras , pgsql-performance@postgresql.org Content-Type: text/plain; charset=UTF-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.589 tagged_above=-10 required=5 tests=BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188 X-Spam-Level: X-Archive-Number: 201001/97 X-Sequence-Number: 36977 On Thu, Jan 7, 2010 at 3:05 PM, Lefteris wrote: > On Thu, Jan 7, 2010 at 3:51 PM, Ivan Voras wrote: >> On 7.1.2010 15:23, Lefteris wrote: >> >>> I think what you all said was very helpful and clear! The only part >>> that I still disagree/don't understand is the shared_buffer option:)) >> >> Did you ever try increasing shared_buffers to what was suggested (around >> 4 GB) and see what happens (I didn't see it in your posts)? > > No I did not to that yet, mainly because I need the admin of the > machine to change the shmmax of the kernel and also because I have no > multiple queries running. Does Seq scan uses shared_buffers? Think of the shared buffer as a cache. It will help subsequent queries running to not have to use disk. -- GJ