From: David Olbersen <dave@slickness.org>
To: Stephan Szabo <sszabo@megazone23.bigpanda.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Optimization via explicit JOINs
Date: Fri, 9 Mar 2001 18:04:35 -0800 (PST)
Message-ID: <Pine.LNX.4.31.0103091757140.7941-100000@bubbles.electricutopia.net> (raw)
In-Reply-To: <Pine.BSF.4.21.0103091754020.82618-100000@megazone23.bigpanda.com>
On Fri, 9 Mar 2001, Stephan Szabo wrote:
->As a question, how many rows does
->select * from playlist p join songs s using (song_id) where
->p.waiting=TRUE;
->actually result in?
Well it depends. Most of the time that playlist table is "empty" (no rows where
waiting = TRUE), however users can (in a round about way) insert into that
table, so that there could be anywhere from 10, to 2,342, to more.
Why do you ask?
(The reason those plans chose 14 was because, at the time, there were 14 rows in
playlist)
-- Dave
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-sql@postgresql.org
Cc: dave@slickness.org, sszabo@megazone23.bigpanda.com
Subject: Re: Optimization via explicit JOINs
In-Reply-To: <Pine.LNX.4.31.0103091757140.7941-100000@bubbles.electricutopia.net>
References: <Pine.BSF.4.21.0103091754020.82618-100000@megazone23.bigpanda.com> <Pine.LNX.4.31.0103091757140.7941-100000@bubbles.electricutopia.net>
* 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