Re: Asking advice on speeding up a big table

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: felix-accts-pgsql(at)crowfix(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Asking advice on speeding up a big table
Date: 2006-04-15 14:31:26
Message-ID: cone.1145111486.252779.47312.1000@zoraida.natserv.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

felix(at)crowfix(dot)com writes:

> Usage is to match data from the key and val tables to fetch the data
> value from the sid table.

What is the relation between key and val tables?
Will key.id and val.id be equal?

I have never quite/fully understand the outputs of analyze, but I wonder why
you have:

> -> Nested Loop (cost=0.00..4467.01 rows=1001 width=20) (actual time=0.205..28.304 rows=1000 loops=1)

Why 1000 rows?
Does any of your conditions in the select returns many records?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Francisco Reyes 2006-04-15 14:36:25 Re: Hardware related question: 3ware 9500S
Previous Message chris smith 2006-04-15 14:10:21 Re: Comparing text field