From: Brian Tarbox <btarbox@theworld.com>
To: pgsql-performance@postgresql.org
Subject: are views typically any faster/slower than equivilent joins?
Date: Sat, 31 May 2003 22:55:18 -0400
Message-ID: <001801c327e9$3c01a5b0$01000001@trouble> (raw)
In-Reply-To: <20030531180235.GF22469@libertyrms.info>
I am working with a highly normalized database. Most of my meaningful
queries involve joins from a primary table to 4-6 secondary tables.
Would my query performance be significantly faster/slower using a View as
opposed to a prepared query using join?
(Assume all join fields are ints, say 10,000 records in main table and a few
dozen records in each of the secondary tables).
Thank you.
Brian Tarbox
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-performance@postgresql.org
Cc: btarbox@theworld.com
Subject: Re: are views typically any faster/slower than equivilent joins?
In-Reply-To: <001801c327e9$3c01a5b0$01000001@trouble>
References: <20030531180235.GF22469@libertyrms.info> <001801c327e9$3c01a5b0$01000001@trouble>
* 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