Re: Which query is less expensive / faster?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Jon Asher <jon(at)vagabond-software(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Which query is less expensive / faster?
Date: 2005-02-25 09:28:23
Message-ID: 421EEFB7.7040007@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jon Asher wrote:
> Thanks for the reply... but which query will be faster and less expensive?
> I don't have a table now with 4 million rows, but I'm thinking of building
> such a table. Querying it would return 1 row. The alternative is to query
> an existing table of 200k rows, and return 800 rows.

Actually, as a side-issue to my last reply...

How does one row contain the same information as 800?

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martin Schäfer 2005-02-25 09:41:03 Are SQL queries locale dependent?
Previous Message Richard Huxton 2005-02-25 08:26:00 Re: Which query is less expensive / faster?