Re: Performance problem with 50,000,000 rows

From: tony <tony(at)animaproductions(dot)com>
To: Feite Brekeveld <feite(dot)brekeveld(at)osiris-it(dot)nl>
Cc: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Performance problem with 50,000,000 rows
Date: 2001-10-11 07:55:01
Message-ID: 1002786901.23432.17.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 2001-10-11 at 00:03, Feite Brekeveld wrote:

> Just, reading it and I always enter these kind of queries like:
>
> select i.isbn,
> t.vendor,
> i.store,
> i.qty
> from bk_inv i,
> bk_title t
> where
> t.vendor = '01672708' and
> i.isbn = t.isbn;
>
> Don't know if it makes a difference but I can imagine that it could because
> the t.vendor = '...' limits the possibilities in the first stage.

I have noticed this behaviour too. Is there some sort of guide to use in
order to get the query right? Or is this just part of SQL basics?

Cheers

Tony Grant

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dr. Evil 2001-10-11 08:23:23 JDBC 2.0 and pooled connections?
Previous Message Johnny Jrgensen 2001-10-11 06:54:49 Re: triggers