pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Relaxin <noname@spam.com>
To: pgsql-performance@postgresql.org
Subject: Re: SELECT's take a long time compared to other DBMS
Date: Thu, 4 Sep 2003 08:05:15 -0700
Message-ID: <bj7kau$29vl$1@news.hub.org> (raw)
References: <NEBBLAAHGLEEPCGOBHDGOEBKIDAA.nickf@ontko.com>
	<3F5753B9.F4A5A63F@nsd.ca>

The table has been Vacuumed and seq_scan is turned on.

"Jean-Luc Lachance" <jllachan@nsd.ca> wrote in message
news:3F5753B9.F4A5A63F@nsd.ca...
> You forgot that the original poster's query was:
>   SELECT * from <table>
>
> This should require a simple table scan.  NO need for stats.
> Either the table has not been properly vacuumed or he's got seq_scan
> off...
>
> JLL
>
>
> Nick Fankhauser wrote:
> >
> > > Yes I Analyze also, but there was no need to because it was a fresh
brand
> > > new database.
> >
> > This apparently wasn't the source of problem since he did an analyze
anyway,
> > but my impression was that a fresh brand new database is exactly the
> > situation where an analyze is needed- ie: a batch of data has just been
> > loaded and stats haven't been collected yet.
> >
> > Am I mistaken?
> >
> > -Nick
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> >     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>





view thread (34+ messages)  latest in thread

Message-ID: <bj7kau$29vl$1@news.hub.org>
Permalink:  ../bj7kau$29vl$1@news.hub.org/
Also on:    postgresql.org/message-id/bj7kau$29vl$1@news.hub.org

 · 

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: noname@spam.com
  Subject: Re: SELECT's take a long time compared to other DBMS
  In-Reply-To: <bj7kau$29vl$1@news.hub.org>
  References: <NEBBLAAHGLEEPCGOBHDGOEBKIDAA.nickf@ontko.com> <3F5753B9.F4A5A63F@nsd.ca> <bj7kau$29vl$1@news.hub.org>

* 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