View & Query Performance

From: "Igor Maciel Macaubas" <igor(at)providerst(dot)com(dot)br>
To: <pgsql-performance(at)postgresql(dot)org>
Subject: View & Query Performance
Date: 2004-10-14 21:02:41
Message-ID: 001301c4b231$280c4190$6801a8c0@providerst.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi all,

I'm trying to find smarter ways to dig data from my database, and have the following scenario:

table1
-- id
-- name
.
.
.
.
.
.

table2
-- id
-- number
.
.
.
.
.
.

I want to create a view to give me back just what I want:
The id, the name and the number.
I tought in doing the following:
create view my_view as select t1.id, t1.name, t2.number from table1 as t1, table2 as t2 where t1.id = t2.id;

Will this be enough fast ? Are there a faster way to make it work ?!
This table is mid-big, around 100K registers ..

Regards,
Igor
--
igor(at)providerst(dot)com(dot)br

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message MikeSmialek2@Hotmail.com 2004-10-14 21:45:51 Re: Performance on Win32 vs Cygwin
Previous Message Kevin Brown 2004-10-14 20:25:31 Re: First set of OSDL Shared Mem scalability results, some wierdness ...