Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 348B39FB407 for ; Wed, 4 Oct 2006 06:19:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 07763-01 for ; Wed, 4 Oct 2006 09:19:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by postgresql.org (Postfix) with ESMTP id 6A1569FB386 for ; Wed, 4 Oct 2006 06:19:03 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id p77so451319nfc for ; Wed, 04 Oct 2006 02:19:01 -0700 (PDT) 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=h8G/RoMpIOMMhHUqaC4WmaA8l7I3rGRaDFXnXorE5xLZFK5fyZeEbHqTxd/9AEodPgxbustnnmurWbjIT3pQHdhAFOiHMx35O6WSW003u3jbQ3XQi+v3nfuTwqPB2Zdh/29G0lwXPZkkLaDpwXR2FDp7TuOLyDjzhlkhjKYwp8I= Received: by 10.49.8.10 with SMTP id l10mr2065702nfi; Wed, 04 Oct 2006 02:19:01 -0700 (PDT) Received: by 10.49.12.13 with HTTP; Wed, 4 Oct 2006 02:19:01 -0700 (PDT) Message-ID: <168519350610040219n648a282hf159ff272e0f672a@mail.gmail.com> Date: Wed, 4 Oct 2006 10:19:01 +0100 From: "simon godden" To: "Heikki Linnakangas" Subject: Re: simple case using index on windows but not on linux Cc: pgsql-performance@postgresql.org In-Reply-To: <45237AD0.50604@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <168519350610040048m7c4031e3t1a24b3fd4d9265a3@mail.gmail.com> <45237AD0.50604@enterprisedb.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.199 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, SPF_PASS X-Spam-Level: X-Archive-Number: 200610/75 X-Sequence-Number: 21204 (Sending again because I forgot to reply to all) On 10/4/06, Heikki Linnakangas wrote: > You can increase the max shared memory size if you have root access. See > > http://www.postgresql.org/docs/8.1/interactive/kernel-resources.html#SYSVIPC-PARAMETERS > > Scroll down for Linux-specific instructions. Thanks for the link. Are you saying that the shared memory size is the issue here? Please can you explain how it would cause a seq scan rather than an index scan. I would like to understand the issue before making changes. -- Simon Godden