pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Isabelle Brette <isabelle@apartia.fr>
To: Gurudutt <guru@indvalley.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Resources
Date: Fri, 11 Jan 2002 15:17:20 +0100
Message-ID: <20020111151720.A1754@aparima.com> (raw)


Hello,

I just looked at your tables/queries/explains.

My piece of advice would be : add indexes on the columns you use the
most in the query (especially those used for joins).

A "seq scan" takes quite a time, an "index scan" takes nearly no time.

Well, indexes take a little space, but if your database is not that big,
it should be what you're looking for. Disk space does not cost that much
these times ^^

-- 
Isabelle Brette - isabelle@apartia.fr



view thread (18+ messages)  latest in thread

Message-ID: <20020111151720.A1754@aparima.com>
Permalink:  ../20020111151720.A1754@aparima.com/
Also on:    postgresql.org/message-id/20020111151720.A1754@aparima.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: isabelle@apartia.fr, guru@indvalley.com
  Subject: Re: Resources
  In-Reply-To: <20020111151720.A1754@aparima.com>

* 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