pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: David Teran <david.teran@cluster9.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: optimizing Postgres queries
Date: Tue, 6 Jan 2004 00:25:32 -0500 (EST)
Message-ID: <200401060525.i065PW915257@candle.pha.pa.us> (raw)
In-Reply-To: <4530AF9E-3FB4-11D8-A528-000A95A6F0DC@cluster9.com>

David Teran wrote:
> Index?Scan?using?key_value_meta_data__id_value__fk_index,?key_value_meta 
> _data__id_value__fk_index?on?"KEY_VALUE_META_DATA"?t0??(cost=0.00..19.94 
> ?rows=14?width=75)?(actual?time=0.112..0.296?rows=25?loops=1)
> ??Index?Cond:?(("ID_VALUE"?=?21094)?OR?("ID_VALUE"?=?21103))
> Total runtime: 0.429 ms
> 
> Much better. So i think i will first read more about this optimization  
> stuff and regular maintenance things. This is something i like very  
> much from FrontBase: no need for such things, simply start and run. But  
> other things were not so fine ;-).
> 
> Is there any hint where to start to understand more about this  
> optimization problem?

Read the FAQ.  There is an item about slow queries and indexes.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



view thread (17+ messages)  latest in thread

Message-ID: <200401060525.i065PW915257@candle.pha.pa.us>
Permalink:  ../200401060525.i065PW915257@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200401060525.i065PW915257@candle.pha.pa.us

 · 

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-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, david.teran@cluster9.com, tgl@sss.pgh.pa.us
  Subject: Re: optimizing Postgres queries
  In-Reply-To: <200401060525.i065PW915257@candle.pha.pa.us>

* 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