Re: Query optimization with X Y JOIN

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: J(at)Planeti(dot)Biz
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query optimization with X Y JOIN
Date: 2006-01-26 16:34:11
Message-ID: 43D8FA03.304@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance pgsql-sql

J(at)Planeti(dot)Biz wrote:
> If I want my database to go faster, due to X then I would think that
> the issue is about performance. I wasn't aware of a paticular
> constraint on X.
>
> I have more that a rudementary understanding of what's going on here,
> I was just hoping that someone could shed some light on the basic
> principal of this JOIN command and its syntax. Most people I ask,
> don't give me straight answers and what I have already read on the web
> is not very helpful thus far.
What you are looking for is here:

http://sqlzoo.net/

It is an excellent website that discusses in depth but at a tutorial
style level how and what SQL is and how to use it. Including JOINS.

FYI, a JOIN is basically a FROM with an integrated WHERE clause. That is
a very simplified description and isn't 100% accurate
but it is close. I strongly suggest the website I mentioned above as it
will resolve your question.

Joshua D. Drake

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PLphp, PLperl - http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2006-01-26 16:41:06 Re: pgstattuple output?
Previous Message Jaime Casanova 2006-01-26 16:33:34 Re: [PERFORM] Query optimization with X Y JOIN

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2006-01-26 16:35:43 Re: Incorrect Total runtime Reported by Explain Analyze!?
Previous Message Jaime Casanova 2006-01-26 16:33:34 Re: [PERFORM] Query optimization with X Y JOIN

Browse pgsql-sql by date

  From Date Subject
Next Message Andrew Sullivan 2006-01-26 16:39:02 Re: Changing the transaction isolation level within the stored
Previous Message Jaime Casanova 2006-01-26 16:33:34 Re: [PERFORM] Query optimization with X Y JOIN