pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Donny Drummonds <donny@cypresstg.com>
To: pgsql-admin@postgresql.org
Subject: Indexes on Large Tables
Date: Mon, 3 Feb 2003 13:05:14 -0600
Message-ID: <EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.com> (raw)

I am running a dual athlon 1800 with an gig of ram.  I am running postgres
7.2.  I have a table that hs 15 million rows.  I have a query that has one
columns and the select cluase and one column in the where clause with no
joining or sub-queries.  If I do not index the column from the where clause
the query returns the 150,000 rows in 4 and a half minutes.  If in do index
the column from the where clause using a btree the 150,000 rows return in 11
and a half minutes.

Any insight would be greatly appreciated.

Donny L. Drummonds




view thread (4+ messages)  latest in thread

Message-ID: <EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.com>
Permalink:  ../EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.com/
Also on:    postgresql.org/message-id/EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.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 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-admin@postgresql.org
  Cc: donny@cypresstg.com
  Subject: Re: Indexes on Large Tables
  In-Reply-To: <EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.com>
  References: <EMENJECABIPCHFHEFBJFEEEICAAA.donny@cypresstg.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