Received: from thor.tht.net (thor.tht.net [209.47.145.4]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB6NZwq05193 for ; Wed, 6 Dec 2000 18:35:58 -0500 (EST) (envelope-from rmager@vgkk.com) Received: from smtp1.jp.psi.net (smtp1.jp.psi.net [154.33.63.111]) by thor.tht.net (8.9.3/8.9.3) with ESMTP id SAA79531 for ; Wed, 6 Dec 2000 18:58:51 GMT (envelope-from rmager@vgkk.com) Received: from [211.120.7.246] (helo=rmagervm) by smtp1.jp.psi.net with smtp (Exim 3.12 #1) id 143nVA-00073I-00 for pgsql-admin@postgresql.org; Thu, 07 Dec 2000 07:57:29 +0900 From: "Rainer Mager" To: Subject: RE: Slow access with PG 7.0 Date: Thu, 7 Dec 2000 07:57:12 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal In-Reply-To: <20001206092437.C8051@fw.wintelcom.net> X-Archive-Number: 200012/40 X-Sequence-Number: 232 Can someone elaborate on this more? Is this only PHP4 related? If this improves performance why not always have it on? What are the downsides? Thanks, --Rainer -----Original Message----- From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Alfred Perlstein Sent: Thursday, December 07, 2000 2:25 AM To: Jean-Arthur Silve Cc: pgsql-admin@postgresql.org Subject: Re: [ADMIN] Slow access with PG 7.0 * Jean-Arthur Silve [001206 04:55] wrote: > Thanks for your help > pg_exec($dbh, "set enable_seqscan off;"); > seems resolve my problem... > > I look at the docs, but I didn't understand very well what is the use of > this variable ? run: explain with and without the option, you'll see.