pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Yusuf <yusuf0478@netscape.net>
To: pgsql-performance <pgsql-performance@postgresql.org>
Subject: Enabling and Disabling Sequencial Scan
Date: Fri, 30 May 2003 16:33:07 -0400
Message-ID: <3ED7C003.1090303@netscape.net> (raw)

In the application, that I'm working on, I have a query that'll be a lot 
60% faster if I disable sequential scan forcing it to you my index.

Is it bad practice to disable sequential scan ( set 
enable_seqscan=false), run my query then enable sequential scan, 
whenever I'm running this query?  Why?

Thanks in advance

- David Wendy




view thread (6+ messages)  latest in thread

Message-ID: <3ED7C003.1090303@netscape.net>
Permalink:  ../3ED7C003.1090303@netscape.net/
Also on:    postgresql.org/message-id/3ED7C003.1090303@netscape.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: yusuf0478@netscape.net
  Subject: Re: Enabling and Disabling Sequencial Scan
  In-Reply-To: <3ED7C003.1090303@netscape.net>
  References: <3ED7C003.1090303@netscape.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox